CS FundamentalsVery hardGATE CS (PYQ pattern)

Eight independent jobs with lengths 7, 6, 5, 5, 4, 3, 3, 2 are scheduled on 3 identical processors by LPT (longest job first onto the currently least-loaded processor). The optimal makespan over all assignments is also computed. What is the pair (LPT makespan, optimal makespan)?

  1. A. (14, 12)
  2. B. (13, 12)
  3. C. (13, 11)
  4. D. (12, 13)

Correct answer: B. (13, 12)

Total work is 35, so the optimum is at least 12. LPT gives 13; an exhaustive search over assignments gives 12.

More Operating Systems questions

Exams that ask this topic