profile-img
Eduncle posted an MCQ
February 22, 2020 • 18:16 pm 0 points
  • UGC NET
  • Computer Science & Applications

A counting semaphore is initialized to 8. 3 wait ( ) operations and 4 signal ( ) operations are applied. Find the current value of semaphore variable 

Choose Your Answer:
0 Attempts Submit Now
  • 0 Likes
  • 1 Comments
  • 0 Shares
  • comment-profile-img>
    Eduncle Best Answer

    Initial size is 8.
    And 3 wait() operations
    4 signal() operations
    = 8 – 3 + 4
    = 5 + 4
    = 9

whatsapp-btn

Do You Want Better RANK in Your Exam?

Start Your Preparations with Eduncle’s FREE Study Material

  • Updated Syllabus, Paper Pattern & Full Exam Details
  • Sample Theory of Most Important Topic
  • Model Test Paper with Detailed Solutions
  • Last 5 Years Question Papers & Answers