Bird
Raised Fist0

A process is currently in the Running state and issues an I/O request. Describe the sequence of state transitions that follow until the process resumes execution.

easy🧠🧾 Concept Trace Q3 of Q15
Operating Systems - Process State Machine - Five-State Model
A process is currently in the Running state and issues an I/O request. Describe the sequence of state transitions that follow until the process resumes execution.
ARunning -> Ready -> Waiting -> Running
BRunning -> Ready -> Terminated -> Waiting
CRunning -> Waiting -> Terminated -> Ready
DRunning -> Waiting -> Ready -> Running
Step-by-Step Solution
Solution:
  1. Step 1: Trace transitions after I/O request

    When a process issues I/O, it moves from Running to Waiting to wait for I/O completion.
  2. Step 2: After I/O completes

    The process moves from Waiting to Ready, waiting to be scheduled again.
  3. Step 3: Scheduler dispatches process

    Finally, the process moves from Ready to Running.
  4. Final Answer:

    Option D -> Option D
  5. Quick Check:

    Running->Waiting->Ready->Running matches I/O wait cycle [OK]
Quick Trick: I/O request triggers Running->Waiting, then Ready->Running [OK]
Common Mistakes:
MISTAKES
  • Swapping Ready and Waiting states
  • Including Terminated incorrectly
  • Assuming immediate Ready after Running
Trap Explanation:
PITFALL
  • Candidates confuse the order of Waiting and Ready states after I/O request.
Interviewer Note:
CONTEXT
  • Tests understanding of process lifecycle during I/O operations.
Master "Process State Machine - Five-State Model" in Operating Systems

2 interactive learning modes - each teaches the same concept differently

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Operating Systems Quizzes