This topic contains 0 replies, has 0 voices, and was last updated by  EduGorilla 2 years, 6 months ago.

  • Author
    Posts
  • #1427967 Reply
     EduGorilla 
    Keymaster
    Select Question Language :


    Consider the following code for two processes .

    Assume A and B are binary semaphore variable initialized with values 1 and 0 respectively. X and y are shared variable initialized with 5 and 0 respectively. There is no deadlock occurs while executing then what are the values of x and y respectively after the execution of given code?

    Options :-

    1. 2 and 6
    2. 8 and 6
    3. 2 and 3
    4. None of these
    Post your Training /Course Enquiry
    Are You looking institutes / coaching center for
    • IIT-JEE, NEET, CAT
    • Bank PO, SSC, Railways
    • Study Abroad
    Select your Training / Study category
Reply To: Consider the following code for two processes . Assume A and B are binary semaphore variable initi….
Your information:




Verify Yourself




Log in with your credentials

or    

Forgot your details?

Create Account