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


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

Attachments:

Replies to This Discussion

2nd qus ka kya ans hoga smjh ni aarhi h mjhy sahi plz koi bata dy doc.x to open ni horha mra jo solution h yahan ??????

fairy ap file download kr k usy online convert kr lein then opn ho jai ga apky pas docx instal nai ho ga 

I didn't get when total available are 10 resources and P1 needs 12 resources for process D, how the system is in safe state.

friends assignment solution copy krne walon se aik guzarish hy k aik table nai banna bss har sequence ka alag table banna hy so dehan se zara 

kya matlab ?

RSS

Latest Activity

+M.Tariq Malik replied to +M.Tariq Malik's discussion MGT402 Solved MCQs Online Quiz No 01 Fall 2020 Solution / Discussion Last Date: 08-12-2020 in the group MGT402 Cost & Management Accounting
27 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MGT602 Assignment 01 Fall 2020 Solution / Discussion Due Date: 09-12-2020 in the group MGT602 Entrepreneurship
30 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MGT602 Assignment 01 Fall 2020 Solution / Discussion Due Date: 09-12-2020 in the group MGT602 Entrepreneurship
31 minutes ago
+M.Tariq Malik liked +M.Tariq Malik's discussion MGT602 Assignment 01 Fall 2020 Solution / Discussion Due Date: 09-12-2020
31 minutes ago
+M.Tariq Malik added a discussion to the group MGT602 Entrepreneurship
32 minutes ago
+M.Tariq Malik replied to HAFIZA AREESHA ASLAM's discussion ECO402 Microeconomics Assignment 01 Fall 2020 Solution / Discussion in the group ECO402 Microeconomics
37 minutes ago
+M.Tariq Malik liked HAFIZA AREESHA ASLAM's discussion ECO402 Microeconomics Assignment 01 Fall 2020 Solution / Discussion
37 minutes ago
+M.Tariq Malik replied to HAFIZA AREESHA ASLAM's discussion ECO403 Assignment 01 Fall 2020 Solution / Discussion Due Date: 10-12-2020 in the group ECO403 Macroeconomics
38 minutes ago
+M.Tariq Malik liked HAFIZA AREESHA ASLAM's discussion ECO403 Assignment 01 Fall 2020 Solution / Discussion Due Date: 10-12-2020
38 minutes ago
+ ! ! ! ! ! تاشہ liked 乇メ-丂イひり3刀イ.'s discussion *** My Drawing ***
40 minutes ago
+ ! ! ! ! ! تاشہ liked 乇メ-丂イひり3刀イ.'s discussion *** الوداع اردو ***
40 minutes ago
+M.Tariq Malik replied to Fragrance of Islam's discussion ENG301 Business Communication GDB No 01 Fall 2020 Solution / Discussion in the group ENG301 Business Communication
49 minutes ago
Ayesha liked +M.Tariq Malik's discussion ENG201 Business and Technical English Writing GDB No 01 Fall 2020 Solution / Discussion Last Date: 08-12-2020
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion ENG201 Business and Technical English Writing GDB No 01 Fall 2020 Solution / Discussion Last Date: 08-12-2020 in the group ENG201 Business and Technical English Writing
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion PSY516 Statistics in Psychology Assignment 01 Fall 2020 Solution / Discussion in the group PSY516 Statistics in Psychology
1 hour ago
+M.Tariq Malik liked +M.Tariq Malik's discussion PSY516 Statistics in Psychology Assignment 01 Fall 2020 Solution / Discussion
1 hour ago
+M.Tariq Malik added a discussion to the group PSY516 Statistics in Psychology
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion PSY404 Abnormal Psychology Assignment 01 Fall 2020 Solution / Discussion in the group PSY404 Abnormal Psychology
1 hour ago
+M.Tariq Malik liked +M.Tariq Malik's discussion PSY404 Abnormal Psychology Assignment 01 Fall 2020 Solution / Discussion
1 hour ago
+M.Tariq Malik added a discussion to the group PSY404 Abnormal Psychology
1 hour ago

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

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

.