Skip to content
Mad4Study

Engineering & Science

GATE Computer Science

  • GATE CS
  • 2026–27 pattern practice
  • Operating Systems
  • Scheduling
  • Hard

Three processes arrive at time 00 in the order P1, P2, P3 with CPU bursts 55, 33 and 11 ms. Under Round Robin with a time quantum of 22 ms, what is the average turnaround time?

Process Management

Pick an option to check your answer.

Gantt chart (quantum 22):

  1. P1: 00–22 (3 left) → P2: 22–44 (1 left) → P3: 44–55 (done at 5)
  2. P1: 55–77 (1 left) → P2: 77–88 (done at 8)
  3. P1: 88–99 (done at 9)

Turnaround = completion − arrival: P1 =9= 9, P2 =8= 8, P3 =5= 5.

Average=9+8+53=223≈7.33 ms\text{Average} = \frac{9 + 8 + 5}{3} = \frac{22}{3} \approx 7.33\ \text{ms}

Why not the others

  • 143 ms\dfrac{14}{3}\ \text{ms} is the SJF average turnaround (completions 1,4,91, 4, 9).
  • 9 ms9\ \text{ms} is only P1's turnaround (the makespan).
  • 133 ms\dfrac{13}{3}\ \text{ms} is the average waiting time, (9−5)+(8−3)+(5−1)3\tfrac{(9-5) + (8-3) + (5-1)}{3}.

Report an error

GATE CS · Operating Systems · Process Management