Preemptive Shortest Job First (SJF) scheduling algorithm - Example - Operating System
Q. We have three processes P0, P1 and P2 whose arrival time and burst time are given below.
If the preemptive Shortest Job First (SJF) scheduling algorithm is carried out only at arrival or completion of processes then the average waiting time for the three processes is ________.- Published on 26 Aug 15a. 7.33ms
b. 6.33ms
c. 5.0ms
d. 4.33ms
ANSWER: 5.0ms