Assignment Questions
UNIT-III
AY: 2024 – 25
Course Name & Code: OPERATING SYSTEMS& P23CST04
Branch &Sec: AIDS Year / Sem: II / II
Set-I
Q.NO Questions Marks CO KL
1 Explain about characteristics of deadlocks? Discuss the necessary conditions 2 3 2
that cause deadlock situation to occur.
2 a Explain about semaphores. 1.5 3 2
b Explain resource allocation graph with an example. 1.5 3 2
Set-II
Q.NO Questions Marks CO KL
1 a Write the bankers algorithm for deadlock avoidance and explain it with an 2 3 2
example.
2 a Explain about Peterson's solution for critical section problems. 1.5 3 2
What is safe-state?
b Discuss Deadlock Prevention and Deadlock Detection 1.5 3 2
Set-III
Q.NO Questions Marks CO KL
1 2 3 2
What are the various methods for handling Deadlocks and explain in detail.
2 a Explain about synchronization Hardware. 1.5 3 2
b Describe the Dining-philosophers problem in synchronization with neat 1.5 3 2
diagram.
Faculty Academic Coordinator Head of the Department