Multiple choice

A _____ is a mechanism for mutual exclusion.

  1. critical section

  2. mutual exclusion

  3. semaphore

  4. none of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A semaphore is a synchronization primitive that provides mutual exclusion by controlling access to shared resources through a counter. Critical sections are code segments that need mutual exclusion, not the mechanism itself. Mutual exclusion is the concept, not the implementation.