Only the process executing the critical section is allowed to access the…

2017

Only the process executing the critical section is allowed to access the shared variable and all other processes should be prevented from doing so until the completion of the critical section. This is known as: ---------------------------------------- ​

  1. A.

    Interprocess communication

  2. B.

    Semaphore

  3. C.

    Mutual exclusion

  4. D.

    Deadlock

Attempted by 760 students.

Show answer & explanation

Correct answer: C

Correct Answer: Mutual exclusion​ Explanation: Mutual exclusion ensures that only one process at a time can enter the critical section and access shared resources, preventing race conditions.​

Explore the full course: Up Lt Grade Assistant Teacher 2025