Teaching DSSSB TGT Mock Test 2025 Operating Systems Concurrency and Synchronization Operating System Solution
A counting semaphore was initialized to 8. Then 12 P (wait) operations and 7 V (signal) operations were completed on this semaphore. The resulting value of semaphore is -
1
4
2
3
3
1
4
5