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)
- A.
Only (i)
- B.
Only (ii)
- C.
Both (i) and (ii)
- D.
Neither (i) nor (ii)
Attempted by 992 students.
Show answer & explanation
Correct answer: C
A video solution is available for this question — log in and enroll to watch it.
Loading lesson…