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


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

 

 

 

 

 

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

.

+ 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

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

+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion MCM301 Communication skills Online Quiz No 01 Fall 2019 Solution Discussion
3 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion MCM301 Communication skills Assignment No 01 Fall 2019 Solution & Discussion
4 minutes ago
+¢αяєℓєѕѕ gιяℓ liked +¢αяєℓєѕѕ gιяℓ's discussion MCM301 Quiz Nov 19, 2019 12:00 AM Nov 20, 2019 11:59 PM
4 minutes ago
Profile IconAleena mouqadas, Ahtisham Hassan Qureshi, dc190400331 and 17 more joined Virtual University of Pakistan
5 minutes ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion Best Place Of Propose Someone :-P
7 minutes ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion Kya Mien Writer Ban Sakti Hoon :-P
10 minutes ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion Kya Mien Writer Ban Sakti Hoon :-P
11 minutes ago
Muhammad Younas Rajpoot joined + M.Tariq Malik's group
12 minutes ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion Shadi Ho Rhi Hai Alhamdulillah.......... (^__^)!
12 minutes ago
Ikra butt joined + M.Tariq Malik's group
13 minutes ago
KWL ex student updated their profile
13 minutes ago
Asad Malik updated their profile
15 minutes ago
Sucana Shafiq liked + M.Tariq Malik's discussion ISL201 Islamic Studies Assignment No 01 Fall 2019 Solution & Discussion
17 minutes ago
+'innocent" BSc replied to +'innocent" BSc's discussion Teaching of General Science (EDU201) Assignment I (Fall 2019) in the group GSC201 Teaching of General Science
19 minutes ago
+'innocent" BSc replied to +'innocent" BSc's discussion Teaching of General Science (EDU201) Assignment I (Fall 2019) in the group GSC201 Teaching of General Science
21 minutes ago
+!!! Annie !!!+ added a discussion to the group EDU654 Addressing problems of learning through technology and pedagogy
24 minutes ago
+!!! Annie !!!+ added a discussion to the group EDU433 Professionalism in Teaching
27 minutes ago
irum zahra and mubashir rehman are now friends
28 minutes ago
MUHAMMAD USMAN replied to Ikra butt's discussion CS504 QUIZ NO 1 SOLUTION WITH COMPLETE GUIDELINES 2019 in the group CS504 Software Engineering - I
29 minutes ago

Today Top Members 

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

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