Concurrency and Synchronization – Critical section problem, Peterson’s solution, semaphores, monitors

    Question 1OS - Critical Section Problem

    What is the critical section problem in operating systems?

    Question 2OS - Requirements of Critical Section Solution

    Which of the following is NOT one of the three essential requirements for solving the critical section problem?

    Question 3OS - Peterson’s Solution

    What does Peterson’s Solution use to achieve mutual exclusion in the critical section problem?

    Question 4OS - Peterson’s Limitations

    Why is Peterson’s Solution not widely used in modern systems?

    Question 5OS - Semaphores

    What are semaphores used for in operating systems?

    Question 6OS - Types of Semaphores

    Which of the following correctly describes the two types of semaphores?

    Question 7OS - Semaphore Problem

    What issues can arise if semaphores are not used carefully?

    Question 8OS - Monitors

    What is a monitor in process synchronization?

    Question 9OS - Condition Variables in Monitors

    What is the purpose of condition variables in monitors?

    Question 10OS - Monitors vs Semaphores

    Which of the following is a key advantage of monitors over semaphores?