MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
System Administrator 2026
What is the drawback of banker’s algorithm?
- A. In advance processes rarely know how much resource they will need
- B. The number of processes changes as time progresses
- C. Resource once available can disappear
- D. All of the mentioned
To avoid deadlock ____________
- A. There must be a fixed number of resources to allocate
- B. Resource allocation must be done only once
- C. All deadlocked processes must be aborted
- D. Inversion technique can be used
What are Spinlocks?
- A. Cpu cycles wasting locks over critical sections of programs
- B. Locks that avoid time wastage in context switches
- C. Locks that work better on multiprocessor systems
- D. All of the mentioned
.