GATE / CS ARCHIVE

GATE CSE 1996 / QUESTION 1.18

A running-to-ready transition

Operating Systems · CPU Scheduling · Full GATE CSE 1996 paper

GATE 1996, Q1.18 1 mark · MCQ
Report issue

CPU Scheduling

Question 1.18, GATE 1996: A process-state diagram includes ready→running, running→ready, running→blocked and blocked→ready. What scheduler feature does the usual diagram indicate?
Tap to enlarge
Your answer
Answer & solution

Answer: B: preemptive scheduling (no official key was published)

Dispatch moves a ready process into running. An I/O or resource wait moves it into blocked, and completion moves it back to ready. In the standard scheduling diagram, the extra running→ready edge represents the scheduler taking the CPU away, for example at time-slice expiry. That is preemption, giving B. A real system may also let a process voluntarily yield into ready; the unlabeled graph alone would then not prove involuntary preemption. The answer uses the conventional interpretation of this textbook state-transition diagram.

Original paper, page 3