Jobs A, B, C, D and E with running time of 13, 10, 5, 9 and 1 respectively…
Jobs A, B, C, D and E with running time of 13, 10, 5, 9 and 1 respectively arrive at computer in the time order 0, 5, 7, 10, 12. If the priority of these jobs is in the order C, B, E, A, D and the policy used for scheduling is that a higher priority job always succeeds in preempting. Context switching takes 1 unit of time. The exact number of context switches needed are n then (n-1) is? (Do not count the context switches at time 0 and at the end).
Attempted by 24 students.
Sign up free to check your answer
Sign up freeLoading lesson…

