Part of a program where the shared memory is accessed and which should be executed invisibly is called A. semaphores B. directory C. critical section D. mutual exclusion E. None of the above

semaphores
directory
critical section
mutual exclusion E. None of the above

The correct answer is: C. critical section

A critical section is a part of a computer program where the shared memory is accessed

and which should be executed invisibly. It is a section of code that must be executed atomically, without interruption, to ensure consistency of data.

Semaphores are a synchronization primitive that can be used to implement critical sections. They are used to control access to shared resources, such as memory or files.

A directory is a database that stores information about files and folders on a computer.

Mutual exclusion is a technique used to ensure that only one process can access a shared resource at a time.

None of the above is a correct answer.