Examveda
Examveda

What are the two types of Semaphore?

A. Digital Semaphores and Binary Semaphores

B. Analog Semaphores and Octal Semaphores

C. Counting Semaphores and Binary Semaphores

D. Critical Semaphores and System Semaphores

Answer: Option C

Solution(By Examveda Team)

Semaphore is a simply a variable. This variable is used to solve critical section problem and to achieve process synchronization in the multi processing environment.
The two most common kinds of semaphores are counting semaphores and binary semaphores. Counting semaphore can take non-negative integer values and Binary semaphore can take the value 0 & 1 only.

Join The Discussion

Related Questions on Operating System

Identify false statement

A. You can find deleted files in recycle bin

B. You can restore any files in recycle bin if you ever need

C. You can increase free space of disk by sending files in recycle bin

D. You can right click and choose Empty Recycle Bin to clean it at once