Question discussion

Three processes with CPU bursts of 8, 4 and 6 ms arrive together at time 0 and are scheduled by Round Robin with a time quantum of 4 ms. Wh…

1127Medium DSSSB TGT Computer Science 0 replies 1 views
0

Three processes with CPU bursts of 8, 4 and 6 ms arrive together at time 0 and are scheduled by Round Robin with a time quantum of 4 ms. What is the average waiting time?

  • A6 ms
  • B10 ms
  • C8 ms
  • D14 ms
Correct answer: C

Explanation

The completion times are 16, 8 and 18 ms, so the waiting times are 16 − 8 = 8, 8 − 4 = 4 and 18 − 6 = 12; the average is 24/3 = 8 ms.

Discussion 0

Nobody has replied yet. Start the discussion!