CS FundamentalsModerateGATE CS · TCS Digital

Three processes with bursts 10, 5 and 8 ms arrive together at time 0 in the order P1, P2, P3 and are scheduled by Round Robin with a quantum of 2 ms. What is the average waiting time? (Ignore context-switch time.)

  1. A. 10.00 ms
  2. B. 12.00 ms
  3. C. 11.33 ms
  4. D. 7.67 ms

Correct answer: B. 12.00 ms

Completion times are P1 = 23, P2 = 15, P3 = 21, so waiting times are 13, 10, 13 and the average is 12.00 ms.

More Operating Systems questions

Exams that ask this topic