Teaching UGC NET Mock Test Series 2025 (Paper 1 & 2) Operating Systems Concurrency and Synchronization Operating System Solution
At a particular time of computation, the value of a counting semaphore is 7. Then 20 P(wait) operations and 15 V(signal) operations are completed on this semaphore. What is the resulting value of the semaphore?
1
28
2
12
3
2
4
42