- 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.
Answer: B. Solution
Under FCFS the processes run in arrival order: P1 waits 0 ms, P2 waits 10 ms, and P3 waits ms. The average waiting time is ms.
Why not the others
- ms is the average under SJF, which runs P3, P2, P1.
- ms is the average turnaround time (10, 14, 16), not the waiting time.
- ms is the total waiting time, not the average.