Answer all questions -
1. Explain the difference between independent and cooperating processes.
2. Describer the producer-consumer problem. Without process synchronization or coordination what could go wrong?
3. What is a race condition?
4. Describe the various sections related to the Critical Section Problem.
5. Describe the 3 requirements to the solution of the Critical Section Problem.
6. What are some examples of shared memory used by the kernel?
7. What is Peterson's Solution? What are the pitfalls of it?
8. How does a deadlock occur?
9. Describe how a counting semaphore works.
Textbook - Operating System Concepts with Java, 8th Edition by Silberschatz, Galvin and Gagne
Chapter Six - Process Synchronization.