Consider the following table of arrival time and burst time for three…
2023
Consider the following table of arrival time and burst time for three processes P0,P1 and P2.
Process | arrival time | Burst time |
P0 | 0 ms | 7 |
P1 | 1 ms | 3 |
P2 | 2 ms | 7 |
The pre-emptive shortest job first scheduling algorithm is used. Scheduling is carried out only at arrival or completion of processes. What is the average waiting time for the three processes?
- A.
3 ms
- B.
3.67 ms
- C.
4.47 ms
- D.
4 ms
Attempted by 78 students.
Show answer & explanation
Correct answer: B


A video solution is available for this question — log in and enroll to watch it.