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
- A.
12.8 ms
- B.
11.8 ms
- C.
10.8 ms
- D.
9.8 ms
Attempted by 552 students.
Sign up free to check your answer
Sign up freeLoading lesson…

