Which of the following statements are not true?
All unsafe states are deadlocks: $NO$ Reason
Not all unsafe states are deadlocks. In safe state there is some scheduling order in which every process can run to completion even if all of them suddenly request their maximum number of resources.
A state is called safe if it is not deadlocked and there is some scheduling order in which every process can run to completion even if all of them suddenly requests their maximum number of resources immediately.
This is the reason why statement 4 is incorrect.
While in question statement 4 says "A state is said to be safe if the system can allocate resources to few processes even if all of them suddenly request their maximum number of resources. " means only few process can run to completion . That is wrong anyway.
Reference:
In Deadlock Avoidance / Banker's Algorithm
A safe state is a state in which there exists a sequence of execution.
An unsafe state is a state where there can't be any execution sequence.
A deadlocked state is when the availability of resources is 0.
Option B
Check this: https://gateoverflow.in/44404/isro-2013-58 (Everyone answered wrong here, except Dexter)
64.3k questions
77.9k answers
244k comments
80.0k users