Bird
Raised Fist0

Why is it generally inefficient to keep a process in the Ready state for a long time without scheduling it to Running, especially in a multi-core system?

medium🪤 Complexity Trap Q13 of Q15
Operating Systems - Process State Machine - Five-State Model
Why is it generally inefficient to keep a process in the Ready state for a long time without scheduling it to Running, especially in a multi-core system?
ABecause the process wastes CPU cache locality and increases context switch overhead when scheduled later
BBecause the process holds resources like memory and I/O devices exclusively while Ready
CBecause the process consumes CPU cycles even in Ready state, reducing overall throughput
DBecause the process cannot perform I/O operations while in Ready state, causing system deadlocks
Step-by-Step Solution
  1. Step 1: Understand Ready state resource usage

    Processes in Ready state do not consume CPU cycles but occupy scheduling queues.
  2. Step 2: Analyze each option

    A: Correct. Long Ready times cause loss of CPU cache locality and increase context switch overhead when finally scheduled.
    B: Incorrect. Processes do not hold exclusive I/O or memory resources just by being Ready.
    C: Incorrect. Ready processes do not consume CPU cycles.
    D: Incorrect. Ready processes do not cause deadlocks by not performing I/O.
  3. Final Answer:

    Option A -> Option A
  4. Quick Check:

    Ready state delays hurt cache locality and increase context switch costs [OK]
Quick Trick: Ready state processes wait without CPU but lose cache locality and increase context switch overhead [OK]
Common Mistakes:
MISTAKES
  • Believing Ready processes consume CPU cycles
  • Assuming Ready processes hold exclusive resources
  • Confusing Ready state with Waiting state regarding I/O
Trap Explanation:
PITFALL
  • Option A is tempting because candidates may think Ready means active CPU use. Option B confuses resource holding with Running or Waiting states. Option D incorrectly links Ready state to deadlocks.
Interviewer Note:
CONTEXT
  • Tests understanding of performance trade-offs and misconceptions about process states in scheduling.
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