Skip to content
Related Articles

Related Articles

GATE | GATE CS 1996 | Question 19
  • Last Updated : 28 Mar, 2020

A critical section is a program segment
(A) which should run in a certain specified amount of time
(B) which avoids deadlocks
(C) where shared resources are accessed
(D) which must be enclosed by a pair of semaphore operations, P and V


Answer: (C)

Explanation: Critical section is the part of program where shared resources are accessed by process.It also contain shared variable or shared data and rest portion of the program is called non-critical section or remaining section.

Option (C) is correct.

Quiz of this Question

sudo-gate-course

My Personal Notes arrow_drop_up
Recommended Articles
Page :