Computer Science · Operating Systems
Which of the following statements are correct regarding the distinctions and functions of Binary and Counting Semaphores? I. Binary semaphores are restricted to values of 0 and 1 and are utilized as Mutex Locks to implement mutual exclusion. II. Counting semaphores allow their values to range over an unrestricted domain, making them suitable for managing resources with multiple instances. III. In a binary semaphore, a value of 1 indicates that the resource is currently in use (locked), while a value of 0 indicates it is available. IV. A counting semaphore initialized to a value of 5 ensures that no more than five processes can access the specific resource simultaneously. Choose the most appropriate answer from the options given below:
- 1I, II and III Only
- 2II, III and IV Only
- 3III and IV Only
- 4I, II and IV Only✓
Correct answer
I, II and IV Only
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Operating Systems?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Operating Systems