Buffer Memory MCQ Quiz – Objective Question with Answer for Buffer Memory

11. Which of the following clean up the stack?

A. interrupt handler
B. processor
C. exception handler
D. memory handler

Answer: C

The exception handler cleans up the stack memory before returning to the previous executing software thread or the generic handler.

 

12. Which of the following stores the context of the exception?

A. stack
B. register
C. ROM
D. RAM

Answer: A

The exception handler is the one that cleans up the stack memory before returning to the previous executing software thread and the ROM stores the context of the exception in the stack automatically or as a part of the exception routine.

 

13. Which of the following contains the return information of the stack?

A. table
B. vector
C. frame
D. block

Answer: C

The stack contains certain frames which are used to store the return information of the stack and thus the frame need to be removed by adjusting the stack pointer accordingly. Normally this is done to avoid memory leakage.

 

14. Which of these is an area for temporary memory storage?

A. buffer
B. register
C. table
D. flag

Answer: A

The buffer is an area that is used to store data temporarily which can be used to compensate for the timing problems.

 

15. Which of the following can be used as a collection point of data?

A. register
B. buffer
C. flag register
D. accumulator

Answer: B

The buffer can be used as a collection point for data, that is all the important information can be collected and organized before processing.

 

16. Which device can compensate for the timing problems between the software?

A. index
B. register
C. buffer
D. memory

Answer: C

The buffer is used to store data temporarily which can be used to compensate for 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 organized before processing.

 

17. What does a buffer consist of?

A. memory and register
B. memory and peripheral
C. memory and flag register
D. memory and pointer

Answer: D

The buffer consists of a pointer and memory which can be used to locate the next piece of data to be removed or accessed from the buffer.

 

18. 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 data

Answer: A

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 a buffer overrun.

 

19. What is the state of the buffer if it asked for data and cannot provide it?

A. overrun
B. underrun
C. remains unchanged
D. beyond overrun

Answer: B

The buffer is said to be overrun if the buffer cannot accept any more data and said to be underrun if it asked for data but is not able to provide it.

 

20. Which of the following can remove data from the buffer?

A. memory
B. ram
C. pointer
D. slack

Answer: C

The data can be removed from the buffer using a pointer. The pointer locates the next value and can move the data from the buffer and is moved to the next location by incrementing its value by the number of words or bytes.

Scroll to Top