An operating system uses the Banker’s algorithm for deadlock avoidance when managing the
allocation of three resource types X, Y, and Z to three processes P0, P1, and P2. The table given
below presents the current system state. Here, the Allocation matrix shows the current number of
resources of each type allocated to each process and the Max matrix shows the maximum number
of resources of each type required by each process during its execution.
 
There are 3 units of type X, 2 units of type Y and 2 units of type Z still available. The system is
currently in a safe state. Consider the following independent requests for additional resources in the
current state:
REQ1: P0 requests 0 units of X, 0 units of Y and 2 units of Z
REQ2: P1 requests 2 units of X, 0 units of Y and 0 units of Z
Which one of the following is TRUE?
  • a)
    Only REQ1 can be permitted.
  • b)
    Only REQ2 can be permitted.
  • c)
    Both REQ1 and REQ2 can be permitted.
  • d)
    Neither REQ1 nor REQ2 can be permitted.
Correct answer is option 'B'. Can you explain this answer?

Related Test

Can you answer this doubt?

People are searching for an answer to this question.
This discussion on An operating system uses the Banker’s algorithm for deadlock avoidance when managing theallocation of three resource types X, Y, and Z to three processes P0, P1, and P2. The table givenbelow presents the current system state. Here, the Allocation matrix shows the current number ofresources of each type allocated to each process and the Max matrix shows the maximum numberof resources of each type required by each process during its execution.There are 3 units of type X, 2 units of type Y and 2 units of type Z still available. The system iscurrently in a safe state. Consider the following independent requests for additional resources in thecurrent state:REQ1: P0 requests 0 units of X, 0 units of Y and 2 units of ZREQ2: P1 requests 2 units of X, 0 units of Y and 0 units of ZWhich one of the following is TRUE?a)Only REQ1 can be permitted.b)Only REQ2 can be permitted.c)Both REQ1 and REQ2 can be permitted.d)Neither REQ1 nor REQ2 can be permitted.Correct answer is option 'B'. Can you explain this answer? is done on EduRev Study Group by Computer Science Engineering (CSE) Students. The Questions and Answers of An operating system uses the Banker’s algorithm for deadlock avoidance when managing theallocation of three resource types X, Y, and Z to three processes P0, P1, and P2. The table givenbelow presents the current system state. Here, the Allocation matrix shows the current number ofresources of each type allocated to each process and the Max matrix shows the maximum numberof resources of each type required by each process during its execution.There are 3 units of type X, 2 units of type Y and 2 units of type Z still available. The system iscurrently in a safe state. Consider the following independent requests for additional resources in thecurrent state:REQ1: P0 requests 0 units of X, 0 units of Y and 2 units of ZREQ2: P1 requests 2 units of X, 0 units of Y and 0 units of ZWhich one of the following is TRUE?a)Only REQ1 can be permitted.b)Only REQ2 can be permitted.c)Both REQ1 and REQ2 can be permitted.d)Neither REQ1 nor REQ2 can be permitted.Correct answer is option 'B'. Can you explain this answer? are solved by group of students and teacher of Computer Science Engineering (CSE), which is also the largest student community of Computer Science Engineering (CSE). If the answer is not available please wait for a while and a community member will probably answer this soon. You can study other questions, MCQs, videos and tests for Computer Science Engineering (CSE) on EduRev and even discuss your questions like An operating system uses the Banker’s algorithm for deadlock avoidance when managing theallocation of three resource types X, Y, and Z to three processes P0, P1, and P2. The table givenbelow presents the current system state. Here, the Allocation matrix shows the current number ofresources of each type allocated to each process and the Max matrix shows the maximum numberof resources of each type required by each process during its execution.There are 3 units of type X, 2 units of type Y and 2 units of type Z still available. The system iscurrently in a safe state. Consider the following independent requests for additional resources in thecurrent state:REQ1: P0 requests 0 units of X, 0 units of Y and 2 units of ZREQ2: P1 requests 2 units of X, 0 units of Y and 0 units of ZWhich one of the following is TRUE?a)Only REQ1 can be permitted.b)Only REQ2 can be permitted.c)Both REQ1 and REQ2 can be permitted.d)Neither REQ1 nor REQ2 can be permitted.Correct answer is option 'B'. Can you explain this answer? over here on EduRev! Apart from being the largest Computer Science Engineering (CSE) community, EduRev has the largest solved Question bank for Computer Science Engineering (CSE).
This discussion on An operating system uses the Banker’s algorithm for deadlock avoidance when managing theallocation of three resource types X, Y, and Z to three processes P0, P1, and P2. The table givenbelow presents the current system state. Here, the Allocation matrix shows the current number ofresources of each type allocated to each process and the Max matrix shows the maximum numberof resources of each type required by each process during its execution.There are 3 units of type X, 2 units of type Y and 2 units of type Z still available. The system iscurrently in a safe state. Consider the following independent requests for additional resources in thecurrent state:REQ1: P0 requests 0 units of X, 0 units of Y and 2 units of ZREQ2: P1 requests 2 units of X, 0 units of Y and 0 units of ZWhich one of the following is TRUE?a)Only REQ1 can be permitted.b)Only REQ2 can be permitted.c)Both REQ1 and REQ2 can be permitted.d)Neither REQ1 nor REQ2 can be permitted.Correct answer is option 'B'. Can you explain this answer? is done on EduRev Study Group by Computer Science Engineering (CSE) Students. The Questions and Answers of An operating system uses the Banker’s algorithm for deadlock avoidance when managing theallocation of three resource types X, Y, and Z to three processes P0, P1, and P2. The table givenbelow presents the current system state. Here, the Allocation matrix shows the current number ofresources of each type allocated to each process and the Max matrix shows the maximum numberof resources of each type required by each process during its execution.There are 3 units of type X, 2 units of type Y and 2 units of type Z still available. The system iscurrently in a safe state. Consider the following independent requests for additional resources in thecurrent state:REQ1: P0 requests 0 units of X, 0 units of Y and 2 units of ZREQ2: P1 requests 2 units of X, 0 units of Y and 0 units of ZWhich one of the following is TRUE?a)Only REQ1 can be permitted.b)Only REQ2 can be permitted.c)Both REQ1 and REQ2 can be permitted.d)Neither REQ1 nor REQ2 can be permitted.Correct answer is option 'B'. Can you explain this answer? are solved by group of students and teacher of Computer Science Engineering (CSE), which is also the largest student community of Computer Science Engineering (CSE). If the answer is not available please wait for a while and a community member will probably answer this soon. You can study other questions, MCQs, videos and tests for Computer Science Engineering (CSE) on EduRev and even discuss your questions like An operating system uses the Banker’s algorithm for deadlock avoidance when managing theallocation of three resource types X, Y, and Z to three processes P0, P1, and P2. The table givenbelow presents the current system state. Here, the Allocation matrix shows the current number ofresources of each type allocated to each process and the Max matrix shows the maximum numberof resources of each type required by each process during its execution.There are 3 units of type X, 2 units of type Y and 2 units of type Z still available. The system iscurrently in a safe state. Consider the following independent requests for additional resources in thecurrent state:REQ1: P0 requests 0 units of X, 0 units of Y and 2 units of ZREQ2: P1 requests 2 units of X, 0 units of Y and 0 units of ZWhich one of the following is TRUE?a)Only REQ1 can be permitted.b)Only REQ2 can be permitted.c)Both REQ1 and REQ2 can be permitted.d)Neither REQ1 nor REQ2 can be permitted.Correct answer is option 'B'. Can you explain this answer? over here on EduRev! Apart from being the largest Computer Science Engineering (CSE) community, EduRev has the largest solved Question bank for Computer Science Engineering (CSE).