Consider a set of 5 processes whose arrival time, CPU time needed and the…

ISRO Scientist/Engineer SC 2009

Consider a set of 5 processes whose arrival time, CPU time needed and the priority are given below:

Process       Arrival Time   CPU Time Needed     Priority
              (in ms)

P1              0             10                 5
P2              0             5                  2
P3              2             3                  1
P4              5             20                 4
P5              10            2                  3

(smaller the number, higher the priority) If the CPU scheduling policy is priority scheduling without preemption, the average waiting time will be

  1. A.

    12.8 ms

  2. B.

    11.8 ms

  3. C.

    10.8 ms

  4. D.

    9.8 ms

Attempted by 552 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…