Operating Systems Concepts

Q1:

Producer consumer problem can be solved using

A semaphores

B event counters

C monitors

D all of the above

E None of the above

ANS:D - all of the above

Counter is basically an integer which is incremented by 1 whenever producer produces provided counter size is lesser than the buffer size. Also, the counter is decremented by 1 whenever consumer reads from buffer provided counter is not 0.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.