CS FundamentalsVery hardGATE CS · Product Company SDE

Processes (arrival, burst): P1(0, 9), P2(5, 6), P3(1, 9), P4(6, 2). Using Round Robin with quantum 4 (a newly arrived process is queued before a pre-empted one), what is the average waiting time?

  1. A. 6
  2. B. 13.5
  3. C. 9.75
  4. D. 6.25

Correct answer: B. 13.5

Simulate the schedule on a Gantt chart; waiting = completion − arrival − burst. Round Robin with quantum 4: 13.5. Values for the other policies (FCFS 9.75, SJF 6.25, SRTF 6, RR(q=4) 13.5) are the distractors.

More Operating Systems questions

Exams that ask this topic