• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

GATE | Quiz for Sudo GATE 2021 | Question 10

Consider the following system there are total 12 instances of resources A, 10 instances of resources B and 11 instances of resources C:
Process   Allocation        Maximum           
          A  B  C           A  B  C         
P0        0  2  3           3  3  6         
P1        2  4  2           2  5  3
P2        3  1  2           3  5  3
P3        5  2  2           6  5  4
If Banker\'s algorithm is applied for deadlock avoidance this system is in safe state. Which of the following option will be permitted with additional request? Note - This question is multiple select questions (MSQ).

(A)

Request: P3 - 1 instance of A, 2 instances of B, 3 instances of C

(B)

Request: P2 - 1 instance of A, 2 instances of B, 3 instances if C

(C)

Request: P1 - 1 instance of A, instances of B, 3 instances of C

(D)

Request: P0 - 1 instance of A, 2 instances of B, 3 instances of C

Answer

Please comment below if you find anything wrong in the above post
Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!

Last Updated :
Share your thoughts in the comments