GATE CS 2021 Set 1 | Question 35
Operating Systems › CPU Scheduling · NAT · 1 mark · Answer: 12
- Question 35Operating Systemsnat1 markThree processes arrive at time zero with CPU bursts of 16, 20 and 10 milliseconds. If the scheduler has prior knowledge about the length of the CPU bursts, the minimum achievable average waiting time for these three processes in a non-preemptive scheduler (rounded to nearest integer) is ______ milliseconds.
Answer: 12
Solution
Shortest-Job-First minimizes average waiting time. Order 10, 16, 20: waiting times are ; average ms.
More GATE PYQ on CPU Scheduling
All GATE CS Operating Systems PYQ →Attempt GATE CS 2021 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →