🎙 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 14 of 14

Why does HRRN not starve long jobs, unlike SJF?

Why does HRRN not starve long jobs, unlike SJF?

  1. A.It always runs the longest job first
  2. B.A waiting job's response ratio keeps growing, so eventually it becomes the largest
  3. C.It preempts short jobs every millisecond
  4. D.It ignores burst times
Answer & explanation

Correct answer: A waiting job's response ratio keeps growing, so eventually it becomes the largest

The waiting time in the numerator rises while the job waits, so its turn must come.

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 →