We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

www.vustudents.ning.com

Looking For Something at vustudents.ning.com? Click Here to Search

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

# Cs604 Assignment 03

Question No 1                                                                                                15 Marks

Consider the below given snapshot of the system. P1 to P5 represent the 5 processes currently running on the system. M, N, O and P represent the resources whereas M, N, O and P have 13, 11, 9 and 16 instances respectively.

 Processes Allocation Max M N O P M N O P P1 0 0 1 2 4 3 2 2 P2 3 1 2 1 5 2 4 2 P3 2 1 0 3 4 4 2 6 P4 1 3 1 2 3 3 3 4 P5 1 4 3 2 4 5 5 5

Considering the given snapshot, answer the following questions using the banker’s algorithm:

• What will be the content of the matrix Available? 5 Marks
• What will be the content of the matrix Need? 5 Marks
• Is the system in a safe state Yes/No? If yes, then identify the safe sequence. 5 Marks

Question No 2                                                                                                 5 Marks

Consider the following resource allocation graph. Is there any deadlock in this graph or not? If yes, then mention the dead lock sequence.

Last Day 23 July...

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 274

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

## Latest Activity

shamroz khan joined +M.Tariq Malik's group

### STA631 Inferential Statistics

8 minutes ago
shamroz khan joined +M.Tariq Malik's group

### MGMT622 Management Skills

8 minutes ago
16 minutes ago
shamroz khan joined +M.Tariq Malik's group

### CS723 Probability and Stochastic Processes

19 minutes ago
26 minutes ago
shamroz khan and SARIM KHANI joined +M.Tariq Malik's group

### MTH603 Numerical Analysis

26 minutes ago
shamroz khan joined +M.Tariq Malik's group

### STA621 Time Series Analysis

30 minutes ago
30 minutes ago
Anu malik updated their profile
40 minutes ago
Alisha Amin liked Maham Raza.'s discussion Kuch Log..
44 minutes ago
Alisha Amin liked Maham Raza.'s discussion Allah Chun Leta Hai
44 minutes ago
꧁༒☬☠Ƚ︎ÙçҜყ☠︎☬༒꧂ posted a discussion

49 minutes ago

1

2

3