System Software and Operating System MCQ - Deadlocks

Correct AnswerOption D
Rate difficulty Rate difficulty:
Choose a difficulty.
Deadlock Detection.
Always grant resource request when possible. Periodically check for deadlocks. If a deadlock exists, recover from it.
Deadlock Prevention
Disallow one of the four necessary conditions for deadlock.
Deadlock Avoidance.
Do not grant a resource request if this allocation have the potential to lead to a deadlock.
Ignore the problem
Makes sense if the likelihood is very low.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption A
Rate difficulty Rate difficulty:
Choose a difficulty.
Atleast one process will be holding 2 resources in case of a simultaneous demand from all the processes. That process will release the 2 resources, thereby avoiding any possible deadlock.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Why Practice with Avatto?
High Quality MCQsExam-focused questions with accurate answers
Detailed ExplanationsStep-by-step explanations to enhance learning
Latest Exam PatternBased on updated syllabus and pattern
Performance AnalyticsTrack performance and improve weak areas
100% Free PracticePractice unlimited questions for free