Consider the following table showing the Arrival time, burst time before I/O time and followed by CPU time again:
|
Process |
A.T. |
Execution time |
||
|
|
|
CPU |
I/O |
CPU |
|
P1 |
0 |
4 |
3 |
2 |
|
P2 |
1 |
1 |
4 |
1 |
|
P3 |
4 |
3 |
1 |
1 |
Using SRTF scheduling policy what is the average waiting time?
1
4.33
2
3
3
4
4
5