Which of the following methods is used to prevent deadlock in an operating…

2025

Which of the following methods is used to prevent deadlock in an operating system ?

Answer: B. Locking mechanismsThe correct answer is 2) Locking mechanisms (specifically, disciplined locking protocols designed to break one of Coffman's four deadlock conditions, such as…

  1. A.

    Resource allocation graph

  2. B.

    Locking mechanisms

  3. C.

    Deadlock detection algorithms

  4. D.

    All of the above

Attempted by 344 students.

Show answer & explanation

Correct answer: B

The correct answer is 2) Locking mechanisms (specifically, disciplined locking protocols designed to break one of Coffman's four deadlock conditions, such as acquiring locks in a strict global hierarchy to prevent circular wait).

Explore the full course: Niacl Ao It Specialist

Loading lesson…