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

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Looking for Something at Site? Search Below

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...


+ 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?)

+ Click Here To Join (Our facebook study Group)


Views: 282

HELP SUPPORT

This is a member-supported website. Your contribution is greatly appreciated!

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

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

.