Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Semaphore operation in sequence for producer processes in bounded buffer problem using semaphore empty, full, mutex 

(A) Signal (Full) → indicating that the new item has been produced and added to the buffer 

(B) Wait (Empty) → check if there is space in the buffer to add new item 

(C) Produce an item and store it in buffer 

(D) Wait (Mutex) → enter the critical section to insert the item safely 

(E) Signal (Mutex) → leaves the critical section after inserting the item 

(a) A, E, C, B, D 
(b) C, B, A, D, E 
(c) D, E, A, C, B 
(d) B, D, C, E, A





Solution



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...