Beginner Operating Systems
Q22 / 100

What is the Producer-Consumer problem?

Correct! Well done.

Incorrect.

The correct answer is B) A classic synchronization problem where producers add items to a bounded buffer and consumers remove them, requiring coordination

B

Correct Answer

A classic synchronization problem where producers add items to a bounded buffer and consumers remove them, requiring coordination

Explanation

The producer-consumer (bounded buffer) problem requires synchronization with semaphores: empty (count of free slots), full (count of filled slots), and mutex for buffer access.

Progress
22/100