CS FundamentalsModerateGATE CS

In which order does the long-term, medium-term and short-term scheduler act on a process, and which one runs most frequently?

  1. A. Long-term admits it, medium-term may swap it out/in, short-term dispatches it; the short-term scheduler runs most often
  2. B. Short-term admits it, long-term dispatches it; the long-term scheduler runs most often
  3. C. Medium-term admits it; all three run equally often
  4. D. Long-term dispatches it; the medium-term scheduler runs most often

Correct answer: A. Long-term admits it, medium-term may swap it out/in, short-term dispatches it; the short-term scheduler runs most often

The CPU scheduler (short-term) runs on every interrupt or block, every few milliseconds; the long-term scheduler controls the degree of multiprogramming and runs rarely.

More Operating Systems questions

Exams that ask this topic