CS FundamentalsHardGATE CS (PYQ pattern)

Periodic tasks (execution time, period = deadline): T1 (2, 5), T2 (4, 7). Which statement is correct?

  1. A. Rate-monotonic schedules the set because utilisation is below 1
  2. B. Neither rate-monotonic nor EDF can schedule the set
  3. C. EDF also fails because utilisation 0.971 exceeds the Liu-Layland bound of 0.828
  4. D. Rate-monotonic fails (T2 misses its deadline) but EDF schedules the set

Correct answer: D. Rate-monotonic fails (T2 misses its deadline) but EDF schedules the set

U = 2/5 + 4/7 = 0.971 <= 1, so EDF works. Under RM, T2's response time: 4 -> 6 -> 8 -> 8 > 7, so it misses. The Liu-Layland bound for 2 tasks is 0.828, but U > 0.828 only means the test is inconclusive; exact analysis shows failure.

More Operating Systems questions

Exams that ask this topic