Operating Systems - Old Questions

Question Answer Details

3. What is a Resource Allocation Graph (RAG)? What are the necessary conditions for deadlock? Explain. Determine if the system is safe from deadlock or not using Banker's Algorithm for the given condition.

Need Matrix
ProcessABC
P11164
P2341
P3823
P4324
P5523

Allocation Matrix
ProcessABC
P1311
P2310
P3411
P4101
P5201

MAX Resource Matrix
ABC
17810

[Note: Consider process sequence as: P1, P2, P3, P4, P5] [1+4+5]
10 marks
Asked in 2079

Answer

AI Generated Answer

AI is thinking...