engineering recuitment NIC NIELIT Scientist B 2023 Mock Test Operating Systems CPU Scheduling Process Scheduling
Consider the following five processes with the length of the CPU burst time given in milliseconds together with their arrival time and priority.
| Process | Arrival Time | Burst Time | Priority |
| P1 | 0 | 10 | 4 |
| P2 | 0 | 3 | 1 |
| P3 | 3 | 8 | 2 |
| P4 | 4 | 16 | 3 |
| P5 | 7 | 2 | 5 |
In priority scheduling (no preemption) the average turnaround time will be(small value in priority means higher priority)
1
20.6 ms
2
18.6 ms
3
21.6 ms
4
22.5 ms