in Operating System recategorized by
1,558 views
1 vote
1 vote

At a particular time of computation, the value of a counting semaphore is 10. Then 12 P operations and "x" V operations were performed on this semaphore. If the final value of semaphore is 7, x will be

  1. 8
  2. 9
  3. 10
  4. 11
in Operating System recategorized by
1.6k views

1 Answer

0 votes
0 votes
Current value of CS=10

CS-12+X=7

X=7+12-10=9

Option (2) is correct.

1 comment

from whr we get this formula??
0
0

Related questions