adplus-dvertising

Welcome to the Deadlocks MCQs Page

Dive deep into the fascinating world of Deadlocks with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Deadlocks, a crucial aspect of Operating System. In this section, you will encounter a diverse range of MCQs that cover various aspects of Deadlocks, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within Operating System.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Deadlocks. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of Operating System.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Deadlocks. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Deadlocks MCQs | Page 11 of 14

Discuss
Answer: (a).abort one or more processes to break the circular wait
Discuss
Answer: (c).Abort one process at a time until the deadlock cycle is eliminated
Q103.
Those processes should be aborted on occurrence of a deadlock, the termination of which :
Discuss
Answer: (b).incurs minimum cost
Q104.
The process to be aborted is chosen on the basis of the following factors :
Discuss
Answer: (d).all of the mentioned
Discuss
Answer: (c).Amount of time a deadlocked process has thus far consumed during its execution
Q106.
If we preempt a resource from a process, the process cannot continue with its normal execution and it must be :
Discuss
Answer: (b).rolled back
Q107.
To _______ to a safe state, the system needs to keep more information about the states of processes.
Discuss
Answer: (b).roll back the process
Q108.
If the resources are always preempted from the same process, __________ can occur.
Discuss
Answer: (d).starvation
Discuss
Answer: (a).the number of rollbacks must be included in the cost factor
Q110.
A system has 12 magnetic tape drives and 3 processes : P0, P1, and P2. Process P0 requires 10 tape drives, P1 requires 4 and P2 requires 9 tape drives.

Process
P0
P1
P2

Maximum needs (process-wise : P0 through P2 top to bottom)
10
4
9

Currently allocated (process-wise)
5
2
2


Which of the following sequence is a safe sequence ?
Discuss
Answer: (d).P1, P0, P2

Suggested Topics

Are you eager to expand your knowledge beyond Operating System? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!