← Back to 7. Deadlocks

📝 Circular Wait Deadlock Prevention

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

Practice MCQs for Circular Wait Deadlock Prevention. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-11

14
Easy Questions
38
Medium Questions
26
Hard Questions

📝 Sample Questions

Q1. What does the function F: R → N represent in the context of circular wait prevention?

🔹 A. A mapping from resources to their current holders
🔹 B. A mapping from resources to their unique integer identifiers
🔹 C. A mapping from processes to their allocated resources
🔹 D. A mapping from resource types to their available instances

💡 Difficulty: easy | ✅ Correct: B

Q2. What is the alternative protocol for circular wait prevention that involves releasing resources?

🔹 A. A process requesting Rj must have released any resources Ri where F(Ri) ≤ F(Rj)
🔹 B. A process requesting Rj must have released any resources Ri where F(Ri) ≥ F(Rj)
🔹 C. A process requesting Rj must have released any resources Ri where F(Ri) = F(Rj)
🔹 D. A process requesting Rj must have released all resources regardless of F value

💡 Difficulty: medium | ✅ Correct: B

Q3. In the proof by contradiction that circular wait cannot hold under the total ordering protocol, what condition leads to the impossible conclusion F(R0) < F(R0)?

🔹 A. The assumption that processes request resources in decreasing order
🔹 B. The assumption that a circular wait exists
🔹 C. The assumption that resources are preempted
🔹 D. The assumption that mutual exclusion is enforced

💡 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