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

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Assignment No. 02 CS604 –Operating System Total Marks: 20 Due Date: 30-06-2016

Assignment

 

Question:

 

Following are processes with their ticket number

 

Process

Number

P0

3

P1

2

P2

0

P3

8

P4

5

P5

4

P6

7

P7

0

P8

9

 

Implement Bakery Algorithm on above processes in the form of table and show the execution order in critical section.

 

 

 

 

 

 

 

 

 

 

Sample Solution:

 

j

P0

P1

P3

P4

P5

P6

P8

0

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

2

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

5

 

 

 

 

 

 

 

6

 

 

 

 

 

 

 

7

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

Order: P3,P4,P7…..

 

 

 

 

 


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

Attachments:

Replies to This Discussion

oper sloutin e to ha

kha ?

lekin muje smj nhi a rhi 

can u explain for me

yhn tk to mera bhi ho gyia hai but mery khyal sy isy order mian krna hai jis trh Assignmnt main kaha gyia hai
Order: P3,P4,P7

Plz reply me soon

This is mine.

Yes sis order men he krna hai

  kia ye order correct he.

  P1, P0 , P5, P4 , P6 , P3, P8

yes , it is correct 

Mr. Tariq this is my solution document which i uploaded on facebook. app ko mugh se puch ke upload karna chahiye tha.

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

Order: P1 P0 P5 P4 P6 P3 P8

order is P1,P0,P5,P4,P6,P3,P8

RSS

Latest Activity

+ " J i y a " ♥ updated their profile
10 minutes ago
Muhammad Faizan Alam liked ・༓☾ Shayna ☽༓・'s profile
30 minutes ago
Muhammad Faizan Alam liked Ellen Shades's profile
31 minutes ago
Muhammad Faizan Alam replied to Muhammad Faizan Alam's discussion CS604 - Operating Systems Assignment NO 1 Due Date: 30-November-2020 in the group CS604 Operating Systems
34 minutes ago
■ T̲h̲e̲ ̲J̲o̲k̲e̲r̲ ■ replied to ■ T̲h̲e̲ ̲J̲o̲k̲e̲r̲ ■'s discussion Why Chat is not working anymore?
42 minutes ago
Musawar Ahmed replied to +M.Tariq Malik's discussion CS506 Assignment 01 Fall 2020 Solution / Discussion in the group CS506 Web Design and Development
43 minutes ago
Aysha Maqbool replied to +M.Tariq Malik's discussion CS506 Assignment 01 Fall 2020 Solution / Discussion in the group CS506 Web Design and Development
53 minutes ago
Profile IconAysha Maqbool and madi ali joined +M.Tariq Malik's group
53 minutes ago
Musawar Ahmed replied to +M.Tariq Malik's discussion STA301 GDB Fall 2020 Solution & Discussion in the group STA301 Statistics and Probability
57 minutes ago
Musawar Ahmed replied to +M.Tariq Malik's discussion STA301 GDB Fall 2020 Solution & Discussion in the group STA301 Statistics and Probability
1 hour ago
Musawar Ahmed replied to +M.Tariq Malik's discussion STA301 GDB Fall 2020 Solution & Discussion in the group STA301 Statistics and Probability
1 hour ago
Musawar Ahmed replied to +M.Tariq Malik's discussion STA301 GDB Fall 2020 Solution & Discussion in the group STA301 Statistics and Probability
1 hour ago

Looking For Something? Search Here

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

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

.