Question 13057 – Operating-Systems
March 25, 2024
Question 4384 – Environment
March 25, 2024
Question 13057 – Operating-Systems
March 25, 2024
Question 4384 – Environment
March 25, 2024

Question 13046 – Operating-Systems

If p is the number of active processes, and r is the number of resource types; the time complexity of the Banker’s algorithm used for deadlock avoidance is denoted as

Correct Answer: C

Question 929 Explanation: 
The time complexity of banker’s algorithm is r* (p*p) where p is the number of active processes and r is the number of resources. … Banker’s algorithm is a resource allocation and deadlock avoidance algorithm. Banker’s algorithm is generally used to find if a safe sequence exist or not.
A
O(p2)
B
O(r2)
C
O(p2r)
D
O(pr2)

Leave a Reply

Your email address will not be published. Required fields are marked *