Question OS-SCH-155
HardFive processes all arrive at time 0. Using non-preemptive priority scheduling (a lower number means higher priority), what is the average waiting time?
| Process | Arrival | Burst | Priority |
|---|---|---|---|
| P1 | 0 | 10 | 3 |
| P2 | 0 | 1 | 1 |
| P3 | 0 | 2 | 4 |
| P4 | 0 | 1 | 5 |
| P5 | 0 | 5 | 2 |
- A.
3.2 ms
- B.
9.6 ms
- C.
Sign up free to see the answer and a step-by-step explanation.