Open In App

GATE | Gate IT 2007 | Question 26

Like Article
Like
Save
Share
Report
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

Last Updated : 25 Oct, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads