Mathematics · Operating Systems - Semaphores
Consider a non-negative counting semaphore S. P(S) decrements S and V(S) increments S. During execution, 20 P(S) operations and 12 V(S) operations are issued in some order. What is the largest initial value of S for which at least one P(S) operation will remain blocked?
- 17✓
- 26
- 35
- 44
Correct answer
7
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 Mathematics?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Operating Systems - Semaphores?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Mathematics · Operating Systems - Semaphores