Vidyalelo
Computer Fundamentals · Q847

Computer fundamental

Computer Related · Computer Fundamentals · question 847

Q847

A section of code that may only be executed by one process at any one time is

A.
CPM
B.
Critical resource
C.
Critical region
Answer
D.
Gray code
E.
None of the above

Answer: Option C

Solution

Answer: Option C
Solution:
A Critical Section is a code segment that accesses shared variables and has to be executed as an atomic action. It means that in a group of cooperating processes, at a given point of time, only one process must be executing its critical section.