MCQOPTIONS
Saved Bookmarks
This section includes 5 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. |
Bounded waiting implies that there exists a bound on the number of times a process is allowed to enter its critical section ____________ |
| A. | after a process has made a request to enter its critical section and before the request is granted |
| B. | when another process is in its critical section |
| C. | before a process has made a request to enter its critical section |
| D. | none of the mentioned |
| Answer» B. when another process is in its critical section | |
| 2. |
Mutual exclusion implies that ____________ |
| A. | if a process is executing in its critical section, then no other process must be executing in their critical sections |
| B. | if a process is executing in its critical section, then other processes must be executing in their critical sections |
| C. | if a process is executing in its critical section, then all the resources of the system must be blocked until it finishes execution |
| D. | none of the mentioned |
| Answer» B. if a process is executing in its critical section, then other processes must be executing in their critical sections | |
| 3. |
The segment of code in which the process may change common variables, update tables, write into files is known as ____________ |
| A. | program |
| B. | critical section |
| C. | non critical section |
| D. | synchronizing |
| Answer» C. non critical section | |
| 4. |
A situation where several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which access takes place is called ____________ |
| A. | data consistency |
| B. | race condition |
| C. | aging |
| D. | starvation |
| Answer» C. aging | |
| 5. |
Concurrent access to shared data may result in ____________ |
| A. | data consistency |
| B. | data insecurity |
| C. | data inconsistency |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |