A semaphore S is initialized to 1. Process P1 exec...
Guiding State PSC aspirants since 2016 50,000+ students · 1,000+ final selections Exam Calendar Results Call 9116926003
pscnotes
Pick your state
TPSC Prelims previous year questions

A semaphore S is initialized to 1. Process P1 executes wait(S) and then signal(S). Process P2 also executes wait(S) then signal(S). This semaphore implements:

Asked in TPSC Junior System Engineer 2026

  1. A counting semaphore for resource management
  2. A binary semaphore (mutex) for mutual exclusion
  3. A barrier synchronization
  4. A monitor

Answer under review: our editors are checking this question. Try the other TPSC Prelims previous year questions questions meanwhile.

More TPSC Prelims previous year questions questions

All 772 TPSC Prelims previous year questions questions →