System Software and Operating System - Deadlocks

6. The methods for dealing with the deadlock problem is

  • Option : D
  • Explanation : 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
Cancel reply

7. A system has 3 processes sharing 4 resources. If each process needs a maximum of 2 units, then

  • Option : A
  • Explanation : 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
Cancel reply
  • Deadlock Questions can be used to give quizzes by any candidate who is preparing for UGC NET Computer Science
  • This Deadlock Questions section will help you test your analytical skills in a tricky method, thereby giving you an edge over other students
  • Any student who wants to prepare for DOEACC A Level, DOEACC B Level, and DOEACC C level can also use these Objective Type Questions Answer.
  • All candidates who have to appear for the Kendriya Vidyalaya Entrance exam can also refer to this mcq section.
  • You can also get access to the Deadlock MCQ ebook.
  • Deadlock Questions can be used in the preparation of JRF, CSIR, and various other exams.
  • You can also download pdf for these Deadlock multiple-choice questions Answers.
  • This Deadlock Multiple Choice Questions Answers section can also be used for the preparation of various competitive exams like UGC NET, GATE, PSU, IES, and many more.
  • Deadlock Questions can be used to gain a credit score in various undergraduate and postgraduate courses like BSc, MSc and MCA
  • Deadlock Questions for UGC NET Computer Science

    Deadlock MCQ

    Deadlock Multiple choice questions