Buffer Memory

Embedded System

This set of Embedded Systems Multiple Choice Questions & Answers (MCQs) focuses on “Buffer Memory”.

1. How a buffer memory allocate its memory through the linker?
a) statically
b) dynamically
c) linearly
d) non-linearly

2. How did a buffer memory allocate in the runtime?
a) linearly
b) non-linearly
c) statically
d) dynamically

3. Which allocation requires the memory to be defined before building the application?
a) dynamic allocation
b) static allocation
c) linear allocation
d) straight allocation

4. What factor depends on the allocation of buffer memory?
a) nature
b) size
c) variable type and definition
d) variable size and type

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

6. Which is the counterpart of the malloc()?
a) unmalloc()
b) proc()
c) struc()
d) return()

7. How is the UNIX operating system allocates its memory?
a) statically
b) linearly
c) non linearly
d) dynamically

8. Which term is used to describe a bug within the memory system?
a) memory leakage
b) buffer memory
c) system call
d) register leakage

9. What are the common errors that are seen in memory leakage?
a) memory size
b) memory type
c) stack frame error
d) stack register

10. How the stack frame errors are caused?
a) stack overflow
b) underrun
c) overrun
d) timing

11. Which of the following clean up the stack?
a) interrupt handler
b) processor
c) exception handler
d) memory handler

12. Which of the following stores the context of the exception?
a) stack
b) register
c) ROM
d) RAM

13. Which of the following contains the return information of the stack?
a) table
b) vector
c) frame
d) block

Leave a Reply

Your email address will not be published. Required fields are marked *