26 votes 26 votes At a particular time of computation, the value of a counting semaphore is $7$. Then $20$ $P$ operations and $15$ $V$ operations were completed on this semaphore. The resulting value of the semaphore is : $42$ $2$ $7$ $12$ Operating System gate1992 operating-system semaphore easy isro2015 process-synchronization + – Kathleen asked Sep 12, 2014 retagged Jan 29 by Hira Thakur Kathleen 23.6k views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply pankajbelwal commented Apr 11, 2018 reply Follow Share Why Semaphore Wait and Signal Operation Denoted by P and V respectively, specially in ISRO Paper. 0 votes 0 votes Karthik Selvam commented Nov 7, 2018 reply Follow Share @pankajbelwal P and V were the terminology used by Dijkstra when he proposed this algorithm. 2 votes 2 votes s_dr_13 commented Jan 26, 2020 reply Follow Share check it out https://en.wikipedia.org/wiki/Semaphore_(programming)#Operation_names 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Current Value of Counting Semaphore : 7 20 P operation, value = 7-20 = -13 15 V operation, values = -13+15 = 2 Answer : (b)2 imkeshav answered Sep 19, 2021 imkeshav comment Share Follow See all 0 reply Please log in or register to add a comment.