Considering the process details given in the following table, what will be the…
2017
Considering the process details given in the following table, what will be the completion order of the processes under the policies FCFS and RR (with CPU quantum of 2 time units)?

- A.
FCFS: P1, P2, P3 and RR: P1, P2, P3
- B.
FCFS: P3, P2, P1 and RR: P3, P1, P2
- C.
FCFS: P3, P2, P1 and RR: P3, P2, P1
- D.
FCFS: P1, P3, P2 and RR: P1, P2, P3
Attempted by 102 students.
Show answer & explanation
Correct answer: B
The correct answer is Option B.
FCFS: Processes execute by arrival times (P3 → P2 → P1). P3 finishes at time 5, P2 at 12, and P1 at 17. Order: P3, P2, P1.
RR (Quantum = 2): At time 0, P3 runs. Tracking the ready queue execution sequence, P3 completes at time 13, P1 at 15, and P2 at 17. Order: P3, P1, P2.