Consider a counting semaphore which was initialized to (y + 7) for a system. Seven wait and (y+ 3) signal operations were completed on this semaphore. If the final value of the semaphore is (y + 2) then what is the value of y?

1
-2
2
-1
3
0
4
1

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation