← Back to 7. Deadlocks

📝 Deadlocks Introduction

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

Practice MCQs for Deadlocks Introduction. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-11

11
Easy Questions
20
Medium Questions
14
Hard Questions

📝 Sample Questions

Q1. What is the fundamental condition that characterizes a deadlock in a multiprogramming environment?

🔹 A. A process is terminated due to a resource timeout.
🔹 B. A process is waiting indefinitely for resources held by other waiting processes.
🔹 C. A process is continuously preempted by higher-priority processes.
🔹 D. A process has completed its execution but cannot release resources.

💡 Difficulty: easy | ✅ Correct: B

Q2. Which of the following scenarios best exemplifies a deadlock as defined in operating system theory?

🔹 A. A high-priority process repeatedly preempts a low-priority process.
🔹 B. A process waits for a printer while another waits for a scanner, and neither will release its held resource.
🔹 C. A process is terminated by the OS for exceeding its CPU time limit.
🔹 D. A process is paused so the system can perform a context switch.

💡 Difficulty: medium | ✅ Correct: B

Q3. Consider a system with three processes and three resource types. The system enters a deadlock. What is the most direct consequence for the involved processes?

🔹 A. They will be automatically restarted by the operating system.
🔹 B. They will eventually time out and release their resources.
🔹 C. They will be unable to complete their execution and may wait indefinitely.
🔹 D. They will continue executing with degraded performance.

💡 Difficulty: hard | ✅ Correct: C

⬆️ 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