Computer Memory is one of the most important topics in Computer GK for competitive exams. Questions related to RAM, ROM, Cache Memory, memory units, primary memory and secondary memory are frequently useful for SSC, Banking, Railway, UPSC and State PSC examinations.
What is Computer Memory?
Computer memory is the storage area used by a computer to store data, instructions and information. Depending on its purpose and technology, computer memory can be classified into different types.
Types of Computer Memory
Computer memory is broadly divided into:
- Primary Memory
- Secondary Memory
Primary Memory
Primary memory is directly accessible by the CPU and is used while the computer is processing data. RAM, ROM and Cache Memory are important types of primary memory.
RAM – Random Access Memory
RAM stands for Random Access Memory. It temporarily stores data and instructions that are currently being used by the CPU.
RAM is generally volatile memory, which means its contents are lost when the power is switched off.
Types of RAM
1. SRAM – Static RAM
- SRAM stands for Static Random Access Memory.
- It stores data using flip-flop circuits.
- It is faster than DRAM.
- It is more expensive and requires more physical space.
- It is commonly associated with cache memory.
2. DRAM – Dynamic RAM
- DRAM stands for Dynamic Random Access Memory.
- It stores data using capacitors.
- It requires periodic refreshing.
- It is slower than SRAM but comparatively cheaper.
- It is widely used as the main system memory.
ROM – Read Only Memory
ROM stands for Read Only Memory. It is non-volatile memory, so stored information is retained even when the power is switched off.
Types of ROM
1. PROM
PROM stands for Programmable Read Only Memory. It can be programmed after manufacturing, generally only once.
2. EPROM
EPROM stands for Erasable Programmable Read Only Memory. Its contents can be erased using ultraviolet light and then programmed again.
3. EEPROM
EEPROM stands for Electrically Erasable Programmable Read Only Memory. Its contents can be erased and reprogrammed electrically.
Cache Memory
Cache memory is a small, high-speed memory located close to the CPU. It stores frequently used data and instructions so that the processor can access them quickly.
Cache memory is generally faster than main memory and helps reduce the time required by the CPU to access frequently needed information.
Levels of Cache Memory
- L1 Cache: Very fast and usually the smallest cache, located closest to the CPU core.
- L2 Cache: Larger than L1 and generally slower than L1.
- L3 Cache: Larger than L2 and commonly shared among CPU cores in modern processors.
Primary Memory vs Secondary Memory
| Feature | Primary Memory | Secondary Memory |
|---|---|---|
| CPU Access | Directly accessible | Accessed through I/O operations |
| Speed | Generally faster | Generally slower |
| Capacity | Usually smaller | Usually larger |
| Examples | RAM, ROM, Cache | HDD, SSD, Optical Discs, USB Drives |
Volatile and Non-Volatile Memory
Volatile Memory
Volatile memory requires continuous power to retain data.
Example: RAM
Non-Volatile Memory
Non-volatile memory retains stored information even after the power is switched off.
Examples: ROM, SSD, HDD and USB storage.
Computer Memory Units
| Unit | Common Value |
|---|---|
| Bit | Smallest unit of digital information |
| Byte | 8 bits |
| Kilobyte (KB) | 1,024 bytes |
| Megabyte (MB) | 1,024 KB |
| Gigabyte (GB) | 1,024 MB |
| Terabyte (TB) | 1,024 GB |
| Petabyte (PB) | 1,024 TB |
RAM vs ROM
| Feature | RAM | ROM |
|---|---|---|
| Full Form | Random Access Memory | Read Only Memory |
| Nature | Volatile | Non-volatile |
| Power Off | Data is normally lost | Data is retained |
| Main Use | Temporary working data | Stores persistent instructions/data |
SRAM vs DRAM
| Feature | SRAM | DRAM |
|---|---|---|
| Full Form | Static Random Access Memory | Dynamic Random Access Memory |
| Speed | Faster | Slower |
| Refreshing | Not required in the same way as DRAM | Requires periodic refreshing |
| Cost | More expensive | Less expensive |
| Typical Use | Cache | Main system memory |
25 Important Computer Memory Questions
1. What is the full form of RAM?
Answer: Random Access Memory.
2. Which memory is generally volatile?
Answer: RAM.
3. What is the full form of ROM?
Answer: Read Only Memory.
4. Which memory retains data when power is switched off?
Answer: Non-volatile memory.
5. Which is faster, SRAM or DRAM?
Answer: SRAM.
6. Which type of RAM requires periodic refreshing?
Answer: DRAM.
7. What is the full form of PROM?
Answer: Programmable Read Only Memory.
8. What is the full form of EPROM?
Answer: Erasable Programmable Read Only Memory.
9. What is the full form of EEPROM?
Answer: Electrically Erasable Programmable Read Only Memory.
10. Which memory is used to store frequently accessed data close to the CPU?
Answer: Cache memory.
11. Which cache level is generally the fastest?
Answer: L1 cache.
12. What is the smallest unit of digital information?
Answer: Bit.
13. How many bits are there in one byte?
Answer: 8 bits.
14. How many bytes are commonly represented by 1 KB in computer memory calculations?
Answer: 1,024 bytes.
15. Which memory is directly used by the CPU for currently running programs?
Answer: RAM.
16. Which is generally larger in capacity: primary or secondary memory?
Answer: Secondary memory.
17. Give one example of secondary storage.
Answer: HDD or SSD.
18. Which type of memory is associated with flip-flop circuits?
Answer: SRAM.
19. Which type of RAM commonly uses capacitors to store data?
Answer: DRAM.
20. What does L1 stand for in CPU cache terminology?
Answer: Level 1 cache.
21. Which ROM can be erased using ultraviolet light?
Answer: EPROM.
22. Which ROM can be erased electrically?
Answer: EEPROM.
23. Which memory is usually faster, cache or RAM?
Answer: Cache memory.
24. What is the full form of DRAM?
Answer: Dynamic Random Access Memory.
25. What is the full form of SRAM?
Answer: Static Random Access Memory.
Quick Revision – Computer Memory
- RAM: Volatile working memory.
- ROM: Non-volatile memory.
- SRAM: Faster RAM, commonly associated with cache.
- DRAM: Main system memory technology that requires refreshing.
- Cache: Small, high-speed memory close to the CPU.
- PROM: Programmable once.
- EPROM: Erased using ultraviolet light.
- EEPROM: Electrically erasable and programmable.
- 1 Byte: 8 bits.
- L1 Cache: Generally the fastest cache level.
Exam Shortcut
Remember this simple sequence:
RAM → Volatile
ROM → Non-volatile
SRAM → Fast
DRAM → Refresh
EPROM → UV Erase
EEPROM → Electrical Erase
Frequently Asked Questions
Is RAM permanent memory?
No. RAM is generally volatile memory and loses its stored contents when power is removed.
Which is faster, RAM or cache?
Cache memory is generally faster than main RAM because it is designed for very fast access close to the CPU.
What are the main types of ROM?
Important ROM types include PROM, EPROM and EEPROM.
Why is computer memory important?
Memory allows a computer to store instructions and data required for processing, while storage devices preserve information for longer-term use.
Related Computer GK:
Useful for: SSC, Banking, Railway, UPSC, State PSC and other competitive examinations.