Suppose P, Q and R are co-operating processes satisfying Mutual Exclusion condition. Then if the process Q is executing in its critical section then

This question was previously asked in
UGC NET Computer Science (Paper 2) Dec 2018 Paper
View all UGC NET Papers >
  1. ‘P’ executes in critical section
  2. ‘R’ executes in critical section
  3. Neither ‘P’ nor ‘R’ executes in their critical section
  4. Both ‘P’ and ‘R’ executes in critical section

Answer (Detailed Solution Below)

Option 3 : Neither ‘P’ nor ‘R’ executes in their critical section
Free
UGC NET Paper 1: Held on 21st August 2024 Shift 1
10.9 K Users
50 Questions 100 Marks 60 Mins

Detailed Solution

Download Solution PDF

Concepts:

A mutual exclusion (mutex) is a program object that prevents simultaneous access to a shared resource.

A critical section is a code segment that accesses shared variables and has to be executed as an atomic action. The critical section problem refers to the problem of how to ensure that at most one process is executing its critical section at a given time.

PROCESS:

ENTRY SECTION

Process Q

CRITICAL SECTION

EXIT SECTION

REMAINDER SECTION

 

Since process ‘Q’ is in the critical section then other processes P and R cannot be in the critical section. Therefore neither ‘P’ nor ‘R’ executes in their critical section.
Latest UGC NET Updates

Last updated on Jun 12, 2025

-> The UGC NET June 2025 exam will be conducted from 25th to 29th June 2025.

-> The UGC-NET exam takes place for 85 subjects, to determine the eligibility for 'Junior Research Fellowship’ and ‘Assistant Professor’ posts, as well as for PhD. admissions.

-> The exam is conducted bi-annually - in June and December cycles.

-> The exam comprises two papers - Paper I and Paper II. Paper I consists of 50 questions and Paper II consists of 100 questions. 

-> The candidates who are preparing for the exam can check the UGC NET Previous Year Papers and UGC NET Test Series to boost their preparations.

More Critical Section Questions

More Concurrency and Synchronization Questions

Get Free Access Now
Hot Links: all teen patti master real cash teen patti teen patti master apk teen patti royal teen patti master 2024