Which of the following statements is/are true about Semaphores in operating…

2022

Which of the following statements is/are true about Semaphores in operating systems?
(i) It is an integer variable that can be accessed only through two functions wait() and signal().
(ii) It can be used to deal with the n-process critical section problem.

Answer: C. Both (i) and (ii)

  1. A.

    Only (i)

  2. B.

    Only (ii)

  3. C.

    Both (i) and (ii)

  4. D.

    Neither (i) nor (ii)

Attempted by 993 students.

Show answer & explanation

Correct answer: C

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Up Lt Grade Assistant Teacher 2025

Loading lesson…