Computer Memory
Understanding Types and Functions
Teacher: Zain ul Abdeen
Class: Computer Applications
Introduction to Computer
Memory
- Definition: Memory in a computer is used to store data
and instructions temporarily or permanently.
- Importance:
- Enables quick access to data.
- Essential for smooth processing and multitasking.
Types of Computer Memory
1. Primary Memory (Volatile):
- RAM (Random Access Memory)
- Cache Memory
2. Secondary Memory (Non-Volatile):
- Hard Drives (HDD)
- Solid-State Drives (SSD)
- Optical Discs (CD/DVD)
3. Tertiary Memory:
- Cloud Storage
- External Drives
4. Virtual Memory (Explained on the next slide)
Virtual Memory
- Definition: A section of secondary storage (e.g., HDD or SSD) used
as if it were RAM.
- Purpose:
- Extends RAM to handle larger tasks and applications.
- Prevents system crashes when RAM is full.
- How It Works:
- Moves inactive data from RAM to a special file (page file/swap
space).
- Pros:
- Cost-effective solution for memory expansion.
- Cons:
- Slower than physical RAM.
- Performance issues (thrashing) when overused.
Primary Memory
- RAM:
- Temporary storage for active tasks and processes.
- Fast but loses data when power is off.
- Cache Memory:
- Stores frequently accessed data for faster retrieval.
- Located closer to the CPU.
Secondary Memory
- Hard Drives (HDD):
- Magnetic storage with large capacity.
- Solid-State Drives (SSD):
- Faster than HDDs, no moving parts.
- Optical Discs:
- CDs, DVDs for data storage and media playback.
Differences Between RAM and
ROM
Feature RAM ROM
Data Storage Temporary Permanent
Volatility Volatile Non-Volatile
Usage Running applications System boot
processes
Emerging Technologies in
Memory
- Flash Memory:
- Used in USB drives, SD cards.
- Cloud Storage:
- Access files anytime, anywhere.
- Quantum Memory:
- Future of high-speed data processing.
Conclusion
- Memory is a crucial part of computer systems.
- Understanding its types helps optimize computer
performance.
- Innovations in memory technology continue to
transform computing.
Q&A
- Questions and clarifications.
- Interactive discussion with the class.