GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2025 set2

GATE 2025 set2 · CS · MCQ · 1 mark · Operating System › CPU Scheduling

GATE 2025 set2 Computer Science and Information Technology question: Processes P1, P2, P3, P4 arrive in that order at times 0, 1, 2, and 8 milliseconds…

Processes , , , 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?

  1. (A)

    22

  2. (B)

    15

  3. (C)

    37

  4. (D)

    19

Show answer

This question is in an all-India live mock that is open now. Its answer appears here when the mock closes.

Practise this question with exam-style marking