1. Computer Architecture
IGCSE Computer Science (0478)
  • Chapter 6: Automated & Emerging Technologies
  • Data Representation
    • Introduction
    • Why computers use binary (how binary represents data)
    • Number system
      • Introduction
      • Number Conversions
      • Addition of Binary Numbers
      • Logical binary shifts (positive 8-bit integers)
      • Two’s Complement (Signed: Positive and Negative Numbers)
      • Use of the Hexadecimal System
    • Text, Sound and Image
      • Text, Sound and Images
      • File Types
    • Data storage and File compression
      • Measurement of the Size of Computer Memories
      • Lossless and Lossy File Compression
  • Hardware
    • Computer Architecture
      • The CPU & Microprocessors
      • Von Neumann Architecture
      • Fetch-Decode-Execute Cycle (FDE)
      • Characteristics of the CPU
      • CPU Instruction Sets
      • Embedded Systems
    • Input/output devices
      • Input devices
      • Output devices
      • Sensors
    • Data Storage
      • What is Primary Storage?
      • What is Secondary Storage?
      • What is Virtual Memory?
      • What is cloud storage?
    • Network hardware
      • What is a Network Interface Card(NIC)?
      • MAC Addresses & IP Addresses
      • What is a Router?
  1. Computer Architecture

The CPU & Microprocessors

What is the Purpose of the CPU?#

The purpose of the Central Processing Unit (CPU) is to:
Fetch instructions from memory
Decode the instructions to understand what operation is needed
Execute the instructions to perform calculations and operations
πŸ’‘ Examiner Tips and Tricks
To earn full marks, don't just say "the CPU processes data." You MUST use keywords like fetch, decode, and executeβ€”these terms match the official mark scheme and demonstrate proper understanding.

Understanding CPU as the Brain of the Computer#

The CPU is the brain of the computer. It's responsible for:
Taking input from users
Processing data according to instructions
Producing output results

CPU Function in Computer Systems#

The CPU is central to virtually all computing devices:
Laptops and Desktops - Main processing unit
Gaming Consoles - Graphics and game processing
Mobile Devices - All smartphone operations
Embedded Systems - Microcontrollers in appliances
Servers - Large-scale data processing

Input β†’ Process β†’ Output Cycle#

Data and commands are inputted by the user using an input device, the CPU processes the data by executing instructions, and the results are outputted to an output device.

Example Workflow#

StageDescriptionExample
InputUser provides data via input deviceUser presses a number on the keyboard
ProcessCPU executes instructions on the dataIf the instruction is ADD, the inputted value is added to an existing value in memory
OutputResults displayed via output deviceThe result of the calculation is shown on the monitor screen

Visual Representation - Input/Process/Output Cycle#

Microprocessors#

What is a Microprocessor?#

A microprocessor is a type of integrated circuit (IC) that is contained on a single chip.

Key Characteristics#

Single Chip: All components are integrated into one semiconductor chip
Houses the CPU: Contains the main processing unit
May include other components:
Memory controllers (manage RAM access)
I/O interfaces (connect peripherals)
Cache memory (fast temporary storage)
Bus controllers (manage data flow)

CPU vs Microprocessor#

πŸ“Œ Important Distinction for Exams
Examiners often test the difference:
CPU = A component that executes instructions
Microprocessor = The chip that may house the CPU plus other components like memory controllers and I/O interfaces

Modern Microprocessor Examples#

ManufacturerProductUse CaseArchitecture
IntelCore i5, i7, i9Laptops, Desktops, Serversx86-64
AMDRyzen 5, 7, 9Gaming, Workstationsx86-64
AppleM1, M2, M3MacBooks, iMacsARM-based
ARMCortex-A seriesMobile devicesARM
QualcommSnapdragonSmartphonesARM

Microprocessor Architecture Diagram#

CPU Components - Detailed Breakdown#

1. Control Unit (CU)#

Function: Directs and controls all CPU operations
Responsibilities:
Fetches instructions from memory
Decodes instructions to determine what to do
Generates control signals for other components
Controls timing and sequencing of operations
Speed: Executes in nanoseconds (billionths of a second)

2. Arithmetic Logic Unit (ALU)#

Function: Performs all calculations and logical operations
Arithmetic Operations:
Addition (+)
Subtraction (βˆ’)
Multiplication (Γ—)
Division (Γ·)
Logical Operations:
AND (all conditions true)
OR (at least one condition true)
NOT (reverse condition)
XOR (exclusive or)
Speed: Fastest component, nanosecond operations

3. Registers#

Function: Ultra-fast temporary storage locations
Characteristics:
Located inside the CPU
Smallest capacity (few KB)
Fastest access time
Hold data being actively processed
Types:
Accumulator: Stores arithmetic results
Program Counter (PC): Points to next instruction
Instruction Register (IR): Holds current instruction
General Purpose: Temporary data storage

Complete System Diagram#

Why Microprocessors Matter#

Evolution of Computing#

Single Chip Integration: All components fit on one chip
Reduced Size: Smaller devices, portable computing
Improved Performance: Better efficiency, faster operation
Lower Power: Less energy consumption
Cost Effective: Easier to manufacture at scale

Real-World Applications#

Key Definitions#

TermDefinition
CPUThe component that executes instructions; responsible for fetch, decode, execute
MicroprocessorAn integrated circuit chip that houses the CPU and supporting components
Integrated CircuitMultiple electronic components combined on a single semiconductor chip
InstructionA command telling the CPU what operation to perform
Clock CycleOne complete cycle of the CPU's clock signal
Nanometer (nm)1/1,000,000,000 of a meter; used to describe chip size

Exam Practice Questions#

Question 1: CPU Purpose#

Q: Describe the three main operations the CPU performs. [3 marks]
Model Answer:
Fetch: The CPU retrieves instructions from memory using the Program Counter, which holds the address of the next instruction to execute.
Decode: The Control Unit interprets the instruction to determine what operation needs to be performed and what data is required.
Execute: The CPU carries out the operation (often using the ALU for calculations) and stores the results in registers or memory.

Question 2: Microprocessor vs CPU#

Q: Explain the difference between a CPU and a microprocessor. [2 marks]
Model Answer:
CPU: A component that fetches, decodes, and executes instructions. It's the processing unit.
Microprocessor: An integrated circuit chip that contains the CPU plus additional components such as memory controllers, I/O interfaces, and cache memory. It's the complete chip containing the CPU.

Question 3: Input-Process-Output#

Q: Give an example of the input-process-output cycle in a computer. [3 marks]
Model Answer:
Input: User types a number (5) using the keyboard
Process: CPU receives the input and executes an instruction to add it to another number (3). The ALU performs 5 + 3 = 8
Output: The result (8) is displayed on the monitor screen

πŸ’‘ Examiner Tips Summary#

1.
Use Technical Language: Always use "fetch," "decode," and "execute" when discussing CPU operations
2.
Distinguish Clearly: Know the difference between CPU (component) and microprocessor (chip)
3.
Explain with Examples: Always provide concrete examples for input-process-output
4.
Name Components: Be specific about CPU components (Control Unit, ALU, Registers)
5.
Link to Real Devices: Connect theory to real devices students know (laptops, phones, game consoles)
6.
Be Precise: Don't say "the CPU works" β€” explain what it actually does step by step
7.
Use Diagrams: Draw simple diagrams if explaining complex processes
8.
Match Mark Scheme: Read the question carefully and provide answers with appropriate detail

Practice Summary#

What You Should Know#

βœ… The purpose of the CPU (fetch, decode, execute)
βœ… The role of the Control Unit and ALU
βœ… What registers do and why they're important
βœ… The difference between a CPU and microprocessor
βœ… How input-process-output works with real examples
βœ… Modern microprocessor examples from Intel, AMD, ARM

What You Should Be Able to Explain#

βœ… How the CPU processes a simple instruction
βœ… Why a microprocessor is more than just a CPU
βœ… The complete flow from input device to output device
βœ… The role of each CPU component
βœ… Real-world applications of microprocessors

Next Topic: Von Neumann Architecture and System Buses
Previous Topic: Introduction to Hardware
Last Updated: 2024
Modified atΒ 2026-04-03 09:43:40
Previous
Hardware
Next
Von Neumann Architecture
Built with