Question 27

Semaphores are used to solve the problem of ______.

  1. AMutual exclusion
  2. BRace condition
  3. CProcess synchronization
  4. DThe belady problem
Show answerHide answer

Correct answer: (C) Process synchronization

Explanation

Semaphores are a synchronization tool. They control how concurrent processes access shared resources, which solves process synchronization problems, including mutual exclusion.

From DSSSB TGT Computer Science Practice Set 5

This is question 27 of DSSSB TGT Computer Science Practice Set 5. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.