Question: #... Operating System 4. In a Resource Allocation Graph, there are three processes A, B, and C and three types of resources R1, R2 and

 #... Operating System 4. In a Resource Allocation Graph, there arethree processes A, B, and C and three types of resources R1,

#... Operating System

4. In a Resource Allocation Graph, there are three processes A, B, and C and three types of resources R1, R2 and R3. Resource R1 has 4 instances, R2 has 3 instances and R3 has 2 instances respectively. Process A holding a resource R1, R2 and requesting for resource R3. Process B holding resources R2 and R3 and requesting for resource R1. Process C holding a resource R2, R3 and requesting for resource R1. (A) Draw the Resource Allocation Graph in the space provided below. (5.5 Marks) (B) Based on the above graph what is the condition of the processes and resources? (1) Tick the correct condition. (0.5 Marks) DEADLOCK NOT DEADLOCK Part D-Writing Program (6 marks) 1. Write a shell script using while loop with if statement to do the following: a) Accept five students name and their marks from the user. b) Display the word HCT, if the marks are even

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!