🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Process Synchronization: all 10 questions

Quiz: Process Synchronization · Question 4 of 10

What does signal(S) do?

What does signal(S) do?

  1. A.Decrements S and may block
  2. B.Increments S and may wake a waiting process
  3. C.Deletes the semaphore
  4. 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 →