1.
An un-interruptible unit is known as :
Answer: Option 'C'
atomic
2.
The TestAndSet instruction is executed :
Answer: Option 'C'
atomically
3.
Semaphore is a/an _______ to solve the critical section problem.
Answer: Option 'C'
integer variable
4.
The two atomic operations permissible on semaphores are :
Answer: Option 'A'
wait
5.
Spinlocks are :
Answer: Option 'D'
All of these
6.
The main disadvantage of spinlocks is that :
Answer: Option 'B'
they require busy waiting
7.
The wait operation of the semaphore basically works on the basic _______ system call.
Answer: Option 'B'
block()
8.
The signal operation of the semaphore basically works on the basic _______ system call.
Answer: Option 'B'
wakeup()
9.
If the semaphore value is negative :
Answer: Option 'A'
its magnitude is the number of processes waiting on that semaphore
10.
The code that changes the value of the semaphore is :
Answer: Option 'C'
critical section code