Question 46

Computer Awareness Process and Thread Managements Easy

Consider a typical process P in the critical section. Arrange the following statements of code to make a valid general structure $$ \text{ (A). Critical section } $$ $$ \text{ (B). Remainder section } $$ $$ \text{ (C). Entry section } $$ $$\text{ (D). Exit section } $$

(A) (C) (B), (A) (D)
(B) (C) (A) (B) (D)
(C) (C) (A) (D) (B)
(D) (C) (B) (D) (A)
✓ Correct Answer: Option C Verified Solution

📘 Step-by-Step Solution & Detailed Explanation:

The general structure of a process involving synchronization is executed in the following order:

1. Entry Section (C): The process requests permission to enter the critical section.
2. Critical Section (A): Once permission is granted, the process executes the code where shared resources are accessed.
3. Exit Section (D): After finishing the critical task, the process releases the lock or signals exit so others can enter.
4. Remainder Section (B): The process continues with the rest of its non-critical code.

Therefore, the correct sequence is (C) \( \rightarrow \) (A) \( \rightarrow \) (D) \( \rightarrow \) (B).

Practice Similar Process and Thread Managements Questions

Reinforce your conceptual grasp with related questions from CUET-MCA 2025:

Q57 'The Dining Philosopher' problem can be solved by: (a) Use of semaphores...
Solve →
Q1 Match List-I with List-II |c|l| List-I & List-II \\ (A)\ Seek Time & (I)\...
Solve →
Q4 In case of Binary search tree which of the following procedure's running...
Solve →
Q7 External fragmentation occurs
Solve →
Q9 In the search time is independent of the number of elements n.
Solve →
Full-Length Test Series

Prepare for CUET-MCA Under Real Exam Conditions

Take timed full-length mock tests with authentic question distributions, negative marking (+12/-3 in Math), and instant All India Rank calculation.

Start Free Mock Test Series →