Home » OS Problem on counting semaphore

OS Problem on counting semaphore

by Online Tutorials Library

Problem on Counting Semaphore

The questions are being asked on counting semaphore in GATE. Generally the questions are very simple that contains only subtraction and addition.

The following type questions can be asked in GATE.

A Counting Semaphore was initialized to 12. then 10P (wait) and 4V (Signal) operations were computed on this semaphore. What is the result?

Hence, the final value of counting semaphore is 6.

You may also like