Ask Question

Five jobs are waiting to be run their expected run times are and x in hwat order should they be run to minimize average response time?

+3
Answers (1)
  1. 27 May, 12:17
    0
    The shortest job first is the most suitable scheduling policy to use here as it selects the waiting process with the minimum execution time to execute next.

    Explanation:

    There are five jobs waiting to run with the following expected times:

    9, 6, 3, 5 and X

    We have to find the order in which they should run to minimize average response time.

    So we will use shortest job first scheduling technique. As the answer depends on X. So the order can be:

    When X=0 Then order is: X, 3, 5, 6, 9 When X is greater than 3 but less than 5 (3 < X < = 5) the order is 3, X, 5,6, 9 When X is greater than 5 but less than 6 (5 < X < = 6) the order is 3, 5, X, 6, 9 When X is greater than 6 but less than 9 (6 < X 9) Then the order is 3, 5, 6, 9, X
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Five jobs are waiting to be run their expected run times are and x in hwat order should they be run to minimize average response time? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers