Contents

In reader writer problem some process changes or insert information from the objects are called
a) Reader                             
b) Writer
c) both                                  
d) none of these

b

How many possible policies for doing reader-writer problem?
a) one    
b) two    
c) three  
d) four

b

Explanation: first reader-writer, second reader-writer


How many philosophers are around a dining table?
a) Six     
b) Five  
c) Four  
d) Three

b

The bounded buffer problem is also known as…
a) Reader- writer problem 
b) Dining philosopher problem
c) Producer- Consumer   
d) none of mentioned

c

In sleeping barber problem barber goes to sleep if……
a) There is no customer                   
b) there is a customer
c) customer is busy             
d) none of mentioned

a

How much barber sleeping problem uses semaphores?
a) Four  
b) Three               
d) Five   
d) Two

b

Explanation: customers, barbers, mutex