3 3 votes In a system with $5$ processes and $12$ identical resources, each process requires a maximum of $3$ resources to complete its execution.What is the minimum number of resources required to ensure the system is NEVER in a deadlock? Operating System goclasses operating-system goclasses-cs-dpp goclasses-cs-dpp-day-202 goclasses-os-practice-questions numerical-answers + – GO Classes 229 views answer comment Share Follow Print See 1 comment 1 1 comment reply Prashant-G commented Jul 14 reply Follow flag There is no requirement to give the value of R=12 there is no use 0 0 replyShare Please log in or register to add a comment.
0 0 votes To find the minimum resources $R$ to avoid deadlock, we use the formula:$$R \geq \sum_{i=1}^n\left(\text { Max_Need }_i-1\right)+1$$Number of processes $(n)=5$ $Max$_$Need$ for each $= 3$ $R \geq(3-1) \times 5+1$ $R \geq 2 \times 5+1=11$ GO Classes answered Feb 21 GO Classes comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes Explanation Prashant-G answered Jul 14 Prashant-G comment Share Follow 0 reply Please log in or register to add a comment.