What is the main disadvantage of spinlocks?
A. They are not sufficient for many process
B. They require busy waiting
C. They are unreliable sometimes
D. They are too complex for programmers
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
What are the two atomic operations permissible on semaphores?
A. Wait and signal
B. Stop and wait
C. Hold and signal
D. None of the mentioned
Semaphore is a/an _______ to solve the critical section problem.
A. Hardware for a system
B. Special program for a system
C. Integer variable
D. None of the mentioned
TestAndSet instruction is executed ____________
A. After a particular process
B. Periodically
C. Atomically
D. None of the mentioned
An un-interruptible unit is known as ____________
A. Single
B. Atomic
C. Static
D. None 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
Which one of the following is a visual ( mathematical ) way to determine the deadlock occurrence?
A. Resource allocation graph
B. Starvation graph
C. Inversion graph
D. None of the mentioned