Part of a program where the shared memory is accessed and which should be…
2007
Part of a program where the shared memory is accessed and which should be executed indivisibly, is called
- A.
Semaphores
- B.
Directory
- C.
Critical Section
- D.
Mutual exclusion
Attempted by 209 students.
Show answer & explanation
Correct answer: C
The correct answer is Option 2, Critical Section. A critical section is a segment of code where shared resources are accessed and must be executed indivisibly to prevent race conditions. Semaphores are synchronization tools used to manage access, while mutual exclusion is the property being enforced.
A video solution is available for this question — log in and enroll to watch it.