GATE | Gate IT 2007 | Question 26

Consider n jobs J1, J2,……Jn such that job Ji has execution time ti and a non-negative integer weight wi. The weighted mean completion time of the jobs is defined to be  \frac{\sum_{i=1}^{n} w_i T_i}{\sum_{i=1}^{n} w_i}, where Ti is the completion time of job Ji. 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?
(A) Non-decreasing order of ti
(B) Non-increasing order of wi
(C) Non-increasing order of witi
(D) None-increasing order of wi/ti


Answer: (D)

Explanation:

Quiz of this Question

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.