Buffering and other Data Structures MCQs Quiz with Answers

Buffering and other Data Structures MCQs Quiz with Answers

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

A. buffer. 

B. register. 

C. table. 

D. flag. 

Answer= buffer


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

A. register. 

B. buffer. 

C. flag register. 

D. accumulator. 

Answer= buffer


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

A. index. 

B. register. 

C. buffer. 

D. memory. 

Answer= buffer


4. What do a buffer consist of?. 

A. memory and register. 

B. memory and peripheral. 

C. memory and flag register. 

D. memory and pointer. 

Answer= memory and pointer


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= cannot accept data


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= underrun


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

A. memory. 

B. ram. 

C. pointer. 

D. slack. 

Answer= pointer


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= 32-bit word


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

A. speed increases. 

B. linear shoot. 

C. overshoot. 

D. delay. 

Answer= delay


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= buffer latency


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= latency


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

A. buffer. 

B. latency. 

C. pointer. 

D. memory. 

Answer= latency


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= memory and a register


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

A. memory. 

B. pointer. 

C. stack. 

D. register. 

Answer= register


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= digital signal processor


16. 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= buffer exchange


17. Which buffering mechanism is common to the SPOX operating system?. 

A. buffer exchange. 

B. single buffer. 

C. linear buffer. 

D. directional buffer. 

Answer= buffer exchange


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

A. single buffer. 

B. buffer exchange. 

C. directional buffer. 

D. double buffer. 

Answer= buffer exchange


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

A. read. 

B. write. 

C. read and write. 

D. memory access. 

Answer= read


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

A. read. 

B. read and write. 

C. acknowledge. 

D. write. 

Answer= write


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

A. double buffer. 

B. single buffer. 

C. buffer exchange. 

D. directional buffer. 

Answer= buffer exchange


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

A. single buffer. 

B. double buffer. 

C. multiple buffers. 

D. directional buffer. 

Answer= multiple buffers


23. Which can reduce the latency?. 

A. partial filling. 

B. complete filling. 

C. no filling. 

D. multiple buffers. 

Answer= partial filling


24. 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= inter-task communication


25. 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= variable size buffer


26. Which processor has a different segment buffer?. 

A. 8051. 

B. 8086. 

C. ARM. 

D. MC68HC11. 

Answer= 8086


27. 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= linked lists


28. Which entry will have a special value in the linked list?. 

A. first entry. 

B. last entry. 

C. second entry. 

D. second last entry. 

Answer= last entry


29. Which entry can use the pointer in the linked list?. 

A. first entry. 

B. last entry. 

C. second entry. 

D. third entry. 

Answer= first entry


30. 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= linear buffer


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

A. linear buffer. 

B. circular buffer. 

C. directional buffer. 

D. double buffer. 

Answer= linear buffer


32. 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= linear buffer


33. 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= underrun


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

A. underrun. 

B. overrun. 

C. critical time. 

D. pointer. 

Answer= overrun


35. Which techni can solve the errors in the linear buffer?. 

A. low water mark. 

B. high water mark. 

C. low and high water mark. 

D. pointer. 

Answer= low and high water mark


36. Which of the following is similar to the high and low water marks at the coast?. 

A. minimum and maximum water level. 

B. low and high water mark. 

C. small and big water mark. 

D. medium and high water mark. 

Answer= low and high water mark


37. Which of the following determines the number of entries in the buffer?. 

A. low water mark. 

B. high water mark. 

C. low and high water mark. 

D. small and big water mark. 

Answer= low water mark


38. 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= high water tank


39. In which case, the buffer is used by two software task?. 

A. single buffer. 

B. linear buffer. 

C. double buffer. 

D. directional buffer. 

Answer= single buffer


40. Which buffer is important for the signal data?. 

A. double buffer. 

B. single buffer. 

C. linear buffer. 

D. directional buffer. 

Answer= directional buffer


41. Which of the following uses two buffers?. 

A. linear buffer. 

B. single buffer. 

C. double buffer. 

D. directional buffer. 

Answer= double buffer


42. 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= single buffer


43. How a buffer memory allocate its memory through the linker?. 

A. statically. 

B. dynamically. 

C. linearly. 

D. non-linearly. 

Answer= statically


44. How did a buffer memory allocate in the runtime?. 

A. linearly. 

B. non-linearly. 

C. statically. 

D. dynamically. 

Answer= dynamically


45. Which allocation requires the memory to be defined before building the application?. 

A. dynamic allocation. 

B. static allocation. 

C. linear allocation. 

D. straight allocation. 

Answer= static allocation


46. What factor depends on the allocation of buffer memory?. 

A. nature. 

B. size. 

C. variable type and definition. 

D. variable size and type. 

Answer= variable type and definition


47. Which are the system calls which are used by the UNIX operating system?. 

A. malloc(). 

B. unmalloc(). 

C. malloc() and unmalloc(). 

D. proc() and return. 

Answer= malloc() and unmalloc()


48. Which is the counterpart of the malloc()?. 

A. unmalloc(). 

B. proc(). 

C. struc(). 

D. return(). 

Answer= unmalloc()


49. How is the UNIX operating system allocates its memory?. 

A. statically. 

B. linearly. 

C. non linearly. 

D. dynamically. 

Answer= dynamically


50. Which term is used to describe a bug within the memory system?. 

A. memory leakage. 

B. buffer memory. 

C. system call. 

D. register leakage. 

Answer= memory leakage


51. What are the common errors that are seen in memory leakage?. 

A. memory size. 

B. memory type. 

C. stack frame error. 

D. stack register. 

Answer= stack frame error


52. How the stack frame errors are caused?. 

A. stack overflow. 

B. underrun. 

C. overrun. 

D. timing. 

Answer= stack overflow


53. Which of the following clean up the stack?. 

A. interrupt handler. 

B. processor. 

C. exception handler. 

D. memory handler. 

Answer= exception handler


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

A. stack. 

B. register. 

C. ROM. 

D. RAM. 

Answer= stack


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

A. table. 

B. vector. 

C. frame. 

D. block. 

Answer= frame

 

Previous Post Next Post