Home »
MCQs »
Operating System MCQs
What is the critical section?
62. What is the critical section?
- It is the part of the process which is being executed for so long
- It is the part of the thread which is going to be terminated
- It is the part of the program where shared resources are accessed by the process
- It is the part of the program where different processes are shared
Answer: C) It is the part of the program where shared resources are accessed by the process
Explanation:
Critical section is the part of the program where shared resources are accessed by the process. If multiple processes access the critical section concurrently, then the results produced might be inconsistent.