Which of the following statements is true in context of Banker’s algorithm?
1
It detect deadlock
2
It prevents deadlock
3
It detect deadlock but cannot prevent deadlock from happening.
4
It requires prior knowledge of the requirements of all the currently executing processes.