MCQOPTIONS
Saved Bookmarks
This section includes 7 Mcqs, each offering curated multiple-choice questions to sharpen your Operating System Questions & Answers Process Synchronization knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
A monitor is a module that encapsulates __________ |
| A. | shared data structures |
| B. | procedures that operate on shared data structure |
| C. | synchronization between concurrent procedure invocation |
| D. | all of the mentioned |
| Answer» E. | |
| 2. |
Process synchronization can be done on __________ |
| A. | hardware level |
| B. | software level |
| C. | both hardware and software level |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 3. |
When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called __________ |
| A. | priority inversion |
| B. | priority removal |
| C. | priority exchange |
| D. | priority modification |
| Answer» B. priority removal | |
| 4. |
Mutual exclusion can be provided by the __________ |
| A. | mutex locks |
| B. | binary semaphores |
| C. | both mutex locks and binary semaphores |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 5. |
A semaphore is a shared integer variable __________ |
| A. | that can not drop below zero |
| B. | that can not be more than zero |
| C. | that can not drop below one |
| D. | that can not be more than one |
| Answer» B. that can not be more than zero | |
| 6. |
If a process is executing in its critical section, then no other processes can be executing in their critical section. What is this condition called? |
| A. | mutual exclusion |
| B. | critical exclusion |
| C. | synchronous exclusion |
| D. | asynchronous exclusion |
| Answer» B. critical exclusion | |
| 7. |
When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place is called ________ |
| A. | dynamic condition |
| B. | race condition |
| C. | essential condition |
| D. | critical condition |
| Answer» C. essential condition | |