MCQOPTIONS
Saved Bookmarks
This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Operating System knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Semaphores are mostly used to implement ____________ |
| A. | System calls |
| B. | IPC mechanisms |
| C. | System protection |
| D. | None of the mentioned |
| Answer» C. System protection | |
| 2. |
A binary semaphore is a semaphore with integer values ____________ |
| A. | 1 |
| B. | -1 |
| C. | 0.8 |
| D. | 0.5 |
| Answer» B. -1 | |
| 3. |
At a particular time of computation the value of a counting semaphore is 7.Then 20 P operations and 15 V operations were completed on this semaphore. The resulting value of the semaphore is? (GATE 1987) |
| A. | 42 |
| B. | 2 |
| C. | 7 |
| D. | 12 |
| Answer» C. 7 | |