Post Test
1. What happens if a producer tries to add an item to a full buffer when using semaphores in Producer-Consumer problem?
2. In the Producer-Consumer problem, which semaphore should a consumer wait on before consuming an item?
3. Which of the following is a potential drawback of using a hierarchy of chopstick access in the Dining Philosophers problem?
4. If the "mutex" semaphore is used to protect access to the buffer, what value should it be initialized to?
5. What is the main purpose of implementing mutual exclusion in a solution to the Dining Philosophers problem?
