Which of the following is not true about process schedulers?a)Short te...
Option (A) is TRUE. Short Term Scheduler is faster than Long Term Scheduler.
Option (B) is TRUE. Medium term scheduling is part of the swapping. It removes the processes from the memory. It reduces the degree of multiprogramming. The medium term scheduler is in-charge of handling the swapped out-processes.
Option (C) is FALSE. Long Term Scheduler controls the degree of Multiprogramming. Short Term Scheduler provides lesser control over degree of Multiprogramming. Medium Scheduler reduces the Degree of Multiprogramming.
Option D is TRUE. Long Term Scheduler selects processes from the pool and loads them into memory for execution.
View all questions of this test
Which of the following is not true about process schedulers?a)Short te...
Short term scheduler must be faster than long term scheduler:
This statement is true. The short term scheduler, also known as the CPU scheduler, is responsible for selecting a process from the ready queue and allocating the CPU to that process. Its primary goal is to minimize the response time and maximize the throughput of the system. Since the short term scheduler makes decisions frequently, it needs to be faster than the long term scheduler.
Swap in/ out of processes is done by medium term scheduler:
This statement is false. The medium term scheduler, also known as the swapping scheduler or the admission scheduler, is responsible for performing the swapping of processes between the main memory and the secondary storage. It determines which processes should be removed from the main memory to create space for new processes or to reduce the degree of multiprogramming. The swapping process involves moving a process from the main memory to the secondary storage (swap space) or vice versa. Therefore, the medium term scheduler is responsible for the swap in/out of processes.
Short term scheduler controls the degree of multiprogramming:
This statement is false. The long term scheduler, also known as the admission scheduler or the job scheduler, is responsible for bringing processes from the job pool or the secondary storage to the ready queue. It determines which processes should be admitted to the system based on various criteria such as the availability of resources, system load, and scheduling policies. The long term scheduler controls the degree of multiprogramming by deciding how many processes should be in the ready queue at a given time. It ensures that the system does not become overloaded with too many processes.
Long term scheduler brings processes to ready queue:
This statement is true. As mentioned earlier, the long term scheduler brings processes from the job pool or the secondary storage to the ready queue. It determines which processes should be admitted to the system and places them in the ready queue for execution by the short term scheduler. The long term scheduler plays a crucial role in balancing the degree of multiprogramming and ensuring efficient resource utilization.