🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: CPU Scheduling Numericals: all 14 questions

Quiz: CPU Scheduling Numericals · Question 4 of 14

At t = 9 in the HRRN example, why was C chosen over E?

At t = 9 in the HRRN example, why was C chosen over E?

  1. A.C had waited 5 units, so its ratio (9/4 = 2.25) was higher than E's (3/2 = 1.5)
  2. B.C arrived later than E
  3. C.C had the shortest burst
  4. D.HRRN always picks in arrival order
Answer & explanation

Correct answer: C had waited 5 units, so its ratio (9/4 = 2.25) was higher than E's (3/2 = 1.5)

HRRN rewards waiting; E's short burst was not enough to beat C's longer wait.

Can you get the rest right without peeking?

Take the timed Quiz: CPU Scheduling Numericals quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →