Post Test
1. Which strategy might be employed to resolve deadlocks detected by an operating system?
2. Consider a system which have ‘n’ number of processes and ‘m’ number of resource types. The time complexity of the safety algorithm, which checks whether a system is in safe state or not, is of the order of:
3. Which condition must be met for the Banker's Algorithm to grant a resource request?
4. Consider a system having "n" resources of same type. These resources are shared by 3 processes, A, B, C. These have peak demands of 3, 4, and 6 respectively. For what value of "n" deadlock won't occur
5. In which situation will the Banker's Algorithm deny a resource request?