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

There are resources in system, n processes & k is the requirement of each process. Which of the following condition must be satisfied so that deadlock free operation is guaranteed with minimum number of resources?

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

The correct option is A nkn+1r
In worst case deadlock happens if every process is short of 1 resource & we have no extra resource left to fulfill anyone's requirement i.e. n(k1)=r may cause the deadlock.
To guarantee deadlock free operation we should have 1 extra
resource.
The condition should be: n(k1)+1r i.e. nkn+1r.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
System Model
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon