Chapter 2, Topic 2 Flashcards
RAM and ROM and Cache
1
Q
Explain Primary Memory
A
- The only storage directly accessible by CPU.
- At any time, may hold both data and
instructions that are currently running on the computer system, stored as binary machine code.
2
Q
Function of RAM
A
- Very important.
- Stores the executing program instructions as well as any data that is needed.
- Instructions and data in RAM are stored in unique memory locations and every such location has an address as well as content.
- Content is where the instructions and data are, memory location us used by CPU to find, retrieve and access data in order to send it to ALU for processing.
- RAM is volatile, when power is lost, contents of its memory are wiped.
3
Q
Function of ROM
A
- Holds instructions and data in unique memory locations, which have a location, address and content.
- ROM is used to store permanent instruction and data that cannot be changed. Used to boot and operate computer.
- Stores instruction and data that cannot be altered/over-written.
- Stores the BIOS: small program that has boot up instructions.
4
Q
Function of Cache
A
A type of small, high-speed memory inside the CPU used to hold frequently used data.
5
Q
Difference between SRAM and DRAM
A
- SRAM is faster but more expensive than DRAM. DRAM is preferred for the main RAM of computer system.
- Cache is a type of SRAM.
6
Q
Difference between Level 1 and Level 2 Cache
A
L1 cache is placed on the microprocessor itself whereas L2 cache is placed between primary memory and microprocessor. Check slide 12.