RT 31055032021
RT 31055032021
RT 31055032021
4. a) What is Dining Philosophers problem? Discuss the solution to Dining philosopher’s [8M]
problem using monitors.
b) Define a semaphore. What is meant by counting semaphore and binary semaphore? [8M]
Discuss mutual exclusion implementation using semaphore.
6. a) Consider the following and find out the possible resource allocation sequence with the [8M]
help of deadlock detection algorithm processes p0, p1, p2, p3, p4 Resources A, B, C
allocation [0 1 0, 2 0 0 , 3 0 3, 2 1 1, 0 0 2] Max[0 0 0, 2 0 2, 0 0 0, 1 0 0, 0 0 2]
Available[0 0 0].
b) Explain methods used for ensuring at least one of the necessary conditions cannot [8M]
hold.
7. a) What is disk scheduling? Compare various scheduling algorithms and suggest best [10M]
algorithm for your own snapshot.
b) Discuss in detail about different file access methods. [6M]
*****
|''|'|''|''|''|||'|| www.manaresults.co.in