Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



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





Solution

Given:
Number of processes = 4
Maximum resources required by each process = 5

Formula used to avoid deadlock:
$R_{min} = n(m - 1) + 1$

Substitute values:
$R_{min} = 4(5 - 1) + 1$
$R_{min} = 4 \times 4 + 1$
$R_{min} = 16 + 1 = 17$

Final Answer:
Minimum number of units of resource R required = $17$


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...
Shivam Gupta-pic
Shivam Gupta , Aspire
Commented Jan 25 , 2025

Your reply to this comment :


loading...