CS FundamentalsHardGATE CS (PYQ pattern)

Round Robin, quantum 4 ms, four processes arriving together at time 0 in the order P1..P4 with bursts 9, 5, 2 and 6 ms. Every switch to a different process costs 1 ms of dead time, and none is incurred when the same process continues. What is the average turnaround time?

  1. A. 18 ms
  2. B. 24 ms
  3. C. 21.5 ms
  4. D. 23 ms

Correct answer: D. 23 ms

Completion times with the overhead: {2: 12, 1: 24, 3: 27, 0: 29}; the mean is 23 ms. Without overhead the mean is 18 ms.

More Operating Systems questions

Exams that ask this topic