Which structural concept refers to a piece of code that must execute atomically and cannot be accessed by more than one process at any given moment? MCQ with Answer and Explanation
Which structural concept refers to a piece of code that must execute atomically and cannot be accessed by more than one process at any given moment?
A. Deadlock Loop
B. Critical Section
C. System Hook
D. Shared Page Room
Answer: Option B
Solution (By JKSSB Mock Tests)
The Critical Section is a structural segment of program code that accesses shared resources or variables and must not be concurrently executed by multiple processes.
No comments yet. Be the first to start the discussion!