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

In the readers–writers problem, which access pattern is allowed?

In the readers–writers problem, which access pattern is allowed?

  1. A.Two writers at the same time
  2. B.A reader and a writer at the same time
  3. C.Several readers at the same time, but a writer only alone
  4. D.Only one reader at a time, ever
Answer & explanation

Correct answer: Several readers at the same time, but a writer only alone

Reading does not change the data, so readers can share; a writer needs exclusive access.

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 →