Skip to content
Gatebreaker

Learn

  • Dashboard
  • Syllabus
  • Questions
  • PYQ Bank
  • Tests
  • Mocks

Improve

Community

Me

You are browsing as a guest. Sign in to attempt questions and track your preparation.

Create free account

Questions

Sign inCreate account

70days to GATE 2027

Exam date 6 Feb 2027

All questions
5 of 6 PrevNext

Algorithms › GreedyGATE IT 2007, Q179

MCQEasyPYQ 20071 mark · −0.33 if wrong

Consider n jobs J1,J2…JnJ_1, J_2 \dots J_nJ1​,J2​…Jn​ such that job JiJ_iJi​ has execution time tit_iti​ and a non-negative integer weight wiw_iwi​. The weighted mean completion time of the jobs is defined to be ∑i=1nwiTi∑i=1nwi\frac{\sum_{i=1}^{n}w_iT_i}{\sum_{i=1}^{n}w_i}∑i=1n​wi​∑i=1n​wi​Ti​​, where TiT_iTi​ is the completion time of job JiJ_iJi​. Assuming that there is only one processor available, in what order must the jobs be executed in order to minimize the weighted mean completion time of the jobs?

Pick an answer, then press Check. You will be asked to sign in first.