engineering computer science MCQ #1828

What is the Banker's algorithm used for?

engineering computer science MCQ #1828

  1. Question 1

    Q1. What is the Banker's algorithm used for?

    • A) Deadlock avoidance
    • B) Deadlock detection
    • C) Resource allocation
    • D) Process scheduling

    Answer: Deadlock avoidance

    Explanation: The Banker's algorithm is used for deadlock avoidance by ensuring that resource allocation does not lead to a deadlock state.