+ Link For Assignments, GDBs & Online Quizzes Solution |
+ Link For Past Papers, Solved MCQs, Short Notes & More |
Uploading instructions:
Rules for Marking:
It should be clear that your assignment will not get any credit if:
(Strict disciplinary action will be taken in this case).
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Assignment |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Question 1: (5 Marks)
Consider the following snapshot of a system:
Answer the following questions using the banker’s algorithm:
(a) What is the content of the matrix Need? 5
(b) Is the system in a safe state? If yes identify the safe sequence. Show the step by step execution by updating the data structure if necessary. 10
NOTE:Do not put any query on MDB about this assignment, if you have any query then emailatcs604@vu.edu.pk. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deadline: Your assignment must be uploaded/submitted on or before |
Tags:
+ 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)various safe sequences are possible.
& accordingly Available table will also be different.
===============================
solution which Im presenting is one of many solutions.
=============================== The end
i also have same safe sequence
Zaki hahahah yar Available kese thek bna liya hai Need kyun nai thek bnaya... ?
2nd quiz ans please
(a) What is the content of the matrix Need?
need = max-allocation
3 | 4 | 2 | 2 | max Po |
1 | 1 | 1 | 2 | allocation Po |
2 | 3 | 1 | 0 | Subtraction |
in the same way you can get complete need matrix
Need |
|||
A |
B |
C |
D |
2 |
3 |
1 |
0 |
0 |
3 |
2 |
12 |
1 |
3 |
0 |
2 |
1 |
0 |
3 |
7 |
0 |
1 |
1 |
2 |
please give 2nd quiz ans bro
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.
We are user-generated contents site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post