MCQOPTIONS
 Saved Bookmarks
				This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your Operating System Questions & Answers Deadlock knowledge and support exam preparation. Choose a topic below to get started.
| 1. | 
                                    A problem encountered in multitasking when a process is perpetually denied necessary resources is called ____________ | 
                            
| A. | deadlock | 
| B. | starvation | 
| C. | inversion | 
| D. | aging | 
| Answer» C. inversion | |
| 2. | 
                                    What is the drawback of banker s algorithm? | 
                            
| A. | in advance processes rarely know how much resource they will need | 
| B. | the number of processes changes as time progresses | 
| C. | resource once available can disappear | 
| D. | all of the mentioned | 
| Answer» E. | |
| 3. | 
                                    The circular wait condition can be prevented by ____________ | 
                            
| A. | defining a linear ordering of resource types | 
| B. | using thread | 
| C. | using pipes | 
| D. | all of the mentioned | 
| Answer» B. using thread | |
| 4. | 
                                    A system is in the safe state if ____________ | 
                            
| A. | the system can allocate resources to each process in some order and still avoid a deadlock | 
| B. | there exist a safe sequence | 
| C. | all of the mentioned | 
| D. | none of the mentioned | 
| Answer» B. there exist a safe sequence | |