www.vustudents.ning.com

CS604 - Assignment No. 2 - Fall 2018

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: 5957

Attachments:

Replies to This Discussion

mjy  2nd question ki kuch samj nhi a rahi  hai kindly koe help kr do

bhot simple hai ooper maine video post ki hai helping material ki woh dekho.

kiya Extended day mila ga assignment ka ?

ok thanks

iss video main A B C ki values kahan sy li gai hain please explain kr dai thanks

solution plsss....??

1

2

3

4

5

Latest Activity

Tanveer Ahmed replied to ++❤MQ++❤❤❤'s discussion Mujhe Waqt nei
1 hour ago
umair khalid liked иαвєєℓ αнмє∂'s discussion CS619 Project Students
1 hour ago
2 hours ago
Tanveer Ahmed joined + M.Tariq Malik's group

MTH601 Operations Research

2 hours ago
Tanveer Ahmed joined + M.Tariq Malik's group

CS411 Visual Programming

2 hours ago
Tanveer Ahmed joined + M.Tariq Malik's group

CS506 Web Design and Development

2 hours ago
Tanveer Ahmed joined + M.Tariq Malik's group

CS508 Modern Programming Languages

2 hours ago
Tanveer Ahmed and چنگیزی joined + M.Tariq Malik's group

2 hours ago