SlideShare une entreprise Scribd logo
1  sur  1
Télécharger pour lire hors ligne
Example of a problem given during the Midterm of a previous semester. Consider the following
code for two concurrent processes: 1) Discuss if the condition of No Starvation is satisfied. (if
yes, explain why, if no, explain why not - give the execution sequence) 2) Discuss if the Mutual
Exclusion Condition is satisfied. (if yes explain why, if no, explain why not-give the execution
sequence)

Contenu connexe

Plus de rachanaprade

equitydebtan IOU or promise to pay froma claim to partial own.pdf
 equitydebtan IOU or promise to pay froma claim to partial own.pdf equitydebtan IOU or promise to pay froma claim to partial own.pdf
equitydebtan IOU or promise to pay froma claim to partial own.pdfrachanaprade
 
Equipment R20 000 Accumulated Depreciation R16000. Depreciation is .pdf
 Equipment R20 000 Accumulated Depreciation R16000. Depreciation is .pdf Equipment R20 000 Accumulated Depreciation R16000. Depreciation is .pdf
Equipment R20 000 Accumulated Depreciation R16000. Depreciation is .pdfrachanaprade
 
Equalization payments are intended to ensure that Canadians have the .pdf
 Equalization payments are intended to ensure that Canadians have the .pdf Equalization payments are intended to ensure that Canadians have the .pdf
Equalization payments are intended to ensure that Canadians have the .pdfrachanaprade
 
Entries for Materiais The materis purchased during Agell are surn.pdf
 Entries for Materiais The materis purchased during Agell are surn.pdf Entries for Materiais The materis purchased during Agell are surn.pdf
Entries for Materiais The materis purchased during Agell are surn.pdfrachanaprade
 
Enterprises recently paid a dividend, D0, of $3.50. It expects to hav.pdf
 Enterprises recently paid a dividend, D0, of $3.50. It expects to hav.pdf Enterprises recently paid a dividend, D0, of $3.50. It expects to hav.pdf
Enterprises recently paid a dividend, D0, of $3.50. It expects to hav.pdfrachanaprade
 
Entity H uses the percentage of receivables method for recording bad .pdf
 Entity H uses the percentage of receivables method for recording bad .pdf Entity H uses the percentage of receivables method for recording bad .pdf
Entity H uses the percentage of receivables method for recording bad .pdfrachanaprade
 
Entity G uses the percentage of receivables method for recording bad .pdf
 Entity G uses the percentage of receivables method for recording bad .pdf Entity G uses the percentage of receivables method for recording bad .pdf
Entity G uses the percentage of receivables method for recording bad .pdfrachanaprade
 
Elly enters into a 12-month lease with Mike to rent Mikes house for .pdf
 Elly enters into a 12-month lease with Mike to rent Mikes house for .pdf Elly enters into a 12-month lease with Mike to rent Mikes house for .pdf
Elly enters into a 12-month lease with Mike to rent Mikes house for .pdfrachanaprade
 
Encryption is a process of converting a message, image, or any other .pdf
 Encryption is a process of converting a message, image, or any other .pdf Encryption is a process of converting a message, image, or any other .pdf
Encryption is a process of converting a message, image, or any other .pdfrachanaprade
 
Emily Company uses a periodic inventory system. At the end of the ann.pdf
 Emily Company uses a periodic inventory system. At the end of the ann.pdf Emily Company uses a periodic inventory system. At the end of the ann.pdf
Emily Company uses a periodic inventory system. At the end of the ann.pdfrachanaprade
 
evaluate alternatives sequentially. Question 3 (1 point) Saved Which.pdf
 evaluate alternatives sequentially. Question 3 (1 point)  Saved Which.pdf evaluate alternatives sequentially. Question 3 (1 point)  Saved Which.pdf
evaluate alternatives sequentially. Question 3 (1 point) Saved Which.pdfrachanaprade
 
Euromarket investment and fund raising A U.S.-based multinational com.pdf
 Euromarket investment and fund raising A U.S.-based multinational com.pdf Euromarket investment and fund raising A U.S.-based multinational com.pdf
Euromarket investment and fund raising A U.S.-based multinational com.pdfrachanaprade
 
estion 4 In June, an investor purchased 300 shares of Oracle (an inf.pdf
 estion 4 In June, an investor purchased 300 shares of Oracle (an inf.pdf estion 4 In June, an investor purchased 300 shares of Oracle (an inf.pdf
estion 4 In June, an investor purchased 300 shares of Oracle (an inf.pdfrachanaprade
 
Estudio de caso Urban Decay encontrar una oportunidad empresaria.pdf
 Estudio de caso Urban Decay encontrar una oportunidad empresaria.pdf Estudio de caso Urban Decay encontrar una oportunidad empresaria.pdf
Estudio de caso Urban Decay encontrar una oportunidad empresaria.pdfrachanaprade
 
Estradiol during the menstrual cycle... I. Initiates build-up of uter.pdf
 Estradiol during the menstrual cycle... I. Initiates build-up of uter.pdf Estradiol during the menstrual cycle... I. Initiates build-up of uter.pdf
Estradiol during the menstrual cycle... I. Initiates build-up of uter.pdfrachanaprade
 
Es posible que la econom�a est� produciendo en un punto que se encu.pdf
 Es posible que la econom�a est� produciendo en un punto que se encu.pdf Es posible que la econom�a est� produciendo en un punto que se encu.pdf
Es posible que la econom�a est� produciendo en un punto que se encu.pdfrachanaprade
 
Elizabeth babysits on the weekends for extra money. Suppose that thre.pdf
 Elizabeth babysits on the weekends for extra money. Suppose that thre.pdf Elizabeth babysits on the weekends for extra money. Suppose that thre.pdf
Elizabeth babysits on the weekends for extra money. Suppose that thre.pdfrachanaprade
 

Plus de rachanaprade (17)

equitydebtan IOU or promise to pay froma claim to partial own.pdf
 equitydebtan IOU or promise to pay froma claim to partial own.pdf equitydebtan IOU or promise to pay froma claim to partial own.pdf
equitydebtan IOU or promise to pay froma claim to partial own.pdf
 
Equipment R20 000 Accumulated Depreciation R16000. Depreciation is .pdf
 Equipment R20 000 Accumulated Depreciation R16000. Depreciation is .pdf Equipment R20 000 Accumulated Depreciation R16000. Depreciation is .pdf
Equipment R20 000 Accumulated Depreciation R16000. Depreciation is .pdf
 
Equalization payments are intended to ensure that Canadians have the .pdf
 Equalization payments are intended to ensure that Canadians have the .pdf Equalization payments are intended to ensure that Canadians have the .pdf
Equalization payments are intended to ensure that Canadians have the .pdf
 
Entries for Materiais The materis purchased during Agell are surn.pdf
 Entries for Materiais The materis purchased during Agell are surn.pdf Entries for Materiais The materis purchased during Agell are surn.pdf
Entries for Materiais The materis purchased during Agell are surn.pdf
 
Enterprises recently paid a dividend, D0, of $3.50. It expects to hav.pdf
 Enterprises recently paid a dividend, D0, of $3.50. It expects to hav.pdf Enterprises recently paid a dividend, D0, of $3.50. It expects to hav.pdf
Enterprises recently paid a dividend, D0, of $3.50. It expects to hav.pdf
 
Entity H uses the percentage of receivables method for recording bad .pdf
 Entity H uses the percentage of receivables method for recording bad .pdf Entity H uses the percentage of receivables method for recording bad .pdf
Entity H uses the percentage of receivables method for recording bad .pdf
 
Entity G uses the percentage of receivables method for recording bad .pdf
 Entity G uses the percentage of receivables method for recording bad .pdf Entity G uses the percentage of receivables method for recording bad .pdf
Entity G uses the percentage of receivables method for recording bad .pdf
 
Elly enters into a 12-month lease with Mike to rent Mikes house for .pdf
 Elly enters into a 12-month lease with Mike to rent Mikes house for .pdf Elly enters into a 12-month lease with Mike to rent Mikes house for .pdf
Elly enters into a 12-month lease with Mike to rent Mikes house for .pdf
 
Encryption is a process of converting a message, image, or any other .pdf
 Encryption is a process of converting a message, image, or any other .pdf Encryption is a process of converting a message, image, or any other .pdf
Encryption is a process of converting a message, image, or any other .pdf
 
Emily Company uses a periodic inventory system. At the end of the ann.pdf
 Emily Company uses a periodic inventory system. At the end of the ann.pdf Emily Company uses a periodic inventory system. At the end of the ann.pdf
Emily Company uses a periodic inventory system. At the end of the ann.pdf
 
evaluate alternatives sequentially. Question 3 (1 point) Saved Which.pdf
 evaluate alternatives sequentially. Question 3 (1 point)  Saved Which.pdf evaluate alternatives sequentially. Question 3 (1 point)  Saved Which.pdf
evaluate alternatives sequentially. Question 3 (1 point) Saved Which.pdf
 
Euromarket investment and fund raising A U.S.-based multinational com.pdf
 Euromarket investment and fund raising A U.S.-based multinational com.pdf Euromarket investment and fund raising A U.S.-based multinational com.pdf
Euromarket investment and fund raising A U.S.-based multinational com.pdf
 
estion 4 In June, an investor purchased 300 shares of Oracle (an inf.pdf
 estion 4 In June, an investor purchased 300 shares of Oracle (an inf.pdf estion 4 In June, an investor purchased 300 shares of Oracle (an inf.pdf
estion 4 In June, an investor purchased 300 shares of Oracle (an inf.pdf
 
Estudio de caso Urban Decay encontrar una oportunidad empresaria.pdf
 Estudio de caso Urban Decay encontrar una oportunidad empresaria.pdf Estudio de caso Urban Decay encontrar una oportunidad empresaria.pdf
Estudio de caso Urban Decay encontrar una oportunidad empresaria.pdf
 
Estradiol during the menstrual cycle... I. Initiates build-up of uter.pdf
 Estradiol during the menstrual cycle... I. Initiates build-up of uter.pdf Estradiol during the menstrual cycle... I. Initiates build-up of uter.pdf
Estradiol during the menstrual cycle... I. Initiates build-up of uter.pdf
 
Es posible que la econom�a est� produciendo en un punto que se encu.pdf
 Es posible que la econom�a est� produciendo en un punto que se encu.pdf Es posible que la econom�a est� produciendo en un punto que se encu.pdf
Es posible que la econom�a est� produciendo en un punto que se encu.pdf
 
Elizabeth babysits on the weekends for extra money. Suppose that thre.pdf
 Elizabeth babysits on the weekends for extra money. Suppose that thre.pdf Elizabeth babysits on the weekends for extra money. Suppose that thre.pdf
Elizabeth babysits on the weekends for extra money. Suppose that thre.pdf
 

Dernier

Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 

Dernier (20)

Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 

Example of a problem given during the Midterm of a previous semester..pdf

  • 1. Example of a problem given during the Midterm of a previous semester. Consider the following code for two concurrent processes: 1) Discuss if the condition of No Starvation is satisfied. (if yes, explain why, if no, explain why not - give the execution sequence) 2) Discuss if the Mutual Exclusion Condition is satisfied. (if yes explain why, if no, explain why not-give the execution sequence)