ABES Engineering College, Ghaziabad
Department of Computer Science and Engineering
(AI &ML)
B.Tech. SEM - IV
Session: 2024-25
Subject: Operating System Sub. Code: BCS401
Assignment-3
1. What do you mean by Concurrent Processes? Discuss with example.
2. What are Race Condition and Critical Section? How concurrent processes can share
the critical section?
3. Explain the producer- consumer problem and Peterson problem.
4. Explain Semaphores with example?
5. Define Mutex locks and turn variable? How test_and_set operation is performed?
6. Describe classical process synchronization problems – Dining Philosopher problem,
Sleeping Barber problem, Readers-writer problem.
7. Define Inter-process communication model?
Note: Please write the Pseudo-codes where applicable in examples.