Question 55

Computer Awareness Introduction to Operating Systems Hard

An operating system cotains 4 user processor each requiring 5 units of resource R. The minimum number of required units of \( R \) such that no deadlock will every occur is

(A) 20
(B) 4
(C) 17
(D) 15
✓ Correct Answer: Option C Verified Solution

📘 Step-by-Step Solution & Detailed Explanation:

Deadlock is possible if every process holds one less than it needs and no unit is free.

Worst case: each of the 4 processes holds \(5 - 1 = 4\) units, using \(4 \times 4 = 16\) units, and all are waiting.

With one more unit (17 in total), at least one process can get its 5th unit, finish, and release its resources. Then the others can finish too.

Minimum units = \(4(5-1) + 1 = 17\).

Answer: (C) 17

Practice Similar Introduction to Operating Systems Questions

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

Q6 Consider a system with 1 K pages and 512 frames and each page is of size 2...
Solve →
Q9 How does the number of page frames affect and number of page faults for a...
Solve →
Q47 We can say that a schedule is conflict serializable?
Solve →
Q56 The current allocation and Maximum requirement of different types of...
Solve →
Q65 How many child processes will be created by following fork() system...
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 →