Q1: Consider the system with processes <P0, P1, P2, P3, P4> and three resource types A-13, B-13, and C-9. The following information has been given:
Allocation Matrix
Max
Available resources are A-1, B-4, C-0.
i. Find the need Matrix
ii. Is the system in a safe state? (If yes, find the safe sequence using the Banker's Algorithm)