Start learning →

Three processes arrive at t=0 with bursts 24, 3, 3. The average waiting time under SJF is

A17
B10
C3
D0
Answer & Solution
Correct answer: C. 3
**SJF picks shortest first:** P2 (3), then P3 (3), then P1 (24). **Waiting times:** P2=0, P3=3, P1=6. Average = (0+3+6)/3 = 3. Under FCFS the average would be 17 (P1 first, P2 waits 24, P3 waits 27). Same total CPU time; SJF orders to minimise average waiting.
Practise this question with Quill — GATE CSE →

Keep practising Operating Systems

Browse all Operating Systems questions for GATE CSE, or explore more Computer Science topics.

Start a Operating Systems lesson →
Related questions