All India Computer Science Engineering (CSE) Group

Consider a system having 20 resources of same type. These resources are shared by 4 process which have peak demands of 4, 5, x, y respectively. What is the maximum value of x + y to ensure that there will be no deadlock in the system?
  • a)
    16
  • b)
    20
  • c)
    14
  • d)
    12
Correct answer is option 'C'. Can you explain this answer?

Maulik Iyer answered  •  3 hours ago
Understanding the Deadlock Situation
To determine the maximum value of x + y that will ensure no deadlock occurs in a system with 20 resources shared among four processes, we need to analyze the peak demands of each process and apply the resource allocation principles.
Peak Demands of Processes
- Process 1: 4 resources
- Process 2: 5 resources
- Process 3: x
... more
Fetching relevant content for you