Multiple Choice
Which of the following statements about critical sections is false?
A) Only one thread at a time can execute the instructions in its critical section for a particular resource.
B) If one thread is already in its critical section, another thread must wait for the executing thread to exit its critical section before continuing.
C) Once a thread has exited its critical section, a waiting thread may enter its critical section.
D) All threads must wait whenever any critical section is occupied.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Which property of mutual exclusion primitives is
Q2: Semaphores can be used for each of
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