1.

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
Answer» D. 5


Discussion

No Comment Found

Related MCQs