GATE / CS ARCHIVE

GATE CSE 2021 SET 2 / QUESTION 14

GATE CSE 2021 Set 2 Q14

Operating Systems · CPU Scheduling · Full GATE CSE 2021 Set 2 paper

GATE 2021 Set 2, Q14 1 mark · MSQ
Report issue

CPU Scheduling

Question 14, GATE 2021: Select correct CPU scheduling statements: A turnaround includes waiting; B goal is only maximize CPU use and minimize throughput; C round robin works without advance CPU burst lengths; D preemption requires hardware support.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: A; C; D

Turnaround measures arrival-to-completion and includes waiting, so A. Throughput should ordinarily be increased, not minimized, refuting B. Round-robin only needs a time quantum, not advance knowledge of each burst, giving C. Preemption of an otherwise running process requires hardware interruption support, typically a timer interrupt, giving D in the standard OS model.

For an ordinary CPU-only job, turnaround=completion−arrival=waiting+CPU service; I/O time is also included if relevant. Round robin dispatches a ready job for at most a quantum, regardless of its remaining burst. A timer interrupt lets the OS regain control even if the process does not voluntarily yield.

Original paper, page 62 · Answer key