Teaching HPSC Lecturer (Technical) Mock Test 2024 Operating Systems Concurrency and Synchronization Operating System Solution
A counting semaphore was initialized to 100. Then 50 P (wait) operations and 30 V (signal) operations were completed on this semaphore. What is the value of resulting semaphore ?
1
70
2
50
3
80
4
60
5
Question Not Attempted