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

1998

When the result of a computation depends on the speed of the processes involved, there is said to be

Answer: B. race conditionA race condition occurs when the outcome of a computation depends on the relative timing or execution speed of multiple processes or threads. If different…

  1. A.

    cycle stealing

  2. B.

    race condition

  3. C.

    a time lock

  4. D.

    a deadlock

Attempted by 22 students.

Show answer & explanation

Correct answer: B

A race condition occurs when the outcome of a computation depends on the relative timing or execution speed of multiple processes or threads. If different execution orders produce different results, the system is said to have a race condition.

In this question, the result depends on the speed of the processes involved, which is precisely the definition of a race condition.

Therefore, the correct answer is: race condition

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…