CS FundamentalsModerateTCS Digital · Infosys

Processes with bursts 6, 8, 7 and 3 ms all arrive at time 0 and are scheduled by non-preemptive SJF. What is the average waiting time?

  1. A. 6.5 ms
  2. B. 7.5 ms
  3. C. 9 ms
  4. D. 7 ms

Correct answer: D. 7 ms

Order 3, 6, 7, 8 gives waiting times 0, 3, 9 and 16, so the average is 28 / 4 = 7 ms.

More Operating Systems questions

Exams that ask this topic