Skip to content
Mad4Study

Engineering & Science

GATE Computer Science

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

Four processes arrive at time 0 with CPU bursts 6, 8, 7 and 3. What is the average waiting time under non-preemptive SJF?

Process Management

Pick an option to check your answer.

SJF runs the bursts in the order 3, 6, 7, 8. Waiting times: 0,3,9,160, 3, 9, 16. Average =284=7= \dfrac{28}{4} = 7.

Why not the others

  • 10.25 is FCFS in the given order (0,6,14,210, 6, 14, 21).
  • 6 miscounts the waits.
  • 8.75 uses turnaround times minus a wrong offset.

Report an error

GATE CS · Operating Systems · Process Management