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.