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)