When the result of a computation depends on the order of the processes…

1998

When the result of a computation depends on the order of the processes execution, there is said to be

  1. A.

    cycle stealing

  2. B.

    race condition

  3. C.

    a time lock

  4. D.

    a deadlock

Attempted by 147 students.

Show answer & explanation

Correct answer: B

A race condition occurs when the outcome of a computation depends on the relative timing or interleaving of multiple processes accessing shared resources. This happens because the final result changes based on which process executes its critical section first, leading to unpredictable behavior.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Gate Guidance By Sanchit Sir