We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.

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

Attachments:

Replies to This Discussion

no it is wrong

Thanks For sharing :) :) But Question ya k Jin ko abhi b is ki Alf ba samj nahi ai wo b num. gain kr lain gain. Or kabhi samjny ka nahi sochain gain. Ya hi discuss kr detay un chand k sath jihain samj nahi thi ap ka full clear ho jata hamesha k liya un ka b bhala ho jata. Abhi b ak kami hai.

YE LO MOJ KRO SARE

just one point

k p1 sab se pehle kion jae ga critical section mien

q k p1 ka number sb se kam ha jo crtical section mn interest ha. p2 aur p7 tu participate he nahi krn gay

asignemnt bni kisi ne ???

mujhy bhe send karna mily tou

Tariq bhai kia ye thek ha solution?

RSS

Looking For Something? Search Below

Latest Activity

★彡[ꜱʜʏɴᴀ]彡★ posted discussions
38 minutes ago
Mani Siddiqui Ex replied to Mani Siddiqui Ex's discussion General Knowledge question !!!
3 hours ago
Mani Siddiqui Ex replied to Mani Siddiqui Ex's discussion General Knowledge question !!!
3 hours ago
Rabia liked + M.Tariq Malik's discussion BIF401 Bioinformatics I GDB Fall 2020 Solution / Discussion
5 hours ago
Rabia liked + M.Tariq Malik's profile
5 hours ago
★彡[ꜱʜʏɴᴀ]彡★ liked + ! ! hคຖiค khคຖ ! ! ! +'s discussion 'Ghar Se Hum Ghar Talak Gaye Honge, Apne Hee Aap Tak Gaye Honge',
11 hours ago
+ ! ! hคຖiค khคຖ ! ! ! + liked + M.Tariq Malik's discussion Free Download Solved MCQs of Pakistan Affairs - Everyday Science - Current Affairs For MCQs for CSS, NTS, FTS, ETEA, OTS, UTS, FPSC, PPSC, SPSC, PMS, PSC, KPKPSC, AJKPSC, SOPE Exam
11 hours ago
+ ! ! hคຖiค khคຖ ! ! ! + liked + ! ! hคຖiค khคຖ ! ! ! +'s discussion 'Ghar Se Hum Ghar Talak Gaye Honge, Apne Hee Aap Tak Gaye Honge',
11 hours ago
+ ! ! hคຖiค khคຖ ! ! ! + posted a discussion
11 hours ago
VU AHMED replied to + M.Tariq Malik's discussion PHY301 Fall 2017 Final Term Papers Pattern & Questions 17 Feb 2018 to 28 Feb 2018 & Helping Material in the group PHY301 Circuit Theory
11 hours ago
+ ! ! hคຖiค khคຖ ! ! ! + updated their profile
11 hours ago
+ M.Tariq Malik liked + + + + " Tw!nkle "'s discussion Happy HAppy birthday !! FIYA
13 hours ago

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

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

.