CS FundamentalsVery hardAmazon · Microsoft MCQ pattern

Processes (arrival, burst) in ms: P1 (arrival 0, burst 2), P2 (arrival 1, burst 9), P3 (arrival 3, burst 4), P4 (arrival 5, burst 5). Round Robin scheduling is used with time quantum 3 ms; a process that newly arrives joins the ready queue before a process whose quantum has just expired. What is the average waiting time?

  1. A. 6.25 ms
  2. B. 4.75 ms
  3. C. 7.25 ms
  4. D. 5.25 ms

Correct answer: A. 6.25 ms

Tracing the ready queue with quantum 3 ms gives completion times P1 2, P3 15, P4 17, P2 20, so waiting (turnaround − burst) averages to 6.25 ms. Scheduling the same processes under FCFS instead gives 4.75 ms.

More Operating Systems questions

Exams that ask this topic