A ____ semaphore may take any integer value.
-
binary
-
unary
-
general
-
none of these
C
Correct answer
Explanation
General (or counting) semaphores can take any non-negative integer value, unlike binary semaphores which are restricted to 0 and 1. This allows them to track multiple available resources or control access for multiple processes.