a) banker’s algorithm b) round-robin algorithm c) elevator algorithm d) karn’s algorithm Answer: a Explanation: Banker’s algorithm
View QuestionThe circular wait condition can be prevented by ____________
a) defining a linear ordering of resource types b) using thread c) using pipes d) all of the mentioned
View QuestionA system is in the safe state if ____________
a) the system can allocate resources to each process in some order and still avoid a deadlock
View QuestionWhich of the following condition is required for a deadlock to be possible?
a) mutual exclusion b) a process may hold allocated resources while awaiting assignment of other resources
View QuestionWhat is a reusable resource?
a) that can be used by one process at a time and is not depleted by that ...
View Question
Which of the following concurrency control protocols ensure both conflict serializability and freedom from deadlock?
I) 2-phase locking
II) Timestamp ordering
Which of the following concurrency control protocols ensure both conflict serializability and freedom from deadlock? I) 2-phase locking
View QuestionThe shrinking phase is a phase in which?
a) A transaction may obtain locks, but does not release any b) A transaction may obtain locks, and ...
View QuestionThe growing phase is a phase in which?.
a) A transaction may obtain locks, but does not release any b) A transaction may obtain locks, and ...
View QuestionThe two phase locking protocol consists of ____________
a) growing & shrinking phase b) shrinking & creation phase c) creation & growing phase d) destruction & creation phase Answer: ...
View QuestionA locking protocol is one that ____________
a) governs how locks are acquired b) governs how locks are released c) governs how locks are acquired and released d) none ...
View Question