Which of the following statements is incorrect?

2022

Which of the following statements is incorrect?

  1. A.

    Counting semaphore can be used to control access to a finite number of instances of a resource.

  2. B.

    Reader–writer problem typically arises when several concurrent processes share the database.

  3. C.

    Banker’s algorithm prevents deadlock.

  4. D.

    A computer system is in a safe state only if there exists a safe sequence.

Attempted by 240 students.

Show answer & explanation

Correct answer: C

Banker’s algorithm does not prevent deadlock; it is a deadlock avoidance algorithm. It checks for a safe state before allocating resources.

Explore the full course: Up Lt Grade Assistant Teacher 2025