← Back to 7. Deadlocks

📝 Banker's Algorithm in Deadlock Avoidance

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

Practice MCQs for Banker's Algorithm in Deadlock Avoidance. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-11

9
Easy Questions
26
Medium Questions
14
Hard Questions

📝 Sample Questions

Q1. Why is the Banker's Algorithm named as such?

🔹 A. It was developed by a banker.
🔹 B. It mimics a bank ensuring it never allocates cash such that it cannot satisfy all customers.
🔹 C. It uses financial interest rates to prioritize processes.
🔹 D. It requires processes to deposit resources before borrowing.

💡 Difficulty: easy | ✅ Correct: B

Q2. If `Request_i > Available`, what happens to process Pi?

🔹 A. The request is granted immediately.
🔹 B. An error is raised.
🔹 C. Pi must wait until resources become available.
🔹 D. The system enters an unsafe state.

💡 Difficulty: medium | ✅ Correct: C

Q3. What does the system do in Step 3 of the Resource-Request Algorithm?

🔹 A. Permanently allocates the resources.
🔹 B. Restores the previous state.
🔹 C. Pretends to allocate the resources and updates data structures temporarily.
🔹 D. Terminates the process.

💡 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