Memory Flashcards
What is Memory?
Memory is the part of a computer that holds data and instructions for processing. It is separate from the CPU.
What is RAM?
RAM stands for Random Access Memory.
What is Static Memory Allocation?
A process in which memory for variables and data structures is reserved at compile time before the program runs.
What is Dynamic Memory Allocation?
Where memory space is assigned during program execution or run time.
Why does the memory only store instructions/data for so long as a program is using it?
Data is destroyed when the computer is turned off. If more than one program is running, a single program cannot lay claim to memory. There may not be room in memory to hold the processed data.
What is Volatile Memory?
Volatile memory is memory that only retains information while the machine is powered on. If power is interrupted or turned off, data is lost. RAM is one type of volatile memory.
What is RAM?
RAM stands for Random-Access Memory, which temporarily stores data while the CPU is executing other tasks. The more RAM on the computer, the less the CPU has to read data from external/secondary memory, increasing speed. RAM is fast but volatile.
What is ROM?
ROM stands for Read-Only Memory. It is non-volatile, so data is retained even without power. It is mainly used to start the computer.
What is DRAM?
DRAM is a type of RAM.
Describe the L1 cache
The L1 cache is extremely fast transfer rate but is usually small in size. The processor uses L1 cache to store its most frequently used data and instructions
Describe L2 cache
L2 is bigger than L1 but slower in speed. Holds data and instructions that are used less frequently
Describe L3 cache
L3 is specialised to improve performance of L1 and L2. L1 and L2 can share L3 cache.
What is the MMU?
Memory Management Unit. It handles all memory and caching operations related to the processor.
What is a DMA request?
Direct Memory Access request
What is an IRQ request?
Interrupt request