Topic: Operating Systems
With respect to Process Schedulers of an operating system mentioned above in the table, which of the following statements is correct?
| Process Scheduler type | Activity |
|---|---|
| (i) Long term scheduler | (P) executes much faster to reduce wastage of CPU time |
| (ii) Medium term scheduler | (Q) controls degree of multiprogramming |
| (iii) Short Term Scheduler | (R) is associated with swapping |
- A. (i) - (R), (ii) - (P), (iii) - (Q)
- B. (i) - (Q), (ii) - (R), (iii) - (P)
- C. (i) - (P), (ii) - (R), (iii) - (Q)
- D. (i) - (R), (ii) - (Q), (iii) - (P)
Answer: B. (i) - (Q), (ii) - (R), (iii) - (P)
Explanation: The Long-term scheduler admits new processes into memory, thus controlling the degree of multiprogramming (Q). The Medium-term scheduler handles swapping processes in and out of main memory (R). The Short-term scheduler (CPU scheduler) must execute extremely fast to constantly allocate the CPU among ready processes (P).