insurence exam AIC MT (Generalist & IT) Mock Test Series 2025 Operating Systems CPU Scheduling Process Scheduling
Consider the following table of arrival time and burst time for three processes P0, P1, P2
|
Process |
Arrival Time (Seconds) |
Burst Time (Second) |
|
P0 |
0 |
9 |
|
P1 |
1 |
4 |
|
P2 |
2 |
9 |
The pre-emptive shortest job first scheduling algorithm is used. Scheduling is carried out only at arrival or completion of process. The average waiting time for the three process is _____
1
5 seconds
2
4 seconds
3
6 seconds
4
7 seconds
5
3 seconds