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.


+ Link For Assignments, GDBs & Online Quizzes Solution


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

Assignment No. 2                                    Dated:Jan 12, 18

Dear Students,

Assignment No.2 of Operating System(CS604) has been uploaded on VULMS. Deadline of the assignment is Thursday, January 18, 2018.

No assignment will be accepted after due date or via email. 

For any query related to the assignment, kindly contact at cs604@vu.edu.pk



Instructor CS604

+ 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: 5943

Replies to This Discussion

Brother how we solve the condition of Analyze that request P1 (1, 2, 1) can be granted or not?

Kia hum Available/Work ma 1,2,1 put karayn gayn?

For System to be in safe state for request 1,2,1

My Safe sequence is < P1, P3, P4, P5, P2

Please tell how your is Safe sequence is: P3 P4 P5 P1 P2?

P1 's need can be fulfilled in first step as Availabe is 3,3,2 an p1's need is 

Needi = Needi – Request = (1, 3, 2) – (1, 2, 1) = (0, 1, 1)

Read Lecture No 28 from handouts. You will find the solution to assignment

Solution: Banker’s Algorithm P0 need0 = (7, 4, 3) If need0 ≤ Available if [(7, 4, 3) ≤ (3, 3, 2)] (false)

 P0 need1 = (1, 2, 2) if needi ≤ Available if [(1, 2, 2) ≤ (3, 3, 2)]

 P2 need2 = (6, 0, 0) if need2 ≤ Available if [(6, 0, 0) ≤(5, 3, 2)] (false) P4 need4 = (4, 3, 1) If need4 ≤ Available If [(4, 3, 1) ≤ (6, 4, 3)] P0 need0 = (7, 4, 3) if need0 ≤ Available if [(7, 4, 3) ≤ (7, 4, 5)] P2 need2 = (6, 0, 0) if need2 ≤ Available if [(6, 0, 0) ≤ (7, 5, 5)] P2 will execute. Safety Sequence =

guys please share the valid solution which is sadka jaria 

AOA please koi question file upload kr de. mera account blck hai. 


upload kr di ha bhai

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.



For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.


.•°How to Download past papers from study groups°•.


Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 


P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”


Here is complete solution video

If you want step by step solution, then watch this video.

This video will help you solve assignment on your own very easily


If you want step by step solution, then watch this video.

This video will help you solve assignment on your own very easily


Here is complete solution of CS604 Assignment file



Looking For Something? Search Here


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