1.

Which of the following does not need to have a semaphore?(a) double buffer(b) single buffer(c) buffer exchange(d) directional bufferI have been asked this question in an internship interview.Origin of the question is Buffer Exchange in division Buffering and other Data Structures of Embedded Systems

Answer» CORRECT option is (c) BUFFER exchange

Explanation: There are MANY advantages over the buffer exchange. ONE such is that it will not have a SEMAPHORE to control any shared memory or buffers.


Discussion

No Comment Found

Related InterviewSolutions