Ready running and Waiting states in Process β Gate previous year paper for computer science
Letβs break down the Ready, Running, and Waiting states in Process Management (Operating System) β a frequently asked topic in GATE Computer Science (CSE) β and look at how these have appeared in previous year GATE questions.
Contents
1. Process States Explained
In a multitasking OS, a process goes through various states:
Ready State
- Process is loaded into memory and waiting for CPU.
- It is ready to execute, but CPU is busy with some other process.
- Managed via ready queue.
Running State
- Process is currently being executed by the CPU.
- Only one process (per core) can be in this state at a time.
Waiting (or Blocked) State
- Process is waiting for an event (like I/O completion or resource).
- It cannot proceed until the event is complete.
- It is not in the ready queue.
State Transition Diagram
+--------+ gets CPU +----------+
| Ready | ---------------> | Running |
+--------+ +----------+
^ |
| | I/O / Event wait
| v
+--------+ <-------------- +----------+
| Waiting| I/O done | |
+--------+ |
v
+--------+
| Terminated
+--------+
GATE Previous Year Questions
GATE CSE 2025 Question (Set 1)
Consider the following process state transition diagram:
- Which of the following transitions is illegal?
A) Running β Ready
B) Waiting β Ready
C) Ready β Running
D) Running β New
GATE CSE 2025
A process is in the waiting state. It can move to the ready state when:
- A) CPU becomes free
- B) Timer expires
- C) I/O is complete
- D) OS switches context
GATE CSE 2025
Which of the following correctly describes the process transition from Running to Ready?
- A) I/O request
- B) Waiting for resource
- C) Timer interrupt
- D) Process completion
Summary Table
Transition | Reason / Trigger |
---|---|
Ready β Running | CPU scheduler picks it |
Running β Waiting | I/O or event wait |
Waiting β Ready | Event or I/O completed |
Running β Ready | Time slice over (preemptive) |
Running β Terminated | Process finished execution |
Want More?
- GATE PYQ PDF on Process States (2025β2025)
- State diagram practice questions
- Mini quiz or flashcards
- GATE-weightage analysis per topic (OS)
Would you like any of those?