Operating System

1:

At a particular time, the value of a counting semaphore is 10. It will become 7 after

A.

3 V operations

B.

3 P operations

C.

5 V operations and 2 P operations

D.

None of these

 

Answer : B

Explanation :

P means wait ie S:= S-1;

V means signal i.e S= S+1;

Amit Ahlawat said: (6:24pm on Wednesday 10th July 2013)
v means wait and 1 in listp means processed and -1 in the list

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.