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).
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 email@example.com.
Deadline: Your assignment must be uploaded/submitted on or before
+ 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)
Why can't we use P1 after <P4, P0> .... As need of P1 is 0 3 2 12 and available resources at that point are 3 8 6 13 .... i am confused at this point. Why did u use P2 at this point rather than P1....??
can u please explain this for me...?? thanx
<P4, P0, P1, P2, P3> is this wrong sequence..???
Ghalt hai apka table safe sequence thek hai bus
All processes screen short if i am wrong kindly correct me
mistake in available table.
see it again.
ZAki bhai plz send solution file
Mistake kya hy bro....
Bhai sahib ap ka P3 and P4 wala table thek nai hai sequence thek liya hua hai values nai thek
<p4,p3,p0,p1,p2> This is valid safe sequence?
Thanx bro...... I correct it
My safe sequence is <P4, P0, P1, P2, P3>
Last Row(P4) is:
Allocation: 1, 5, 2, 7
Need: 0, 1, 1, 2
Available: 5, 12, 13, 21
ANY one plz send solution file