How Computers Process Data
How Computers Process Data
The main component of a computer responsible for executing instructions from programs.
Often called the computer's brain, it carries out all processing tasks by interacting with memory
and input/output devices.
---
Fetches instructions from memory, decodes them, and directs data flow within the CPU and
between input/output devices.
Does not process data but controls how and when data moves.
---
Logical operations: Comparisons like equal to, less than, and greater than.
Provides critical functions for decision-making in computing tasks.
---
4. Machine Cycles
1. Fetch:
2. Decode:
The CPU interprets the fetched instruction and determines the operation.
3. Execute:
The CPU performs the operation, which may involve calculations or transferring data.
4. Store:
5. Memory
---
6. Volatile Memory
Temporary storage that loses its data when power is turned off.
Fast and ideal for storing data that is frequently accessed by the CPU.
Example: RAM (Random Access Memory), which stores open applications and system files
during use.
---
7. Non-Volatile Memory
Examples include ROM (Read-Only Memory), hard drives, and SSDs (Solid-State Drives).
---
8. Flash Memory
Commonly used in modern storage devices like USB drives, memory cards, and SSD storage
devices.
Unlike traditional hard drives, flash memory has no moving parts, making it faster and more
durable.