Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Consider a system having m resources of the s... Start Learning for Free
Consider a system having m resources of the same type. These resources are shared by 3 processes A, B, C which have peak time demands of 3, 4, 6 respectively. The minimum value of m that ensures deadlock will never occur is
  • a)
    11
  • b)
    12
  • c)
    13
  • d)
    14
Correct answer is option 'A'. Can you explain this answer?
Most Upvoted Answer
Consider a system having m resources of the same type. These resources...
Let the resources needed by P1 = R1 = 3, the number of resources needed by P2 = R2 = 4 and so on. Minimum resources required to ensure that deadlock will never occur = (R1-1) + (R2-1) + (R3-1) + 1 = (3-1) + (4-1) + (6-1) + 1 = 11 Option (A) is correct.
Free Test
Community Answer
Consider a system having m resources of the same type. These resources...
Given information:
- There are m resources of the same type.
- These resources are shared by 3 processes A, B, C.
- The peak time demands of the processes are 3, 4, and 6 resources respectively.

Understanding Deadlock:
Deadlock is a situation where two or more processes are unable to proceed because each is waiting for the other to release a resource. In other words, each process is holding a resource that another process needs, creating a circular dependency.

Calculating the minimum value of m:
To ensure deadlock never occurs, we need to prevent the possibility of circular dependency among the processes.

Identifying the maximum demand:
- Process A has a peak time demand of 3 resources.
- Process B has a peak time demand of 4 resources.
- Process C has a peak time demand of 6 resources.

Calculating the total maximum demand:
To prevent deadlock, we need to ensure that the system can satisfy the maximum demand of any process at any given time.

The total maximum demand is the sum of the peak time demands of all the processes. In this case, it is 3 + 4 + 6 = 13 resources.

Calculating the minimum value of m:
The minimum value of m should be greater than or equal to the total maximum demand to ensure deadlock never occurs.

In this case, the minimum value of m is 13 + 1 = 14 resources.

Conclusion:
Therefore, the minimum value of m that ensures deadlock will never occur is 14 resources. So, the correct answer is option A (14).
Explore Courses for Computer Science Engineering (CSE) exam

Similar Computer Science Engineering (CSE) Doubts

Top Courses for Computer Science Engineering (CSE)

Consider a system having m resources of the same type. These resources are shared by 3 processes A, B, C which have peak time demands of 3, 4, 6 respectively. The minimum value of m that ensures deadlock will never occur isa)11b)12c)13d)14Correct answer is option 'A'. Can you explain this answer?
Question Description
Consider a system having m resources of the same type. These resources are shared by 3 processes A, B, C which have peak time demands of 3, 4, 6 respectively. The minimum value of m that ensures deadlock will never occur isa)11b)12c)13d)14Correct answer is option 'A'. 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 Consider a system having m resources of the same type. These resources are shared by 3 processes A, B, C which have peak time demands of 3, 4, 6 respectively. The minimum value of m that ensures deadlock will never occur isa)11b)12c)13d)14Correct answer is option 'A'. 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 Consider a system having m resources of the same type. These resources are shared by 3 processes A, B, C which have peak time demands of 3, 4, 6 respectively. The minimum value of m that ensures deadlock will never occur isa)11b)12c)13d)14Correct answer is option 'A'. Can you explain this answer?.
Solutions for Consider a system having m resources of the same type. These resources are shared by 3 processes A, B, C which have peak time demands of 3, 4, 6 respectively. The minimum value of m that ensures deadlock will never occur isa)11b)12c)13d)14Correct answer is option 'A'. 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 Consider a system having m resources of the same type. These resources are shared by 3 processes A, B, C which have peak time demands of 3, 4, 6 respectively. The minimum value of m that ensures deadlock will never occur isa)11b)12c)13d)14Correct answer is option 'A'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Consider a system having m resources of the same type. These resources are shared by 3 processes A, B, C which have peak time demands of 3, 4, 6 respectively. The minimum value of m that ensures deadlock will never occur isa)11b)12c)13d)14Correct answer is option 'A'. Can you explain this answer?, a detailed solution for Consider a system having m resources of the same type. These resources are shared by 3 processes A, B, C which have peak time demands of 3, 4, 6 respectively. The minimum value of m that ensures deadlock will never occur isa)11b)12c)13d)14Correct answer is option 'A'. Can you explain this answer? has been provided alongside types of Consider a system having m resources of the same type. These resources are shared by 3 processes A, B, C which have peak time demands of 3, 4, 6 respectively. The minimum value of m that ensures deadlock will never occur isa)11b)12c)13d)14Correct answer is option 'A'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Consider a system having m resources of the same type. These resources are shared by 3 processes A, B, C which have peak time demands of 3, 4, 6 respectively. The minimum value of m that ensures deadlock will never occur isa)11b)12c)13d)14Correct answer is option 'A'. 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