Multiple Choice
Semaphores can be used for each of the following purposes except:
A) to protect access to a critical section
B) to notify the process that an event has occurred
C) to prevent shared variables from getting corrupted
D) to synchronize two or more concurrent threads
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Which property of mutual exclusion primitives is
Q3: Which of the following statements about critical
Q4: _ occurs when an infinite loop prevents
Q5: A _ is a variable that governs
Q6: The test-and-set instruction _.<br>A) prevents deadlock<br>B) prevents
Q7: If a thread attempts a P operation
Q8: _ restricts access to a shared variable
Q9: A thread that uses processor cycles to
Q10: Disabling interrupts _.<br>A) is a viable solution
Q11: Threads that operate independently of one another