Consider the following table of arrival time and burst time for three processes P0, P1 and P2.
Process Arrival time Burst Time P0 0 ms 9 ms P1 1 ms 4 ms P2 2 ms 9 ms
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.0 ms
(B) 4.33 ms
(C) 6.33
(D) 7.33
Answer: (A)
Explanation: See Question 4 of https://www.geeksforgeeks.org/operating-systems-set-6/
Quiz of this Question
Recommended Posts:
- GATE | GATE CS 2011 | Question 1
- GATE | GATE CS 2011 | Question 2
- GATE | GATE CS 2011 | Question 3
- GATE | GATE CS 2011 | Question 4
- GATE | GATE CS 2011 | Question 65
- GATE | GATE CS 2011 | Question 6
- GATE | GATE CS 2011 | Question 7
- GATE | GATE CS 2011 | Question 8
- GATE | GATE CS 2011 | Question 9
- GATE | GATE CS 2011 | Question 10
- GATE | GATE CS 2011 | Question 11
- GATE | GATE CS 2011 | Question 65
- GATE | GATE CS 2011 | Question 13
- GATE | GATE CS 2011 | Question 14
- GATE | GATE CS 2011 | Question 15
- GATE | GATE CS 2011 | Question 16
- GATE | GATE CS 2011 | Question 17
- GATE | GATE CS 2011 | Question 18
- GATE | GATE CS 2011 | Question 19
- GATE | GATE CS 2011 | Question 65

