Computer Science EngineeringVery hard

Four processes arrive at time 0 with CPU bursts 6, 8, 7 and 3 ms. What is the average waiting time (ms) under non-preemptive shortest job first?

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

Correct answer: C. 7

Running in the order 3, 6, 7, 8 gives waits 0, 3, 9, 16, whose mean is 28/4 = 7.

More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions

Exams that ask this topic