Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedimage text in transcribed

#... 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

3rd Edition

0471418455, 978-0471418450

More Books

Students also viewed these Databases questions

Question

Discuss the tools used by public relations professionals.

Answered: 1 week ago