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

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

 

32. Which process takes place when the buffer is empty?

A. read
B. write
C. read and write
D. memory access

Answer: A

The buffer exchange will contain the data in the case of the writing process but the buffer will be emptied in the case of the read cycle.

 

33. Which process takes place when the buffer contains data?

A. read
B. read and write
C. acknowledge
D. write

Answer: D

The buffer will be emptied in the case of the reading process and it will contain the data in case of the writing process.

 

34. Which of the following does not need to have a semaphore?

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

Answer: C

There are many advantages over the buffer exchange. One such is that it will not have a semaphore to control any shared memory or buffers.

 

35. Which buffer can assimilate a large amount of data before processing?

A. single buffer
B. double buffer
C. multiple buffers
D. directional buffer

Answer: C

The requesting task can use multiple buffers which can assimilate large amounts of data before processing. This can be considered one of the advantages of the buffer exchange.

 

36. Which can reduce the latency?

A. partial filling
B. complete filling
C. no filling
D. multiple buffers

Answer: A

The latency is introduced because of the size of the buffer. The partial filling of data can be used to reduce the latency but it requires some additional control signal.

 

37. Which of the following can indicate when the buffer is full or ready for collection?

A. intra-task communication
B. inter-task communication
C. memory task communication
D. peripheral task communication

Answer: B

The level of the inter-task communication can indicate the buffer status, that is whether it is full or ready for collection.

 

38. What solution can be done for the inefficiency in the memory usage of small data?

A. same size buffer
B. single buffer
C. variable size buffer
D. directional buffer

Answer: C

The buffer exchange becomes inefficient while concerning the memory usage for small and simple data. In order to solve this problem, variable size buffers can be used but this requires a more complex operation to handle the length of the valid data.

 

39. Which processor has a different segment buffer?

A. 8051
B. 8086
C. ARM
D. MC68HC11

Answer: B

The 8086 has a segmented architecture where the buffers are having different segments. In such processors, the device driver is running in the supervisor mode, requesting tasks in the user mode, and so on.

 

40. Which of the following can combine buffers in a regular and methodical way using pointers?

A. buffer exchange
B. directional buffer
C. linked lists
D. double buffer

Answer: C

The linked lists are a way of combining buffers in a methodical way and regular method by using the pointers to point to the next entry in the list. This can be maintained by adding an entry to the which contains the address of the next buffer.

Scroll to Top