Which algorithm is used for deadlock detection?

  • ALRU
  • BBanker's Algorithm
  • CFIFO
  • DNone of these
Show answerHide answer

Correct answer B

Banker's Algorithm is used to detect and avoid deadlocks by simulating resource allocation. It ensures the system remains in a safe state before granting resources.