Practice free →
HomeGATE CSEcomputerscienceOperating Systems › Among non-preemptive CPU scheduling algorithms, …

Among non-preemptive CPU scheduling algorithms, which is provably optimal for average waiting time?

AFCFS, because it minimises overhead
BRound Robin with quantum equal to the maximum burst
CSJF (shortest job first); fewer total wait units
DPriority scheduling with all priorities equal
Answer & Solution
Correct answer: C. SJF (shortest job first); fewer total wait units
SJF picks the shortest available burst next. Intuition: completing a 2-unit job in 2 units adds 2 to one process's waiting time vs forcing a 10-unit job ahead, which would make the 2-unit job wait 10 units. Across all permutations, putting shortest first minimises the total wait. It is provably optimal among non-preemptive policies. FCFS, RR, and equal-priority schemes do not minimise waiting time.
Solve this in the app — GATE CSE practice & 24k+ MCQs →
Related questions