Examveda
Examveda

Semaphores

A. synchronize critical resources to prevent deadlock

B. synchronize critical resources to prevent contention

C. are used to do I/O

D. are used for memory management

E. None of the above

Answer: Option A

Solution(By Examveda Team)

Semaphores are integer variables that are used to solve the critical section problem by using two atomic operations wait and signal that are used for process synchronization. The definitions of wait and signal are as follows. The wait operation decrements the value of its argument S, if it is positive.

This Question Belongs to Computer Fundamentals >> Operating System

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