GATE / CS ARCHIVE

GATE CSE 2023 / QUESTION 27

GATE CSE 2023 Q27

Operating Systems · CPU Scheduling · Full GATE CSE 2023 paper

GATE 2023, Q27 1 mark · MSQ
Report issue

CPU Scheduling

Question 27, GATE 2023: Which scheduling policies can cause starvation? A FIFO; B round robin; C priority scheduling; D shortest job first. Preserve all answer sets accepted in the official key.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: A, C, D or C, D

Our answer: C;D under finite-burst FIFO; A;C;D also officially accepted

Priority scheduling can indefinitely postpone a low-priority process when higher-priority work keeps arriving. SJF can similarly starve a long job under a continuing supply of shorter jobs. Round robin provides recurring turns under its usual finite-quantum assumptions. Ordinary FIFO with finite earlier jobs does not starve a waiting job, giving C, D. If an earlier nonpreemptive FIFO job never relinquishes the CPU, a later job can wait forever; the official key additionally accepts A, C, D. Preserve both accepted sets rather than silently selecting one.

Teaching detail. Starvation means indefinite postponement despite continuing operation, rather than a long but finite waiting time. Under conventional finite service times, FIFO eventually reaches each queued job, whereas higher priorities or shorter new jobs can repeatedly overtake an eligible job under the other policies. Round robin with finite quanta and the ordinary finite active-set assumptions revisits each ready process. The official acceptance of a second set including FIFO must not be erased by applying only the conventional model. The nonterminating FIFO-job scenario explains one possible model distinction, not an official stated rationale.

Original paper, page 25 · Answer key