Question 18Asked in UGC NET Computer Science, December 2014 (Paper II & III, Selected Questions)

Which of the following conditions does not hold good for a solution to a critical section problem?

  1. ANo assumptions may be made about speeds or the number of CPUs.
  2. BNo two processes may be simultaneously inside their critical sections.
  3. CProcesses running outside its critical section may block other processes
  4. DProcesses do not wait forever to enter its critical section.
Show answerHide answer

Correct answer: (C) Processes running outside its critical section may block other processes

Explanation

A correct solution must not let a process running outside its critical section block other processes. So condition (c) does not hold good for a solution to the critical section problem.

From UGC NET Computer Science PYQ, December 2014 (Paper II & III, Selected Questions)

This is question 18 of UGC NET Computer Science PYQ, December 2014 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.