📖 From Operating System • 5. Process Synchronization • 52 questions available
Practice MCQs for Deadlocks and Starvation in Semaphore. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.
🔄 Last updated: 2026-07-09
Q1. What is a deadlock in the context of semaphores?
💡 Difficulty: easy | ✅ Correct: B
Q2. In the classic deadlock example, what are the two semaphores initialized to?
💡 Difficulty: medium | ✅ Correct: B
Q3. In the deadlock example with processes P0 and P1, what sequence of operations leads to deadlock?
💡 Difficulty: hard | ✅ Correct: B
⬆️ View all questions in the quiz below