CS FundamentalsHardGATE CS (PYQ pattern)

Rate-monotonic tasks (C, period = deadline) T1 (1, 3), T2 (1, 5), T3 (3, 15) are released together at t = 0. How many times is T3 preempted during the first hyperperiod [0, 15) (counting each time it is taken off the CPU with work remaining)?

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

Correct answer: C. 2

Unit-step simulation of the schedule over [0, 15) shows T3 is displaced 2 times (T1 and T2 releases at 3, 5, 6, 9, 10, 12).

More Operating Systems questions

Exams that ask this topic