← Back to 7. Deadlocks

📝 Resource Preemption and Recovery from Deadlock

📖 From Operating System • 7. Deadlocks • 23 questions available

Practice MCQs for Resource Preemption and Recovery from Deadlock. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-11

6
Easy Questions
10
Medium Questions
7
Hard Questions

📝 Sample Questions

Q1. What is the fundamental approach of resource preemption for deadlock resolution?

🔹 A. Aborting all processes in the deadlock cycle
🔹 B. Successively preempting resources from processes
🔹 C. Preventing processes from requesting resources
🔹 D. Increasing resource availability

💡 Difficulty: easy | ✅ Correct: B

Q2. What condition must be met for resource preemption to successfully eliminate deadlock?

🔹 A. All processes must be preempted simultaneously
🔹 B. Resources must be preempted until the deadlock cycle breaks
🔹 C. Only CPU resources need to be preempted
🔹 D. Preemption must occur before deadlock detection

💡 Difficulty: medium | ✅ Correct: B

Q3. How do cost factors in victim selection relate to process termination decisions?

🔹 A. They use completely different criteria
🔹 B. They are both economic decisions
🔹 C. Victim selection ignores cost
🔹 D. Only termination considers cost

💡 Difficulty: hard | ✅ Correct: B

⬆️ View all questions in the quiz below

🔗 Related Topics

📝 Computer System Architecture📝 Computer System Organization📝 Computing Environments📝 Kernel Data Structures📝 Memory Management
🚀 Start Quiz 📝 Practice Mode