wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

An operating system contains 3 user processes each requiring 2 units of resource R. The minimum number of units of r such that no deadlocks will ever arise is

A
6
No worries! Weā€˜ve got your back. Try BYJUā€˜S free classes today!
B
4
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
5
No worries! Weā€˜ve got your back. Try BYJUā€˜S free classes today!
D
3
No worries! Weā€˜ve got your back. Try BYJUā€˜S free classes today!
Open in App
Solution

The correct option is B 4
There are 3 processes, and demands '2' resources. If any one gets equal resources as it's demand, deadlock won't occur, and according to this question 4 resources are enough.

flag
Suggest Corrections
thumbs-up
0
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Deadlock Characterization
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon