A critical region
2017
A critical region
- A.
is a piece of code which only one process executes at a time
- B.
is a region prone to deadlock
- C.
is a piece of code which only a finite number of processes execute
- D.
is found only in windows NT operating system
Attempted by 347 students.
Show answer & explanation
Correct answer: A
A critical section is a code segment where shared resources are accessed. To prevent race conditions and ensure data consistency, mutual exclusion is required, meaning only one process can execute this code at any given time.
A video solution is available for this question — log in and enroll to watch it.