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

11. Which of the following possesses a problem for data streams on the real-time operating system?

A. pointer
B. memory
C. latency
D. processor

Answer: C

The latency will be a problem for the real-time operating system such as the digital audio system which must have a consistent and regular stream of data.

 

12. Which of the following determines the time to take a simple sample?

A. buffer
B. latency
C. pointer
D. memory

Answer: B

The sampling is performed on a regular basis in which the filtering takes less time than the interval between the sample this does not need a buffering and it will have very low latency. Each sample is received, processed, and stored and the latency is the time takes a single sample.

 

13. How is a stack created?

A. slack and pointer
B. stack and memory
C. memory and a pointer
D. memory and a register

Answer: D

The slack is created in the same way as the buffer does, that is by using a memory and a pointer. The control associated with the buffer or memory is a register that acts as an address pointer.

 

14. Which of the following acts as an address pointer?

A. memory
B. pointer
C. stack
D. register

Answer: D

The control associated with the buffer or memory is a register that acts as an address pointer.

 

15. Which of the following possesses an issue while concerning the memory size of the buffer?

A. digital signal processor
B. microprocessor
C. memory
D. pointer

Answer: A

The digital signal processor with on-chip memory and the microcontroller possess an issue concerning the memory size of the buffer with small amounts of RAM. But with the large system, this is not a major issue.

 

16. Which of the buffers has a single piece of linear contiguous memory?

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

Answer: B

The linear buffer is contiguous memory which is a single piece of memory that is controlled by the pointers whose address increments linearly.

 

17. Which buffer will lose data when it is full?

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

Answer: A

The linear buffer has a single piece of contiguous memory which is controlled by the pointers whose address increments linearly and it will lose data when it is full and fail to provide data when it is empty.

 

18. Which of the following buffers loses the incoming data when it is full?

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

Answer: C

The linear buffer will lose the incoming data when full such that the data it contains become older, which is known as the overrun condition.

 

19. Which state of the linear buffer will provide old data when it is empty?

A. overrun
B. critical timing
C. peak overshoot
D. underrun

Answer: D

In the linear buffer, when it is empty it will provide the old data, usually the last entry so that the processor will continue to process the incorrect data potentially, and this condition is known as underrun.

 

20. Which state of the linear buffer loses its incoming data when full?

A. underrun
B. overrun
C. critical time
D. pointer

Answer: B

In the overrun condition, the linear buffer will lose the incoming data when the buffer is filled and the data it contains become older.

Scroll to Top