ISRO Computer Science (CSE) 2008 - Question 61

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2008

A critical section is a program segment

  • A. which should run in a certain 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 U.

Answer: C. where shared resources are accessed.

Explanation: A critical section is code that accesses shared resources and must not be executed concurrently by multiple processes.

| | All questions of ISRO Computer Science (CSE) 2008