Question 57

Computer Awareness Process and Thread Managements Easy

'The Dining Philosopher' problem can be solved by: $$ \text{(a) Use of semaphores } $$ $$ \text{ (b) Use of overlays } $$ $$ \text{ (c) Mutual exclusion } $$ $$ \text{(d) Bounded waiting} $$

(A) a
(B) b
(C) c
(D) d
✓ Correct Answer: Option A Verified Solution

📘 Step-by-Step Solution & Detailed Explanation:

Solution:

The Dining Philosopher problem is a classic synchronization problem that illustrates issues like deadlock and resource contention. It involves philosophers sitting at a table, each needing two forks (shared resources) to eat.

To prevent deadlock and ensure proper synchronization, we can use:

  • Semaphores: Counting or binary semaphores control access to the shared forks.

Other options like overlays, mutual exclusion, and bounded waiting are concepts related to process management, but the direct mechanism to solve this problem is the use of semaphores.

Answer: (a) Use of semaphores

Practice Similar Process and Thread Managements Questions

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

Q46 Consider a typical process P in the critical section. Arrange the...
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 →