Question discussion

Processes P1, P2, P3 and P4 arrive at times 0, 1, 2 and 3 with CPU bursts of 5, 3, 8 and 6 ms. The average waiting time under FCFS scheduli…

1551Medium DSSSB TGT Computer Science 0 replies 1 views
0

Processes P1, P2, P3 and P4 arrive at times 0, 1, 2 and 3 with CPU bursts of 5, 3, 8 and 6 ms. The average waiting time under FCFS scheduling is

  • A8 ms
  • B6.5 ms
  • C7.25 ms
  • D5.75 ms
Correct answer: D

Explanation

The start times are 0, 5, 8 and 16, so the waiting times are 0, 4, 6 and 13, which total 23; the average is 23/4 = 5.75 ms.

Discussion 0

Nobody has replied yet. Start the discussion!