Memory Flashcards
Main / Primary Memory
Name as many as you can
Ram
Rom
Cache
Registers
Secondary storage
Name as many as you can (There are 12)
Cache
Hard disk
Floppy disk
Optical disk
Tape
Magnetic tape
SSD
SD card
Flash drive
Flash memory
Compact Disk (CD)
DVD
What is the purpose of primary storage in the FDE cycle?
It is where instructions and data are stored and are fetched to CPU
Where the results of any calculations are stored
What is the FDE cycle?
Fetch - Instructions are fetched from memory
Decode - Instructions are decoded so the CPU can execute it
Execute - Instructions are carried out / calculations are made
The size of memory is measured in what?
Bits / Bytes
Bits -> Kb -> Mb -> Gb
Bytes -> KB -> MG -> GB
Put registers, caches and ram in size order:
Smallest first
- Registers
- Caches
- RAM
Put chaches, registers and RAM in speed order:
Fastest first
- Registers
- Caches
- RAM
What is the purpose of cache?
Cache stores a copy of recently accessed memory that has been copied from main memory so it can be used quickly
Write through - Update the cache and the main memory at the same time - Slower
Something else - Update just the cache and only replace main memory when the computer needs to free up space in the cache