Three CPU-bound tasks have execution times of 15, 12, and 5 time units and…
ISRO Scientist/Engineer SC · 2020 · Computer ScienceModified — slightly modified from the official paper; see the solution
Three CPU-bound tasks have execution times of 15, 12, and 5 time units and arrive at times 0, t, and 8, respectively. If the operating system uses shortest remaining time first (SRTF) scheduling, what should the value of t be to produce four context switches? Ignore the context switches at time 0 and after the last task finishes.
- A.
1 < t < 3
- B.
t = 0
- C.
t ≤ 3
- D.
3 < t < 8
Attempted by 389 students.
Sign up free to check your answer
Sign up freeLoading lesson…