MCQOPTIONS
Saved Bookmarks
This section includes 4 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. |
The code that changes the value of the semaphore is ____________ |
| A. | remainder section code |
| B. | non critical section code |
| C. | critical section code |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 2. |
If the semaphore value is negative ____________ |
| A. | its magnitude is the number of processes waiting on that semaphore |
| B. | it is invalid |
| C. | no operation can be further performed on it until the signal operation is performed on it |
| D. | none of the mentioned |
| Answer» B. it is invalid | |
| 3. |
TestAndSet instruction is executed ____________ |
| A. | after a particular process |
| B. | periodically |
| C. | atomically |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 4. |
An un-interruptible unit is known as ____________ |
| A. | single |
| B. | atomic |
| C. | static |
| D. | none of the mentioned |
| Answer» C. static | |