What is a race condition in operating systems ?

2026

What is a race condition in operating systems ?

  1. A.

    Competition between processes for CPU time

  2. B.

    Multiple processes accessing shared data concurrently

  3. C.

    Processes waiting for I/O completion

  4. D.

    Priority inversion in scheduling

Attempted by 92 students.

Show answer & explanation

Correct answer: B

A race condition occurs when multiple processes or threads access shared data concurrently without proper synchronization mechanisms. This leads to unpredictable outcomes because the final result depends on the timing of process execution.

Explore the full course: Niacl Ao It Specialist