0 votes 0 votes Q. let S be the binary semaphore variable S=1 initially. Assume that no block processes exit in the system. If the following operation performed ,how many blocked processes are in the system at the end? 5P,7V,10P,14V,15P,21V a) 0 b)14 c)20 d)12 kallu singh asked Nov 17, 2018 kallu singh 623 views answer comment Share Follow See all 8 Comments See all 8 8 Comments reply Show 5 previous comments kumar.dilip commented Nov 17, 2018 reply Follow Share @SHUBHAM SHASTRI Explain ??? 0 votes 0 votes Hemanth_13 commented Nov 17, 2018 reply Follow Share p=-1( as it is a down operation) v=+1(as it is a up operation) 5P,7V,10P,14V,15P,21V 5(-1) + 7(+1) + 10(-1) + 14(+1) + 15(-1) + 21(+1) =>-5+7-10+14-15+21 =>12 so the semaphore value is positive, which means the processes need not be in blocked state. 0 votes 0 votes kumar.dilip commented Nov 17, 2018 reply Follow Share I want to study more about it. If you can please provide any link. 0 votes 0 votes Please log in or register to add a comment.