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

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

Latest Activity

+M.Tariq Malik replied to yasmeen anwer's discussion MCS 1st Quiz
2 hours ago
+M.Tariq Malik liked yasmeen anwer's discussion MCS 1st Quiz
2 hours ago
Profile IconSehrish Mumtaz, Nazir shah, Shahid Iqbal and 8 more joined Virtual University of Pakistan
2 hours ago
+M.Tariq Malik replied to Imtiaz Waqar's discussion COST AND MANAGEMENT ACCOUNTING (MGT402) ASSIGNMENT NO. 01 in the group MGT402 Cost & Management Accounting
2 hours ago
+M.Tariq Malik replied to Muhammad Kashif's discussion FIN611 GDB No 1 Fall 2020 Solution / Discussion in the group FIN611 Advanced Financial Accounting
2 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion FIN611 GDB No 1 Fall 2020 Solution / Discussion in the group FIN611 Advanced Financial Accounting
3 hours ago
yasmeen anwer posted a discussion
3 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion ENG201 Online Quiz No 01 Fall 2020 Solution Discussion Last Date: 27-11-2020 in the group ENG201 Business and Technical English Writing
3 hours ago
HAFIZA AREESHA ASLAM replied to +M.Tariq Malik's discussion SOC101 SOC101 Short Notes Glossary - SOC101 Short Questions Answers - SOC101 Subjective Solved Questions in the group SOC101 Introduction to Sociology
3 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion PHY301 Assignment 01 Fall 2020 Solution / Discussion in the group PHY301 Circuit Theory
3 hours ago
+M.Tariq Malik liked Muhammad Kashif's discussion FIN611 GDB No 1 Fall 2020 Solution / Discussion
3 hours ago
乇メ-丂イひり3刀イ. replied to 乇メ-丂イひり3刀イ.'s discussion *** My Drawing ***
4 hours ago

Looking For Something? Search Here

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

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

.