CS FundamentalsVery hardGATE CS

Highest Response Ratio Next (non-preemptive; ratio = (waiting + burst) / burst). Processes (arrival, burst): A (0, 8), B (1, 4), C (2, 2), D (3, 6), E (4, 3). In what order do they run?

  1. A. A, C, E, B, D
  2. B. A, C, B, D, E
  3. C. A, B, C, E, D
  4. D. A, C, B, E, D

Correct answer: D. A, C, B, E, D

At 8: C has (6 + 2)/2 = 4, the highest. At 10: B has 13/4 = 3.25, E 9/3 = 3, D 13/6. At 14: E has 13/3 ≈ 4.33 and D 17/6 ≈ 2.83, so E then D.

More Operating Systems questions

Exams that ask this topic