STQC-NIELIT STA 2021
November 27, 2023UGC NET CS 2011 June-Paper-2
November 27, 2023NTA UGC NET JUNE-2023 Paper-2
Question 99 |
Consider the following table of arrival time and burst time for three processes PO,P1,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 a process. What is the average waiting time for the three processes?
3 ms | |
3.67 ms | |
4.47 ms | |
4 ms |
Correct Answer: B