1 1 vote Let S be a binary semaphore variable and value of S=0 what will be the value of S when following operations are executed on semaphore S 2P,4V,5P,2P,8V,3P,2V I’m getting the answer as 0, but it is given 1 Please explain in details Operating System + – nepobose 3.4k views answer comment Share Follow Print See all 12 Comments 12 12 Comments reply Show 9 previous comments Shivam Kasat commented Jan 15, 2019 reply Follow flag @MiNiPanda @PiratedVirus What is the answer to this question? ME solution says it is 0! 0 0 replyShare MiNiPanda commented Jan 15, 2019 reply Follow flag I’m getting the answer as 0, but it is given 1 @Shivam Kasat Nepobose mentioned this in the answer :O Has ME changed the key? 1 is correct according to me..check the link I attached in the comment before.. 0 0 replyShare Shivam Kasat commented Jan 15, 2019 reply Follow flag I am also getting 1 but @shreyansh jain comment confused me, and answer given is 0 I check it again. 0 0 replyShare Please log in or register to add a comment.