Anonymous user menu

Consider the following table of arrival time and burst time for three processes P0, P1 and P2:GATE: 2011

Consider the following table of arrival time and burst time for three processes P0, P1 and P2:

PROCESS  ARRIVAL TIME BURST TIME
P0 0ms 9ms
P1 1ms 4ms
P2 2ms 9ms

The pre-emptive shortest job first scheduling algorithm is used. Scheduling is carried out only at arrival or completion of processes. What is the average waiting time for the three processes?
(A)5.0ms

(B)4.33ms

(C)6.33ms

(D)7.33 ms

Answer

ANSWER : (A)

AVERAGE WAITING TIME = (4+11)/3  = 5 ms

0Comment