📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!

  • google app store apple app store
  • ✖

      Question

      The Banker's Algorithm is primarily used

      for:
      A Preventing deadlocks by denying one of the four necessary conditions. Correct Answer Incorrect Answer
      B Detecting deadlocks after they have occurred. Correct Answer Incorrect Answer
      C Recovering from deadlocks by terminating processes. Correct Answer Incorrect Answer
      D Avoiding deadlocks by carefully allocating resources. Correct Answer Incorrect Answer
      E Resolving race conditions in critical sections. Correct Answer Incorrect Answer

      Solution

      The Banker's Algorithm is a deadlock avoidance algorithm. It checks if granting a resource request would leave the system in a safe state before allocating the resource.

      Practice Next
      ask-question