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

What's hot

What's hot (20)

Vulkan 1.1 Reference Guide
Vulkan 1.1 Reference GuideVulkan 1.1 Reference Guide
Vulkan 1.1 Reference Guide
 
Code Smell, Software Engineering
Code Smell, Software EngineeringCode Smell, Software Engineering
Code Smell, Software Engineering
 
Pointer in C
Pointer in CPointer in C
Pointer in C
 
C pointer
C pointerC pointer
C pointer
 
OpenGL 4.6 Reference Guide
OpenGL 4.6 Reference GuideOpenGL 4.6 Reference Guide
OpenGL 4.6 Reference Guide
 
Perl Scripting
Perl ScriptingPerl Scripting
Perl Scripting
 
Pointer in c program
Pointer in c programPointer in c program
Pointer in c program
 
What's new in Scala 2.13?
What's new in Scala 2.13?What's new in Scala 2.13?
What's new in Scala 2.13?
 
Monadic Java
Monadic JavaMonadic Java
Monadic Java
 
Pointer in c
Pointer in cPointer in c
Pointer in c
 
Python Part 1
Python Part 1Python Part 1
Python Part 1
 
JAVA OOP
JAVA OOPJAVA OOP
JAVA OOP
 
Dynamic memory allocation
Dynamic memory allocationDynamic memory allocation
Dynamic memory allocation
 
Python multithreaded programming
Python   multithreaded programmingPython   multithreaded programming
Python multithreaded programming
 
Object Oriented Concept Static vs. Non Static
Object Oriented Concept Static vs. Non StaticObject Oriented Concept Static vs. Non Static
Object Oriented Concept Static vs. Non Static
 
Data Analysis with Python Pandas
Data Analysis with Python PandasData Analysis with Python Pandas
Data Analysis with Python Pandas
 
Java 8 features
Java 8 featuresJava 8 features
Java 8 features
 
Python Matplotlib Tutorial | Matplotlib Tutorial | Python Tutorial | Python T...
Python Matplotlib Tutorial | Matplotlib Tutorial | Python Tutorial | Python T...Python Matplotlib Tutorial | Matplotlib Tutorial | Python Tutorial | Python T...
Python Matplotlib Tutorial | Matplotlib Tutorial | Python Tutorial | Python T...
 
Web programming manual
Web programming manualWeb programming manual
Web programming manual
 
Methods in Java
Methods in JavaMethods in Java
Methods in Java
 

Similar to Chapter 7.pptx

Android interview questions for 2 to 5 years (1)
Android interview questions for 2 to 5 years (1)Android interview questions for 2 to 5 years (1)
Android interview questions for 2 to 5 years (1)satish reddy
 
Software engineering FAQ
Software engineering FAQSoftware engineering FAQ
Software engineering FAQAshok Mohanty
 
Testing interview questions
Testing interview questionsTesting interview questions
Testing interview questionsRamu Palanki
 
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 assignmentssolved_assignments
 
Class9 js word_quar2018
Class9 js word_quar2018Class9 js word_quar2018
Class9 js word_quar2018Andrew Raj
 
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 9901366442NMIMS ASSIGNMENTS HELP
 
Operating systems question bank
Operating systems question bankOperating systems question bank
Operating systems question bankanuradha raheja
 
Axapta interview questions
Axapta interview questionsAxapta interview questions
Axapta interview questionsKD420
 
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...SoftvampTechnoSoluti
 
Cs6660 compiler design
Cs6660 compiler designCs6660 compiler design
Cs6660 compiler designhari2010
 
Wipro infotech-interview-questions
Wipro infotech-interview-questionsWipro infotech-interview-questions
Wipro infotech-interview-questionsblacktricker
 
Principles of compiler design
Principles of compiler designPrinciples of compiler design
Principles of compiler designDHARANI BABU
 
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 ASSIGNMENTSsmumbahelp
 

Similar to Chapter 7.pptx (20)

Android interview questions for 2 to 5 years (1)
Android interview questions for 2 to 5 years (1)Android interview questions for 2 to 5 years (1)
Android interview questions for 2 to 5 years (1)
 
Software engineering FAQ
Software engineering FAQSoftware engineering FAQ
Software engineering FAQ
 
Cs1301
Cs1301Cs1301
Cs1301
 
Testing interview questions
Testing interview questionsTesting interview questions
Testing interview questions
 
Best interview questions
Best interview questionsBest interview questions
Best interview questions
 
All worksheet
All worksheetAll worksheet
All worksheet
 
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
 
Dot net2+ questions
Dot net2+ questionsDot net2+ questions
Dot net2+ questions
 
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
 

Recently uploaded

HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
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
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
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.pptxDenish Jangid
 
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.pptxPooja Bhuva
 
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)Jisc
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
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
 
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
 
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.pptxheathfieldcps1
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationNeilDeclaro1
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 

Recently uploaded (20)

HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
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
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
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
 
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
 
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)
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
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
 
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
 
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
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

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)