We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

# CS604 - Operating Systems Assignment No. 2 Upload

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 -- Regards, Instructor CS604

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

Views: 5852

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

### 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 =

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

Fall%202017_CS604_2.pdf

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.

Note:-

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.

&

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

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

Here is complete solution of CS604 Assignment file

https://youtu.be/DDDIK8BxILA

## Latest Activity

+ ! ! ! ! ! ! ! ! ! AG liked Biya's discussion Waqat Dolat Rishty. . .
48 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked Whispering Soul's discussion Mamu :D
48 minutes ago
Rana Shoaib updated their profile
1 hour ago
1 hour ago
1 hour ago
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked Biya's discussion Waqat Or Samajh
1 hour ago
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked Biya's discussion Khoob Sorat Bat. . . . .
1 hour ago
2 hours ago
Raheela joined + M.Tariq Malik's group

### PAK301 Pakistan Studies

2 hours ago
Raheela joined + M.Tariq Malik's group

### MTH101 Calculus And Analytical Geometry

2 hours ago
2 hours ago
Raheela joined + M.Tariq Malik's group

### ISL201 Islamic Studies

2 hours ago
Raheela joined + M.Tariq Malik's group

### ENG101 English Comprehension

2 hours ago
Raheela joined + M.Tariq Malik's group

### CS201 Introduction to Programming

2 hours ago
Raheela and Iqra Malik joined + M.Tariq Malik's group

2 hours ago
2 hours ago

1

2

3