Question: Q.No.4: Draw a Resource Allocation Graph (RAG) for a given scenario and find that whether it contains a deadlock or not. Find all cycles in

 Q.No.4: Draw a Resource Allocation Graph (RAG) for a given scenario

Q.No.4: Draw a Resource Allocation Graph (RAG) for a given scenario and find that whether it contains a deadlock or not. Find all cycles in the RAG. Resources: Printer (R1), Hard Disk (R2), CPU (R3) and RAM (R4) Processes: MS Excel (P1), MS Word (P2), Media Player (P3) and Calculator (P4) Resources: Printer = 1, Hard Disks = 2, CPU = 1, RAM = 1 MS Excel Holds Printer and wait for CPU and RAM. MS Word holds Hard Disk and RAM and waits for Printer and CPU. Media Player waits for Hard Disk. Calculator holds CPU. Write cycles in RAG if any

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!