Q.No.1
Suppose a Computer lab consists of two laser printers, three tape drives, and four ROM writers. Let us assume that Process 1 is currently using a printer and two ROM writers, Process 2 is using a tape drive, and Process 3 is using two ROM writers, a tape drive, and a printer. Now suppose that Process 1 requires a tape drive, Process 2 requires a printer, and Process 3 requires one more ROM writer.
You are required to develop the corresponding Resource Allocation Graph for this scenario. Moreover, you are required to tell either the system in a Deadlocked state or not?
Q.No.2
Suppose a system with twelve tape drives and three processes named as P1, P2 and P3. The current system state is as shown in the following table.
Process |
Max Need |
Allocated |
Available |
P1 |
11 |
4 |
4 |
P2 |
4 |
2 |
|
P3 |
7 |
2 |
|
The available tape drives are four. You are required to calculate Need and Available matrices and find Safe sequence (if possible) with the help of information given in the above table.
Note: File name other than your Student ID will not get marks. File other than Microsoft Word will not be accepted.
Tags:
try yourself
let it correct black arrows should be towards process3
konsa black arrow ??
cs604 share complete msword format
compare with posted video
Please Koi complete solution upload kar dy second question keisy solve krana hai mujy samj nahi aa rhi
watch posted video
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.
We are user-generated contents & non-commercial site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. All Contents on site are for personal & non-commercial use.We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post