Computer Science EngineeringHard
Which deadlock-handling algorithm requires each process to declare its maximum resource needs in advance?
- A. Round robin
- B. LRU
- C. FIFO
- D. Banker's algorithm
Correct answer: D. Banker's algorithm
Banker's algorithm uses the declared maximum claims to check whether a state is safe.
Practise more OS, DBMS, Networks & Computer Architecture (ISRO CS) questionsOS, DBMS, Networks & Computer Architecture (ISRO CS): notes and key points
More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions
- In a resource allocation graph where every resource type has a single instance, a cycle implies
- Memory access takes 200 ns, a page fault takes 8 ms to service, and the page-fault rate is 10^-6. The effective access time is about
- Seven units of one resource type are shared by processes that each need at most 3 units. What is the largest number of processes that…
- Which of the following CPU scheduling algorithms is non-preemptive by definition?
- Which layer of the OSI model is responsible for routing packets between networks?
- A page fault occurs when a process