Types of Buffer MCQ Quiz – Objective Question with Answer for Types of Buffer MCQ

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.

Scroll to Top