Process-State-Transition-Diagram
Question 1 |
Degree of multiprogramming is controlled by
Medium term scheduler | |
Long term scheduler | |
Number of schedulers in process management module | |
CPU scheduler |
Question 1 Explanation:
→Long Term Scheduler. It is also called a jobscheduler.
→A long-term scheduler determines which programs are admitted to the system for processing. It selects processes from the queue and loads them into memory for execution.
→The primary objective of the job scheduler is to provide a balanced mix of jobs, such as I/O bound and processor bound. It also controls the degree of multiprogramming.
→A long-term scheduler determines which programs are admitted to the system for processing. It selects processes from the queue and loads them into memory for execution.
→The primary objective of the job scheduler is to provide a balanced mix of jobs, such as I/O bound and processor bound. It also controls the degree of multiprogramming.
Question 2 |
Which is the correct definition of a valid process transition in an operating system ?
Wake up : Ready → Running | |
Dispatch : Ready → Running | |
Block : Ready → Running | |
Timer run out : Ready → Blocked |
Question 2 Explanation:
Dispatcher is also called as short term scheduler. Dispatcher is responsible for loading the selected process by short term scheduler on the CPU(Ready to Running State). It is involved in
the CPU-scheduling function is the dispatcher, which is the module that gives control of the CPU to the process selected by the short-term scheduler. It receives control in kernel mode as
the result of an interrupt or system call.
There are 2 questions to complete.
