Skills101
← All practice quizzes

Quiz: Process Synchronization

5 questionsNo time limitPass: 60%+10 XP on first pass

What goes wrong when threads share data, the critical section problem, mutex locks, semaphores (wait/signal), and the classic producer-consumer, readers-writers and dining philosophers problems.

Log in to take the quiz

Free account · see your score, answers and explanations, earn XP

  1. Question 1

    Two threads update a shared counter and one update is lost. This is a:

  2. Question 2

    Which is NOT a requirement of a critical-section solution?

  3. Question 3

    A counting semaphore initialised to 3 controls access to:

  4. Question 4

    What does signal(S) do?

  5. Question 5

    Key difference between a mutex and a semaphore?