CS FundamentalsHardAccenture · Capgemini technical pattern

Under Highest Response Ratio Next (non-preemptive), the CPU becomes free at time 9. Ready processes (arrival, burst): P2 (2, 3), P3 (4, 6), P4 (6, 2). Which process runs next?

  1. A. P4
  2. B. P2
  3. C. P3
  4. D. P2 and P4 tie

Correct answer: B. P2

Response ratio = (waiting + burst) / burst. P2: (7 + 3)/3 ≈ 3.33; P3: (5 + 6)/6 ≈ 1.83; P4: (3 + 2)/2 = 2.5. P2 has the highest ratio. Pure SJF would pick P4; HRRN boosts jobs that have waited long.

More Operating Systems questions

Exams that ask this topic