Question OS-DL-0004
EasyWhat is the Banker's algorithm used for?
- A.
CPU scheduling
- B.
Memory allocation
- C.
Show answer and explanation
Answer: D
It grants a request only if the system stays in a safe state, so deadlock is avoided.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Deadlocks question
What is the Banker's algorithm used for?
CPU scheduling
Memory allocation
Answer: D
It grants a request only if the system stays in a safe state, so deadlock is avoided.
Deadlock detection only
Deadlock avoidance