The Bounded Buffer problem is also known as the ________.
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. Producer–Consumer problem
Explanation
The classic Bounded Buffer problem has one or more producer processes inserting items into a fixed-size shared buffer and one or more consumer processes removing them, synchronised with semaphores or monitors so producers block when the buffer is full and consumers block when it is empty. This is exactly the setup textbooks define as the Producer–Consumer problem, and the two names are used interchangeably. The Reader–Writer problem instead concerns concurrent read/write access to shared data, and the Dining Philosophers problem models circular resource contention, so neither matches the bounded-capacity-buffer scenario, making option (i) correct.More Computer System Architecture questions
- Two atomic operations permissible on semaphores are ________ and ________.
- Three processes share a single counting semaphore S whose initial value is 1. All three execute wait(S) one after another, in the order P2,…
- In the UNIX operating system, when a process creates a child process using the fork() system call, which of the following is genuinely shar…
- A system has 12 instances of a resource R shared among four processes. The maximum need and current allocation of each process are: Process…
- Match List I with List II
- The write operation in I/O operation does the following-