Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  A system has 12 identical resources and Y pro... Start Learning for Free
A system has 12 identical resources and Y processes competing for them. Each process can request at most 3 resources. Which one of the following values of Y could lead to a deadlock?
  • a)
    5
  • b)
    6
  • c)
    7
  • d)
    Both 6 and 7
Correct answer is option 'D'. Can you explain this answer?
Most Upvoted Answer
A system has 12 identical resources and Y processes competing for them...
Understanding Deadlock in Resource Allocation
Deadlock occurs in a system when processes are unable to proceed because each is waiting for resources held by another. In this scenario, we analyze the potential for deadlock with 12 identical resources and Y processes, where each process can request a maximum of 3 resources.
Maximum Resources Requested
- Each process can request up to 3 resources.
- Therefore, for Y processes, the maximum resources that could be requested is 3Y.
Condition for Deadlock
- A deadlock can occur when the total number of resources is less than the total number of resources that could potentially be held by the processes.
- For deadlock to happen, the formula is: Total resources < (maximum="" resources="" requested="" by="" all="" processes)="" -="" (number="" of="" />
Calculation for Different Values of Y
1. For Y = 5:
- Maximum resources needed = 3 * 5 = 15
- Total resources (12) < 15="" (not="" a="" deadlock="" />
2. For Y = 6:
- Maximum resources needed = 3 * 6 = 18
- Total resources (12) < 18="" (deadlock="" />
3. For Y = 7:
- Maximum resources needed = 3 * 7 = 21
- Total resources (12) < 21="" (deadlock="" />
Conclusion
- Only when Y is 6 or 7 can the system potentially enter a deadlock, as the total resources available (12) are insufficient to satisfy the maximum requests from the processes.
- Thus, the correct answer is option 'D', as both 6 and 7 can lead to a deadlock situation.
Free Test
Community Answer
A system has 12 identical resources and Y processes competing for them...
Data:
Available identical Resources = R = 12
Max needs per process = 3
Concepts:
Deadlock can occur If any process gets available resource < needed (requested) resource
Max resource per process to be in deadlock = needed – 1 = 3 – 1 = 2
For Y process, max resource to be in deadlock = Y × 2 = 2Y
Condition for deadlock
2Y ≥ R
2Y ≥ 12
Y  ≥ 6
values of Y could lead to a deadlock is 6 and 7
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

A system has 12 identical resources and Y processes competing for them. Each process can request at most 3 resources. Which one of the following values of Y could lead to a deadlock?a)5b)6c)7d)Both 6 and 7Correct answer is option 'D'. Can you explain this answer?
Question Description
A system has 12 identical resources and Y processes competing for them. Each process can request at most 3 resources. Which one of the following values of Y could lead to a deadlock?a)5b)6c)7d)Both 6 and 7Correct answer is option 'D'. Can you explain this answer? for Computer Science Engineering (CSE) 2025 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about A system has 12 identical resources and Y processes competing for them. Each process can request at most 3 resources. Which one of the following values of Y could lead to a deadlock?a)5b)6c)7d)Both 6 and 7Correct answer is option 'D'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2025 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for A system has 12 identical resources and Y processes competing for them. Each process can request at most 3 resources. Which one of the following values of Y could lead to a deadlock?a)5b)6c)7d)Both 6 and 7Correct answer is option 'D'. Can you explain this answer?.
Solutions for A system has 12 identical resources and Y processes competing for them. Each process can request at most 3 resources. Which one of the following values of Y could lead to a deadlock?a)5b)6c)7d)Both 6 and 7Correct answer is option 'D'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of A system has 12 identical resources and Y processes competing for them. Each process can request at most 3 resources. Which one of the following values of Y could lead to a deadlock?a)5b)6c)7d)Both 6 and 7Correct answer is option 'D'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of A system has 12 identical resources and Y processes competing for them. Each process can request at most 3 resources. Which one of the following values of Y could lead to a deadlock?a)5b)6c)7d)Both 6 and 7Correct answer is option 'D'. Can you explain this answer?, a detailed solution for A system has 12 identical resources and Y processes competing for them. Each process can request at most 3 resources. Which one of the following values of Y could lead to a deadlock?a)5b)6c)7d)Both 6 and 7Correct answer is option 'D'. Can you explain this answer? has been provided alongside types of A system has 12 identical resources and Y processes competing for them. Each process can request at most 3 resources. Which one of the following values of Y could lead to a deadlock?a)5b)6c)7d)Both 6 and 7Correct answer is option 'D'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice A system has 12 identical resources and Y processes competing for them. Each process can request at most 3 resources. Which one of the following values of Y could lead to a deadlock?a)5b)6c)7d)Both 6 and 7Correct answer is option 'D'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev