Processes π1, π2, π3, π4 arrive in that order at times 0, 1, 2, and 8β¦
GATE Β· 2025 Β· CS Β· Set 2 Β· Computer Science & IT
Processes π1, π2, π3, π4 arrive in that order at times 0, 1, 2, and 8 milliseconds respectively, and have execution times of 10, 13, 6, and 9 milliseconds respectively. Shortest Remaining Time First (SRTF) algorithm is used as the CPU scheduling policy. Ignore context switching times.Β
Which ONE of the following correctly gives the average turnaround time of the four processes in milliseconds?
- A.
22
- B.
15
- C.
37
- D.
19
Attempted by 354 students.
Sign up free to check your answer
Sign up freeLoading lessonβ¦