📖 From Operating System • 5. Process Synchronization • 50 questions available
Practice MCQs for Semaphores. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.
🔄 Last updated: 2026-07-09
Q1. What is a semaphore in the context of process synchronization?
💡 Difficulty: easy | ✅ Correct: B
Q2. What is a critical requirement for the `wait()` and `signal()` operations on a semaphore?
💡 Difficulty: medium | ✅ Correct: B
Q3. What is the effect of executing `wait(S)` on a semaphore with value 0?
💡 Difficulty: hard | ✅ Correct: C
⬆️ View all questions in the quiz below