← Quiz: Process Synchronization: all 10 questions
Quiz: Process Synchronization · Question 4 of 10
What does signal(S) do?
What does signal(S) do?
- A.Decrements S and may block
- B.Increments S and may wake a waiting process
- C.Deletes the semaphore
- D.Locks the CPU
Answer & explanation
Correct answer: Increments S and may wake a waiting process
signal (V/up) increases the count; wait (P/down) decreases it or blocks.
Can you get the rest right without peeking?
Take the timed Quiz: Process Synchronization quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →