Multiple Choice
Which of the following statements about semaphores is false?
A) A thread performs the P operation after it enters its critical section.
B) A thread performs the V operation before exiting its critical section.
C) Initializing a semaphore sets the value of a protected variable to indicate that no thread is executing its critical section.
D) Initializing a semaphore creates a queue that stores references to threads waiting to enter their critical sections protected by that semaphore.
Correct Answer:

Verified
Correct Answer:
Verified
Q16: Which of the following mutual exclusion algorithms
Q17: Semaphore operations can be implemented in the
Q18: In Java, the sleep method call must
Q19: In Java, Object method notify transitions a
Q20: Code inside a critical section should _.<br>A)
Q21: Lockstep synchronization does not _.<br>A) occur when
Q22: Preventing more than one thread from accessing
Q23: Many system architectures support a(n) _ instruction
Q24: Which of the following statements about Lamport's
Q26: The constructs that encapsulate a thread's critical