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

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

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

Assignment No. 03 Semester: Fall 2014 CS604 –Operating System Total Marks: 15 Due Date: 16/2/2015

Uploading instructions:

 

  • Your assignment must be in .doc format. (Any other formats like scan images, PDF, Zip, rar, bmp,etc will not be accepted).
  • Save your assignment with your ID (e.g. bc020200786.doc).
  • No assignment will be accepted through email.

 

Rules for Marking:

 

It should be clear that your assignment will not get any credit if:

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupted.
  • Your assignment is copied from internet, handouts or from any other student

      (Strict disciplinary action will be taken in this case).

 

Assignment

 

Question 1:   (5 Marks)

 

Consider the following snapshot of a system:

 

 

Allocation

Max

Available

 

A

B

C

D

A

B

C

D

A

B

C

D

P0

1

1

1

2

3

4

2

2

1

2

3

4

P1

1

0

2

2

1

3

4

14

 

 

 

 

P2

1

4

5

6

2

7

5

8

 

 

 

 

P3

2

5

4

2

3

5

7

9

 

 

 

 

P4

1

5

2

7

1

6

3

9

 

 

 

 

 

Need

A

B

C

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

+ How to Follow the New Added Discussions at Your Mail Address?

+ 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?


See Your Saved Posts Timeline

Views: 7222

.

+ 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)

Attachments:

Replies to This Discussion

hun!

yeh bhe agai 

Safe Sequence:<P4, P2, P3, P0>

This is safe sequence

Safe sequence is not unique. Many other sequences are feasible. But your one is also Ok.

Han g

Han g

ab to khatm hone wali :P 

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.

Start Discssion

Safe Sequence is

P4>>P0>>P2>>P3>>P1

AnyBody not agree at this???????????????

plz discuss this assignment

@ Efficient48

Safe sequence is not unique. Many other sequences are feasible. But your one is also Ok.

RSS

Latest Activity

++Killing Joke++ updated their profile
9 minutes ago
Aakash Ahmed replied to +¢αяєℓєѕѕ gιяℓ's discussion CS408 - Human Computer Interaction Assignment No.1 Semester: Fall 2019 in the group CS408 Human Computer Interaction
31 minutes ago
Profile IconAakash Ahmed and Preçîõûš joined + M.Tariq Malik's group
31 minutes ago
+ Abb@s replied to + !! SARAH's discussion mne hassan ko mne kbhi nhi manga dua me ,..<3 love love hassan to azal se mera he na..!!
42 minutes ago
+ Abb@s replied to + !! SARAH's discussion mne hassan ko mne kbhi nhi manga dua me ,..<3 love love hassan to azal se mera he na..!!
42 minutes ago
Maham Rafiq and Muhammad Hussnain Hafeez are now friends
48 minutes ago
roshan khetran liked + M.Tariq Malik's group ISL201 Islamic Studies
52 minutes ago
Bilal Chaudhary replied to + M.Tariq Malik's discussion CS603 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 11-11-2019 in the group CS603 Software Architecture and Design
56 minutes ago
Bilal Chaudhary joined + M.Tariq Malik's group
56 minutes ago
pakeeza fatima liked + M.Tariq Malik's discussion MGT101 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 13-11-2019
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + M.Tariq Malik's discussion MGT301 Principles of Marketing Assignment No 01 Fall 2019 Solution & Discussion in the group MGT301 Principles of Marketing
1 hour ago
omer asif liked + M.Tariq Malik's discussion ACC501 Online Quiz No 01 Fall 2019 Solution Discussion
1 hour ago
+ M.Tariq Malik replied to + "AS"'s discussion Koi Parwah Nahi ..
1 hour ago
+ M.Tariq Malik replied to + "AS"'s discussion Koi Parwah Nahi ..
1 hour ago
Mani Siddiqui BS VIII posted a status
"2 mobil hony ka bi faida hai subha utha ek say. Dosra py. Msg karta ho. Kasy ho. Jano mary baby na nashta kya...."
2 hours ago
Profile IconPsychology student and Sameera anwer joined + M.Tariq Malik's group
2 hours ago
ikram ullah replied to + M.Tariq Malik's discussion MGT301 Principles of Marketing Assignment No 01 Fall 2019 Solution & Discussion in the group MGT301 Principles of Marketing
2 hours ago
Profile Iconikram ullah, rabia and 2 other members joined + M.Tariq Malik's group
2 hours ago
Mani Siddiqui BS VIII posted a status
3 hours ago
+ "Jɨyą replied to + "Jɨyą's discussion meliiiiiiii dailyyyyyyyyyyyyyyyyy milkkkkkkkkkkkkkkkkk :(
3 hours ago

Today Top Members 

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service