Buffer in Microcontroller MCQ Quiz – Objective Question with Answer for Buffer in Microcontroller

21. Which technique can solve the errors in the linear buffer?

A. low watermark
B. high watermark
C. low and high watermark
D. pointer

Answer: C

The errors in the linear buffering include the loss of data, especially during the regular sampling which can be avoided by the pointers that are checked against certain values and this result is used for fetching more data. These points are known as the low watermark and the high watermark.

 

22. Which of the following is similar to the high and low watermarks at the coast?

A. minimum and maximum water level
B. low and high watermark
C. small and big watermark
D. medium and high watermark

Answer: B

There are some errors in the linear buffering which includes the loss of data, especially in the regular sampling. This can be avoided by the pointers that are checked against certain values and the result is used to fetch more data. These points are known as the low watermark and the high watermark. It is named so because it is similar to the high and low watermarks seen at the coast which indicates the maximum and minimum levels that the tidal water will fall and rise.

 

23. Which of the following determines the number of entries in the buffer?

A. low watermark
B. high watermark
C. low and high watermark
D. small and big watermark

Answer: A

The number of entries below the low water mark determines the number of entries the buffer has and the amount of time that is available to fill the buffer before empties and the condition is known as underrun.

 

24. Which of the following determines the number of empty entries?

A. low water tank
B. high water tank
C. small water tank
D. big water tank

Answer: B

The high water tank measures the number of empty entries, that is the number of empty entries above the high water tank determines the length of time which is available to stop the filling of the buffer and it can prevent the data loss through overrunning.

 

25. In which case, the buffer is used by two software tasks?

A. single buffer
B. linear buffer
C. double buffer
D. directional buffer

Answer: A

In the single buffer, the buffer is used by two software tasks to insert or extract information. The problem with this buffer is that the water level is above or below, and the free space that is used to fill the buffer does not lie in the correct location.

 

26. Which buffer is important for the signal data?

A. double buffer
B. single buffer
C. linear buffer
D. directional buffer

Answer: D

The directional buffer is used for the signal data or for the data which is sampled periodically. The data must be kept in the same order in order to preserve it in chronological order.

 

27. Which of the following uses two buffers?

A. linear buffer
B. single buffer
C. double buffer
D. directional buffer

Answer: C

The double buffer uses buffers as its name suggests, one buffer is for filling and the other buffer is for extraction.

 

28. Which of the following uses a single low water tank and a next data pointer?

A. single buffer
B. double buffer
C. directional buffer
D. linear buffer

Answer: A

The single buffer uses a single low water tank and a next data pointer. The next data pointer is used for accessing the next entry that should be extracted.

 

29. Which of the following allows the multiple tasks to process data simultaneously?

A. single buffer
B. double buffer
C. buffer exchange
D. directional buffer

Answer: C

The buffer exchange allows the multiple tasks to process simultaneously without having to have control structures to supervise access and it is also used to simplify the control code.

 

30. Which buffering mechanism is common to the SPOX operating system?

A. buffer exchange
B. single buffer
C. linear buffer
D. directional buffer

Answer: A

The buffer exchange can support the SPOX operating system which is used for the digital signal processors and it is easy to implement.

Scroll to Top