Ask Question
7 March, 10:16

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. 7 March, 13:58
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers