SlideShare a Scribd company logo
1 of 73
(Ref. Book for solutions : Concepts of Programming Languages)
1. What are the different levels of concurrency?
2. What is SIMD and MIMD?
3. List the categories of Concurrency?
4. Define the types of tasks.
5. Types of synchronization.
6. Differentiate between cooperation and competition synchronization.
7. What are the techniques used to provide synchronization (semaphores, monitors,
message passing)
8. What is a scheduler? Explain different types of schedulers.
9. Write a short note on task(process) life cycle? (5 states)
10. What is liveness and deadstock?
11. What is a semaphores?
12. Explain cooperation synchronization with example of Deposit and Fetch.
13. Explain producer and consumer problem of synchronization with code.
14. What are the different types of semaphores? (counting and Binary)
15. Explain Binary semaphore.
16. What is competition synchronization. Give an example.
17. Write a short note on Monitor. (definition, diagram, explanation)
18. How synchronization is implemented in Java? Explain with example. (Multithreading
example)
19. Explain Message-passing. What is rendezvous?
20. Short note:
A. Task termination
B. Task priority.
21. List the methods used to control thread synchronization in Java. (yield, sleep, join)
22. How competition synchronization is implemented with Java Thread.
23. Which methods are used for cooperation synchronization in Java (wait, notify, notifyAll)
24. What is statement level concurrency? Name the language that supports it. (Fortran)

More Related Content

Similar to Chapter 7.pptx

Network management. media management.material mgmt. aravind 9901366442
Network management. media management.material mgmt. aravind 9901366442Network management. media management.material mgmt. aravind 9901366442
Network management. media management.material mgmt. aravind 9901366442
NMIMS ASSIGNMENTS HELP
 
Axapta interview questions
Axapta interview questionsAxapta interview questions
Axapta interview questions
KD420
 
Wipro infotech-interview-questions
Wipro infotech-interview-questionsWipro infotech-interview-questions
Wipro infotech-interview-questions
blacktricker
 

Similar to Chapter 7.pptx (20)

Class9 js word_quar2018
Class9 js word_quar2018Class9 js word_quar2018
Class9 js word_quar2018
 
141303 qb
141303 qb141303 qb
141303 qb
 
Network management. media management.material mgmt. aravind 9901366442
Network management. media management.material mgmt. aravind 9901366442Network management. media management.material mgmt. aravind 9901366442
Network management. media management.material mgmt. aravind 9901366442
 
Operating systems question bank
Operating systems question bankOperating systems question bank
Operating systems question bank
 
Axapta interview questions
Axapta interview questionsAxapta interview questions
Axapta interview questions
 
Dot net softvamp techno solutions_technical interview questions 2 years exper...
Dot net softvamp techno solutions_technical interview questions 2 years exper...Dot net softvamp techno solutions_technical interview questions 2 years exper...
Dot net softvamp techno solutions_technical interview questions 2 years exper...
 
Cs6660 compiler design
Cs6660 compiler designCs6660 compiler design
Cs6660 compiler design
 
Wipro infotech-interview-questions
Wipro infotech-interview-questionsWipro infotech-interview-questions
Wipro infotech-interview-questions
 
Principles of compiler design
Principles of compiler designPrinciples of compiler design
Principles of compiler design
 
SMU MSC IT FALL/ SUMMER - 2013 SOLVED ASSIGNMENTS
SMU MSC IT FALL/ SUMMER - 2013 SOLVED ASSIGNMENTSSMU MSC IT FALL/ SUMMER - 2013 SOLVED ASSIGNMENTS
SMU MSC IT FALL/ SUMMER - 2013 SOLVED ASSIGNMENTS
 
Ques. On O.S
Ques. On  O.SQues. On  O.S
Ques. On O.S
 
Review.pptx
Review.pptxReview.pptx
Review.pptx
 
Type script
Type scriptType script
Type script
 
Smu mscit sem 3 fall 2014 assignments
Smu mscit sem 3 fall 2014 assignmentsSmu mscit sem 3 fall 2014 assignments
Smu mscit sem 3 fall 2014 assignments
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
1. Describe the role of a systems analyst.2. What are some o.docx
1. Describe the role of a systems analyst.2. What are some o.docx1. Describe the role of a systems analyst.2. What are some o.docx
1. Describe the role of a systems analyst.2. What are some o.docx
 
Smu bca sem 4 spring 2015 assignments
Smu bca sem 4 spring 2015 assignmentsSmu bca sem 4 spring 2015 assignments
Smu bca sem 4 spring 2015 assignments
 
.Net questions
.Net questions.Net questions
.Net questions
 
Testing softvamp techno solutions technical interview questions 2 years expe...
Testing  softvamp techno solutions technical interview questions 2 years expe...Testing  softvamp techno solutions technical interview questions 2 years expe...
Testing softvamp techno solutions technical interview questions 2 years expe...
 
Qb
QbQb
Qb
 

More from RanjanaShevkar (11)

Chapter 7.pptx
Chapter 7.pptxChapter 7.pptx
Chapter 7.pptx
 
Chapter 6.pptx
Chapter 6.pptxChapter 6.pptx
Chapter 6.pptx
 
Chapter 5.pptx
Chapter 5.pptxChapter 5.pptx
Chapter 5.pptx
 
Chapter 5.pptx
Chapter 5.pptxChapter 5.pptx
Chapter 5.pptx
 
Chapter 6.pptx
Chapter 6.pptxChapter 6.pptx
Chapter 6.pptx
 
Chapter 5.pptx
Chapter 5.pptxChapter 5.pptx
Chapter 5.pptx
 
Chapter 4.pptx
Chapter 4.pptxChapter 4.pptx
Chapter 4.pptx
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
Ch 2 Names scopes and bindings.pptx
Ch 2 Names scopes and bindings.pptxCh 2 Names scopes and bindings.pptx
Ch 2 Names scopes and bindings.pptx
 
Paradigms of Programming Languages CH1-Introduction.pptx
Paradigms of Programming Languages CH1-Introduction.pptxParadigms of Programming Languages CH1-Introduction.pptx
Paradigms of Programming Languages CH1-Introduction.pptx
 
Ch2 how blockchain works
Ch2 how blockchain worksCh2 how blockchain works
Ch2 how blockchain works
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 

Recently uploaded (20)

Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.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Ữ Â...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 

Chapter 7.pptx

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71.
  • 72. (Ref. Book for solutions : Concepts of Programming Languages) 1. What are the different levels of concurrency? 2. What is SIMD and MIMD? 3. List the categories of Concurrency? 4. Define the types of tasks. 5. Types of synchronization. 6. Differentiate between cooperation and competition synchronization. 7. What are the techniques used to provide synchronization (semaphores, monitors, message passing) 8. What is a scheduler? Explain different types of schedulers. 9. Write a short note on task(process) life cycle? (5 states) 10. What is liveness and deadstock? 11. What is a semaphores? 12. Explain cooperation synchronization with example of Deposit and Fetch. 13. Explain producer and consumer problem of synchronization with code.
  • 73. 14. What are the different types of semaphores? (counting and Binary) 15. Explain Binary semaphore. 16. What is competition synchronization. Give an example. 17. Write a short note on Monitor. (definition, diagram, explanation) 18. How synchronization is implemented in Java? Explain with example. (Multithreading example) 19. Explain Message-passing. What is rendezvous? 20. Short note: A. Task termination B. Task priority. 21. List the methods used to control thread synchronization in Java. (yield, sleep, join) 22. How competition synchronization is implemented with Java Thread. 23. Which methods are used for cooperation synchronization in Java (wait, notify, notifyAll) 24. What is statement level concurrency? Name the language that supports it. (Fortran)