Skip to content
Mad4Study

Engineering & Science

GATE Computer Science

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

Processes P1, P2 and P3 arrive at time 0 in that order with CPU bursts of 10, 4 and 2 ms. What is the average waiting time under FCFS scheduling?

Process Management

Pick an option to check your answer.

Under FCFS the processes run in arrival order: P1 waits 0 ms, P2 waits 10 ms, and P3 waits 10+4=1410 + 4 = 14 ms. The average waiting time is 0+10+143=8\dfrac{0 + 10 + 14}{3} = 8 ms.

Why not the others

  • 2.672.67 ms is the average under SJF, which runs P3, P2, P1.
  • 13.3313.33 ms is the average turnaround time (10, 14, 16), not the waiting time.
  • 2424 ms is the total waiting time, not the average.

Report an error

GATE CS · Operating Systems · Process Management