Question

A counting semaphore managing a pool of 5 identical printers is initialized to 5. After 3 processes successfully acquire a printer (wait/

  • P and 1 process releases its printer (signal/
  • V , what is the current semaphore value, and how many printers are currently in use?
A Semaphore value = 2; 3 printers currently in use
B Semaphore value = 5; 0 printers in use
C Semaphore value = 3; 2 printers currently in use
D Semaphore value = 1; 4 printers in use
E Semaphore value = 3; 3 printers in use
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)