CS FundamentalsHardGATE CS

Round Robin with quantum 3 ms; processes (arrival, burst): P1 (0, 5), P2 (1, 3), P3 (2, 8), P4 (3, 6). What are the completion times of P1, P2, P3 and P4?

  1. A. 11, 6, 22, 19
  2. B. 14, 6, 20, 22
  3. C. 14, 6, 22, 20
  4. D. 14, 9, 22, 20

Correct answer: C. 14, 6, 22, 20

Gantt chart: P1 0-3 | P2 3-6 | P3 6-9 | P4 9-12 | P1 12-14 | P3 14-17 | P4 17-20 | P3 20-22. Read off each process's last slice.

More Operating Systems questions

Exams that ask this topic