1.

In the Zero capacity queue __________(a) the queue can store at least one message(b) the sender blocks until the receiver receives the message(c) the sender keeps sending and the messages don’t wait in the queue(d) none of the mentionedI have been asked this question at a job interview.My question is based upon Inter Process Communication in division Processes of Operating System

Answer»

The correct answer is (B) the sender BLOCKS until the receiver receives the message

Best EXPLANATION: In the Zero capacity queue the sender blocks until the receiver receives the message. Zero capacity queue has maximum capacity of Zero; thus message queue does not have any WAITING message in it.



Discussion

No Comment Found

Related InterviewSolutions