Bird
Raised Fist0

Which of the following statements best explains why eliminating the 'No Preemption' condition is often impractical in operating systems?

medium🪤 Complexity Trap Q13 of Q15
Operating Systems - Deadlock - Four Necessary Conditions (Coffman)
Which of the following statements best explains why eliminating the 'No Preemption' condition is often impractical in operating systems?
APreemption increases the chance of circular wait conditions.
BPreemption always leads to starvation of some processes.
CPreempting resources can cause inconsistent states and data corruption if not handled carefully.
DPreemption is unnecessary because hold and wait can be eliminated instead.
Step-by-Step Solution
Solution:
  1. Step 1: Understand 'No Preemption'

    This condition means resources cannot be forcibly taken from a process.
  2. Step 2: Analyze why preemption is hard

    Preempting resources like CPU or I/O devices can cause inconsistent states or data corruption if the process is interrupted mid-operation.
  3. Step 3: Evaluate other options

    Preemption always leads to starvation of some processes is incorrect because preemption does not always cause starvation; proper scheduling can prevent it. Preemption increases the chance of circular wait conditions is false; preemption reduces circular wait. Preemption is unnecessary because hold and wait can be eliminated instead is misleading; eliminating hold and wait is difficult and does not negate the challenges of preemption.
  4. Final Answer:

    Option C -> Option C
  5. Quick Check:

    Preemption risks inconsistent states, making it impractical in many cases.
Quick Trick: No preemption exists because forcibly taking resources risks corruption [OK]
Common Mistakes:
MISTAKES
  • Believing preemption always causes starvation
  • Confusing preemption effects with circular wait
  • Assuming eliminating hold and wait removes need for preemption
Trap Explanation:
PITFALL
  • Options B, C, and D reflect common misunderstandings about preemption's effects and alternatives.
Interviewer Note:
CONTEXT
  • Tests understanding of trade-offs and practical limitations of preemption in deadlock prevention.
Master "Deadlock - Four Necessary Conditions (Coffman)" 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