recategorized by
2,441 views
0 votes
0 votes

​​​​​​​Suppose a system has $12$ instances of some resource with $n$ processes competing for that resource. Each process may require $4$ instances of the resources. The maximum value of $n$ for which the system never enters into deadlock is

  1. $3$
  2. $4$
  3. $5$
  4. $6$
recategorized by

1 Answer

0 votes
0 votes
Let every process acquired 3 resources now we need 1 more resource to complete one of them so that system will not face deadlock

3n+1<=12

3n<=11

n<=3.66

n=3

option (A)

Related questions

0 votes
0 votes
6 answers
1
Arjun asked Jan 2, 2019
3,040 views
Consider a disk pack with $32$ surfaces, $64$ tracks and $512$ sectors per pack. $256$ bytes of data are stored in a bit serial manner in a sector. The number of bits req...
1 votes
1 votes
2 answers
4