Buffer MCQ Quiz – Objective Question with Answer for Buffer

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

 

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

 

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

 

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

 

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

 

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

 

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

 

8. How many bits does a 32-bit processor can access?

A. 32-bit char
B. 32-bit word
C. 32-bit double
D. 32-bit double word

Answer: B

The 32-bit processor can access 32-bit words and hence the pointer is incremented by one.

 

9. What occurs first if data is stored in the buffer?

A. speed increases
B. linear shoot
C. overshoot
D. delay

Answer: D

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.

 

10. Which of the following defines the earliest information that is passed through the buffer?

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

Answer: A

The buffer latency determines the earliest information that passes through the buffer and any response to that information will be delayed by the buffer latency irrespective of how fast the processor is.

 

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.

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

3. Which buffers exchange the empty buffers for full ones?

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

Answer: B

The buffer exchange can be used for exchanging the empty buffers with the full ones. It will have more than two buffers.

Scroll to Top