Lecture 4 5 Memory and Storage
Lecture 4 5 Memory and Storage
1. Memory Overview
Memory in a computer system can be divided into two main categories:
1. Primary Memory (Main Memory): Refers to short-term data storage used by the CPU for
immediate access. Examples are RAM (Random-Access Memory) and ROM (Read-Only
Memory).
2. Storage: This refers to long-term data storage, typically located on the hard disk or SSD,
where information is kept even when the computer is turned off.
2. Memory Types
- EPROM (Erasable Programmable ROM): Can be erased using UV light and reprogrammed.
- Synchronous DRAM (SDRAM) and DDR SDRAM: Improved versions of DRAM that
synchronize with the CPU clock speed.
5. Memory Modules
Memory modules house RAM chips and are inserted into the motherboard. They can be:
- DIMM (Dual Inline Memory Module): Contains RAM chips on a small circuit board.
Modules can be single or double-sided, referring to the number of sides containing memory
chips.
6. Cache Memory
Cache memory stores frequently used data for quicker access by the processor. It is faster
than regular RAM and exists in three levels:
- Level 1 (L1): Built directly into the processor, smallest capacity but fastest.
8. Storage Devices
Storage refers to long-term data retention. Common storage media include:
- Hard Disk Drives (HDD): Magnetic storage devices with spinning platters.
- Solid-State Drives (SSD): Chip-based storage with no moving parts, faster than HDDs.
- Optical Discs: CDs, DVDs, and Blu-ray discs read using laser beams.
- Flash Memory: Found in USB drives and memory cards (e.g., SD cards).