Question: please answer me in 50 min Program Design (10) There is a plate on the table. You can only put one apple or one banana

please answer me in 50 min
Program Design (10) There is a plate on the table. You can only put one apple or one banana on the plate. If the father puts an apple on the plate, the son picks it up and eats it. If the father puts a banana on the plate, the daughter picks it up and eats it. Define the semaphore and write the PV (or wait/signal) semaphore operations to solve this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
