GATE CS 2024 Set 1 | Question 25
Operating Systems › Introduction & Process Management · MSQ · 1 mark · Answer: B, C
- Question 25Operating Systemsmsq1 markWhich process state transitions is/are NOT possible?
- A.Running to Ready
- B.Waiting to Running✓
- C.Ready to Waiting✓
- D.Running to Terminated
Answer: B, C
Solution
Answer: (B) and (C) Valid transitions: Running->Ready (preemption), Running->Terminated (exit), Running->Waiting (I/O), Ready->Running (dispatch), Waiting->Ready (I/O done). - (B) Waiting->Running is impossible: a blocked process first becomes Ready, then is dispatched. - (C) Ready->Waiting is impossible: a process can only block while it is running (making a blocking call). - A.
More GATE PYQ on Introduction & Process Management
All GATE CS Operating Systems PYQ →Attempt GATE CS 2024 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →