CS FundamentalsHardGATE CS

Processes (arrival, burst): P1 (0, 6), P2 (1, 4), P3 (2, 7), P4 (3, 2). Round Robin with quantum 2 ms (new arrivals join the queue before a preempted process). What is the average RESPONSE time (first dispatch minus arrival)?

  1. A. 4.5 ms
  2. B. 8 ms
  3. C. 2 ms
  4. D. 3.5 ms

Correct answer: C. 2 ms

First dispatch times: P1 at 0, P2 at 2, P3 at 4, P4 at 8. Subtracting arrivals and averaging gives 2 ms. With quantum 4 it would be 4.5 ms, showing why a small quantum improves responsiveness.

More Operating Systems questions

Exams that ask this topic