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

 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

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

Views: 281

.

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

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

## Latest Activity

muhammad salman khan posted a discussion

### Mother

6 minutes ago
muhammad salman khan posted a status
6 minutes ago
Mushk replied to Mushk's discussion * * YAhi Behtar Hai * *
10 minutes ago
Bilal added 2 discussions to the group STA301 Statistics and Probability
11 minutes ago
12 minutes ago
Bilal joined +M.Tariq Malik's group

14 minutes ago
25 minutes ago
25 minutes ago
44 minutes ago
48 minutes ago
53 minutes ago
57 minutes ago

1

2

3