Bird
Raised Fist0

Identify the misconception in this statement: "The working set model guarantees thrashing will never occur if each process is allocated frames equal to its working set size."

medium🐞 Bug Identification Q7 of Q15
Operating Systems - Thrashing - Working Set Model & Prevention
Identify the misconception in this statement: "The working set model guarantees thrashing will never occur if each process is allocated frames equal to its working set size."
APage replacement algorithms always prevent thrashing regardless of allocation.
BWorking set size can change dynamically, so fixed allocation may become insufficient.
CThrashing can still occur due to CPU scheduling, unrelated to frame allocation.
DProcesses always use all allocated frames fully, so allocation equals usage.
Step-by-Step Solution
Solution:
  1. Step 1: Understand working set dynamics

    Working set size varies over time; fixed allocation may lag behind changes.
  2. Step 2: Analyze options

    A: Incorrect, page replacement alone cannot always prevent thrashing.
    B: Thrashing is mainly due to paging, not CPU scheduling.
    C: Working set size changes dynamically, so fixed allocation may become insufficient.
    D: Processes may not use all allocated frames at all times.
  3. Final Answer:

    Option B -> Option B
  4. Quick Check:

    Working set size changes, fixed allocation can cause thrashing [OK]
Quick Trick: Working set size is dynamic, fixed frames may be insufficient [OK]
Common Mistakes:
MISTAKES
  • Assuming fixed allocation always matches working set size
  • Confusing CPU scheduling effects with thrashing causes
  • Believing page replacement algorithms alone prevent thrashing
Trap Explanation:
PITFALL
  • Candidates often overlook working set size variability and assume static allocation suffices.
Interviewer Note:
CONTEXT
  • Tests awareness of working set size dynamics and allocation limitations.
Master "Thrashing - Working Set Model & Prevention" 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