CS FundamentalsHardGATE CS

How many of these transitions are possible in the standard five-state model (new, ready, running, waiting, terminated)? 1. waiting → running 2. ready → running 3. running → waiting 4. waiting → ready 5. ready → waiting

  1. A. 4
  2. B. 2
  3. C. 3
  4. D. 5

Correct answer: C. 3

2, 3 and 4 are possible. A waiting process becomes ready when its event occurs and must be dispatched from the ready queue, so waiting → running and ready → waiting (a non-running process cannot block) are impossible.

More Operating Systems questions

Exams that ask this topic