CS FundamentalsVery hardGATE CS

Five processes all arrive at time 0 in the order P1 (10), P2 (1), P3 (2), P4 (1), P5 (5) (bursts in ms). What is the average waiting time under Round Robin with quantum 1, 2 and 5 respectively?

  1. A. 7.4, 5.8, 5.4
  2. B. 5.4, 5.4, 7.4
  3. C. 5.4, 5.8, 9.6
  4. D. 5.4, 5.8, 7.4

Correct answer: D. 5.4, 5.8, 7.4

Simulating each quantum: q = 1: 5.4, q = 2: 5.8, q = 5: 7.4 ms. FCFS would give 9.6.

More Operating Systems questions

Exams that ask this topic