← 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?
- A.Two writers at the same time
- B.A reader and a writer at the same time
- C.Several readers at the same time, but a writer only alone
- 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 →