Computer Fundamentals - Engineering

Q1:

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

D Gray code

E None of the above

ANS:C - Critical region

A critical section is a piece of code that accesses a shared resource (data structure or device) that must not be concurrently accessed by more than one thread of execution.