Process | Arrival Time | Burst Time | Priority |
P1 | 0 | 11 | 2 |
P2 | 5 | 28 | 0 |
P3 | 12 | 2 | 3 |
P4 | 9 | 10 | 1 |
P5 | 9 | 16 | 4 |
Process | Arrival Time | Burst Time | Priority | C.T. | T.A.T. | W.T. |
P1 | 0 | 11 | 2 | 49 | 49 | 38 |
P2 | 5 | 28 | 0(high) | 33 | 28 | 0 |
P3 | 12 | 2 | 3 | 51 | 39 | 37 |
P4 | 2 | 10 | 1 | 40 | 38 | 28 |
P5 | 9 | 16 | 4 | 67 | 58 | 42 |
Total | 145 |
P1 | P4 | P2 | P4 | P1 | P3 | P5 |