Home Modern Forums ISRO

A counting semaphore was initialized to 7. Then 20 P (wait) operations and x V (signal) operations were completed on this semaphore. If the final value of semaphore is 5, then the value x will be
(A) 0
(B) 13
(C) 18
(D) 5

Reply To:

A counting semaphore was initialized to 7. Then 20 P (wait) operations and x V (signal) operations were completed on this semaphore. If the final value of semaphore is 5, then the value x will be
(A) 0
(B) 13
(C) 18
(D) 5

Up
0
Down
::

nan