Beginner
Operating Systems
Q9 / 100
What is a semaphore?
Correct! Well done.
Incorrect.
The correct answer is B) A synchronization primitive with atomic wait (P) and signal (V) operations to control access to shared resources
B
Correct Answer
A synchronization primitive with atomic wait (P) and signal (V) operations to control access to shared resources
Explanation
Semaphores have an integer value. Wait (P) decrements and blocks if negative; Signal (V) increments and wakes a blocked process. Binary semaphores are essentially mutexes.
Progress
9/100