Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

51.

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.
52.

Which of the following is a condition for buffer overrun?(a) cannot accept data(b) cannot receive data(c) cannot provide data(d) can provide dataThe question was asked in examination.Asked question is from Buffers in section Buffering and other Data Structures of Embedded Systems

Answer»

The correct OPTION is (a) cannot accept DATA

Best EXPLANATION: The BUFFER involves two conditions. These are the buffer overrun CONDITION and the buffer underrun condition. If the buffer cannot accept any more data, it is said to be buffer overrun.

53.

Which technique can solve the errors in the linear buffer?(a) low water mark(b) high water mark(c) low and high water mark(d) pointerThis question was addressed to me in an interview.This interesting question is from Types of Buffers in portion Buffering and other Data Structures of Embedded Systems

Answer»
54.

Which device can compensate for the timing problems between the software?(a) index(b) register(c) buffer(d) memoryI got this question in unit test.Enquiry is from Buffers in portion Buffering and other Data Structures of Embedded Systems

Answer»

The correct option is (c) BUFFER

The best I can explain: The buffer is used to store data temporarily which can be used to compensate the timing problems between the SOFTWARE and it can ALSO be used as a collection POINT for data, that is all the important information can be collected and organised before processing.

55.

What occurs first if data is stored in the buffer?(a) speed increases(b) linear shoot(c) overshoot(d) delayThis question was posed to me by my college professor while I was bunking the class.The origin of the question is Buffers topic in section Buffering and other Data Structures of Embedded Systems

Answer»

The correct option is (d) DELAY

Easy EXPLANATION: When the DATA is stored in the buffer, at FIRST there will be a delay and the SUBSEQUENT data is received from the buffer. This delay is known as buffer latency.