CS FundamentalsHardGATE CS

Round Robin, quantum 2, processes (arrival, burst): A (0, 3), B (1, 5), C (2, 2), D (3, 4), E (4, 1). A process arriving exactly when a quantum ends is queued before the preempted process. In what order do the processes complete?

  1. A. A → C → E → B → D
  2. B. C → A → E → D → B
  3. C. A → C → E → D → B
  4. D. E → C → A → D → B

Correct answer: B. C → A → E → D → B

Gantt chart: A 0-2 | B 2-4 | C 4-6 | A 6-7 | D 7-9 | E 9-10 | B 10-12 | D 12-14 | B 14-15. Completion order: C → A → E → D → B.

More Operating Systems questions

Exams that ask this topic