Home »
MCQs »
Operating System MCQs
In which semaphore, the wait operation works only if semaphore = 1, and the signal operation succeeds when semaphore= 0?
78. In which semaphore, the wait operation works only if semaphore = 1, and the signal operation succeeds when semaphore= 0?
- Counting semaphores
- Binary semaphores
Answer: B) Binary semaphores
Explanation:
In binary semaphore, the wait operation works only if semaphore = 1, and the signal operation succeeds when semaphore= 0.