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

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

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

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 =

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

rashad and Faruq Anjum Alvi joined Virtual University of Pakistan
27 minutes ago
Muhammad Bilal liked Mani Siddiqui BS VIII's discussion بدتمیز لڑکی
31 minutes ago
38 minutes ago
41 minutes ago
+ ! ! ! Haniya ! ! + liked + ! ! ! Haniya ! ! +'s discussion عین عشق
2 hours ago
+ ! ! ! Haniya ! ! + posted discussions
2 hours ago
3 hours ago
3 hours ago

1

2

3

## HELP SUPPORT

This is a member-supported website. Your contribution is greatly appreciated!