🎙 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 1 of 10

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

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

  1. A.Race condition
  2. B.Deadlock
  3. C.Context switch
  4. D.Page fault
Answer & explanation

Correct answer: Race condition

The outcome depended on the interleaving of operations.

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 →