Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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. [Marks=10]
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started