Consider the following set of processes, with arrival times and the required CPU-burst times given in milliseconds.
Process Arrival Time Burst Time P1 0 4 P2 2 2 P3 3 1
What is the sequence in which the processes are completed? Assume round robin scheduling with a time quantum of 2 milliseconds
(A) P1, P2, P3
(B) P2, P1, P3
(C) P3, P2, P1
(D) P2, P3, P1
Answer: (B)
Explanation: The sequence in which the processes complete with round-robin algorithm with tq = 2 ms is P2, P1, P3
Option (B) is correct.
Quiz of this Question
Article Tags :
Recommended Articles