GATE CS 2025, set 2 · Question 26 · Operating System · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
Processes P1, P2, P3, P4 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
Answer
Answer (D)
Answer from the official GATE CS 2025 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes