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. |
If the resources are always preempted from the same process __________ can occur. |
| A. | deadlock |
| B. | system crash |
| C. | aging |
| D. | starvation |
| Answer» E. | |
| 2. |
If we preempt a resource from a process, the process cannot continue with its normal execution and it must be ____________ |
| A. | aborted |
| B. | rolled back |
| C. | terminated |
| D. | queued |
| Answer» C. terminated | |
| 3. |
Cost factors for process termination include ____________ |
| A. | Number of resources the deadlock process is not holding |
| B. | CPU utilization at the time of deadlock |
| C. | Amount of time a deadlocked process has thus far consumed during its execution |
| D. | All of the mentioned |
| Answer» D. All of the mentioned | |
| 4. |
The two ways of aborting processes and eliminating deadlocks are ____________ |
| A. | Abort all deadlocked processes |
| B. | Abort all processes |
| C. | Abort one process at a time until the deadlock cycle is eliminated |
| D. | All of the mentioned |
| Answer» D. All of the mentioned | |
| 5. |
A deadlock can be broken by ____________ |
| A. | abort one or more processes to break the circular wait |
| B. | abort all the process in the system |
| C. | preempt all resources from all processes |
| D. | none of the mentioned |
| Answer» B. abort all the process in the system | |