We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.

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.

Views: 5949

Attachments:

Replies to This Discussion

Assalam O Alaikum assignment cs604 solution plz

Lets discuss any thoughts ?

CS605 Question No. 1 - Helping Material - Very well explained

i think in Q1 deadlock will not going to happend 

Agreed.

Lectures Suno.. Solution ki smjh lg jae gi.. :) SImple 

Q 2 system is in safe mode 

Mada banda kuch nai samajh lagrahi

Mujhe age bht zero aeeee han plz nahi ata mujhe

Agreed

i have just solved the assignment alhumdillilah. will upload soon

i also completed we can compare.

RSS

Looking For Something? Search Below

Latest Activity

+!!★彡 "Mannat"彡★✓ liked Ammara Sabir's video
5 hours ago
silent eyes posted a status
"Education is not a name of any degree or certificate but education is a name of our attitude language , behavior with others in real life."
5 hours ago
+!!★彡 "Mannat"彡★✓ liked + !! Ήලᵯᵯℹ Ⲥⱨ !! +!!'s discussion !!!!!!! TRUE FRNDS NEVER CHANGE
5 hours ago
+!!★彡 "Mannat"彡★✓ liked +⚔️ FURQAN ⚔️'s discussion just for sanam
5 hours ago
+!!★彡 "Mannat"彡★✓ liked + рэяғэст ѕмөкэя ZɘɭƖSʜ's discussion GALI KYA H?? URDU ADAB SE SHAGHAF RAKHNY WALY ZROOR PARHAIN++++
5 hours ago
+ рэяғэст ѕмөкэя ZɘɭƖSʜ liked + !! Ήලᵯᵯℹ Ⲥⱨ !! +!!'s discussion !!!!!!! TRUE FRNDS NEVER CHANGE
5 hours ago
mahumm ch updated their profile
6 hours ago
Profile IconWaqas Asif, Muhammad Tahir, Zubair Akbar and 9 more joined Virtual University of Pakistan
6 hours ago

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service