edited by
3,144 views
0 votes
0 votes

Consider the following statements:

S1: Long term scheduler sends the process from ready state to running state.

S2: Medium term scheduler controls the degree of multiprogramming.

which of the following is correct?

  1. Only S1
  2. Only S2
  3. Both S1 & S2
  4. Neither S1 & S2
edited by

1 Answer

1 votes
1 votes

Long Term Scheduler

It is also called a job scheduler. 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. Process loads into the memory for CPU scheduling.

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. If the degree of multiprogramming is stable, then the average rate of process creation must be equal to the average departure rate of processes leaving the system.

Short Term Scheduler

It is also called as CPU scheduler. Its main objective is to increase system performance in accordance with the chosen set of criteria. It is the change of ready state to running state of the process. CPU scheduler selects a process among the processes that are ready to execute and allocates CPU to one of them.

Short-term schedulers, also known as dispatchers, make the decision of which process to execute next. Short-term schedulers are faster than long-term schedulers.

$So, answer\ is\ D.$

Related questions

1 votes
1 votes
1 answer
4
diksha kahensa asked Oct 20, 2016
1,457 views
Which of the following information is not a part of process control block?a) CPU scheduling informationb) CPU-stack pointer valuesc) CPU-timer informationd) CPU- accumula...