Question 27Asked in Bihar STET Paper 2 Computer Science (Class 11-12), 12 Sep 2023, Shift 2 + 1 more paper

The Banker's algorithm is an example of a deadlock:

  1. AAvoidance algorithm
  2. BDetection algorithm
  3. CPrevention algorithm
  4. DTermination algorithm
Show answerHide answer

Correct answer: (A) Avoidance algorithm

Explanation

The Banker's algorithm checks before each allocation whether the system stays in a safe state, so it avoids deadlock rather than detecting or preventing it.

From Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 2

This is question 27 of Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.

Asked in 2 papers