Consider the following set of processes and the length of CPU burst time given in milliseconds:
Assume that processes being scheduled with Round-Robin Scheduling Algorithm with Time Quantum 4ms. Then The waiting time for P4 is _________ ms.
(A) 0
(B) 4
(C) 12
(D) 6
Answer: (C)
Explanation: According to Round-Robin Scheduling Algorithm with Time Quantum 4ms :
Gantt chart,
So, waiting time for P4 = 16 − 4 = 12 ms.
Option (C) is correct.
Quiz of this Question
Article Tags :
Recommended Articles