CS FundamentalsModerateGATE CS

Round Robin is used with quantum q = 10 ms and context-switch time s = 2 ms. All processes are CPU-bound with very long bursts, and the switch happens after every quantum. Which value is the CPU efficiency (useful time / total time)?

  1. A. 80%
  2. B. 90%
  3. C. 83.33%
  4. D. 16.67%

Correct answer: C. 83.33%

Each cycle is q + s = 12 ms of which 10 ms is useful, so efficiency = 10/12 = 83.33%. 80% wrongly uses s/q as the loss; 16.67% is the overhead fraction itself.

More Operating Systems questions

Exams that ask this topic