CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
4
You visited us 4 times! Enjoying our articles? Unlock Full Access!
Question

Consider a system having m of resources of the same type. These resources are shared by 3 processes A, B and C, which have peak demands of 3, 4 and 6 respectively. For what value of n deadlock will not occur?

A
7
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
9
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
10
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
13
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is A 13

Consider a system having m of resources of the same type. These resources are shared by 3 processes A, B and C, which have peak demands of 3, 4 and 6 respectively. For 13 value of n deadlock will not occur.

Consider the peak demand situation of resources (A, B, C)= (3,4,6).

Total of max needs < (no. of resource instances + no. of processes)

(3+4+6)< m+3.

m>10. Hence m should be eleven or above. Only 13 qualify the criteria.

Deadlockrefers to a specific condition when two or more processes are each waiting for another to release a resource, or more than two processes are waiting for resources in a circular chain.



flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Population Growth
BIOLOGY
Watch in App
Join BYJU'S Learning Program
CrossIcon