Let there be four processes P1, P2, P3, P4 whose CPU burst times are 6, 8, 7,…

Let there be four processes P1, P2, P3, P4 whose CPU burst times are 6, 8, 7, 3 ms, respectively, and they arrive at time 0. Which of the following is the average waiting time and order of the process scheduling under the shortest-job-first scheduling?

  1. A.

    Average Waiting time = 7.75 ms; Process order: P1, P4, P3, P2

  2. B.

    Average Waiting time = 7 ms; Process order: P4, P1, P3, P2

  3. C.

    Average Waiting time = 9.25 ms; Process order: P2, P4, P3, P1

  4. D.

    Average Waiting time = 10.25 ms; Process order: P1, P2, P3, P4

Attempted by 151 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…