Test yourself on RAM, ROM, cache, registers and the memory hierarchy. Pick one answer for each question, then read the explanation.
Primary Memory: RAM, ROM, Cache and Registers: Quiz
Practice Questions with Answers
1. Which memory does the CPU read and write directly?
- Primary memory
- Secondary memory
- Tertiary memory
- Virtual tape
Primary memory, also called main memory, is directly accessible to the CPU.
2. What does RAM stand for?
- Read access memory
- Random access memory
- Rapid active memory
- Run any memory
RAM means random access memory. It is the working space of the computer.
3. What does it mean that RAM is volatile?
- It cannot be written
- It stores data forever
- It loses data when power goes off
- It works only with cache
Volatile memory needs power to keep its data.
4. Which memory keeps its data even when the power is off?
- ROM
- SRAM
- DRAM
- Cache
ROM is non-volatile, so it keeps its data without power.
5. Which type of RAM must be refreshed again and again?
- SRAM
- ROM
- PROM
- DRAM
A DRAM capacitor leaks charge, so the memory needs refreshing.
6. Which memory type usually builds the cache?
- DRAM
- SRAM
- EPROM
- Mask ROM
SRAM is faster but costlier, so it suits the cache. DRAM suits main memory.
7. Which ROM can the user program only once?
- Mask ROM
- EPROM
- PROM
- EEPROM
PROM is programmable by the user one time.
8. Which ROM is erased with strong ultraviolet light?
- EPROM
- PROM
- EEPROM
- Mask ROM
EPROM needs ultraviolet light to erase it. Then it can be programmed again.
9. Which ROM can be erased electrically without removing the chip?
- EPROM
- PROM
- Mask ROM
- EEPROM
EEPROM erases and rewrites with electric signals.
10. Where do the BIOS or UEFI programs usually sit?
- In the hard disk
- In EEPROM or flash memory
- In DRAM
- In registers
Storing firmware in EEPROM or flash lets the computer update it in place.
11. Which memory unit is the smallest and fastest?
- Cache
- RAM
- Registers
- Hard disk
Registers sit inside the CPU and respond fastest of all.
12. Which cache level sits closest to the core?
- L1
- L2
- L3
- L4
L1 is closest, so it is the fastest and the smallest level.
13. What is it called when the CPU finds the needed data in the cache?
- Cache miss
- Page fault
- Refresh
- Cache hit
A hit means the data is already in the cache. A miss means the CPU must fetch it from RAM.
14. What happens as you go down the memory hierarchy?
- Memory gets smaller and faster
- Memory gets faster and costlier
- Memory speed stays the same
- Memory gets bigger and slower
Lower levels are larger and slower, and their cost per byte is lower.
15. How many bits make one byte?
- 4
- 8
- 16
- 1,024
One byte equals 8 bits. Four bits make a nibble.
16. How many bytes are there in 1 KB?
- 1,000
- 512
- 1,024
- 8,192
In computer memory, 1 KB equals 1,024 bytes.
Printed from https://learnwithvinod.com/quiz/primary-memory-of-computer-quiz/




