Computer Science (4CP0)
Topic 7 of 12Pearson EdExcel

Computer Hardware and Architecture

How computers work inside — CPU, memory, storage, and input/output devices.

Stage 1: Topic Introduction Video

Start the topic with a quick definition, relevance, and learning outcomes before entering the full lesson body.

Introduction

30-60 sec

Hook the learner with a simple definition, relevance, and learning outcomes.

Placed at the beginning of the topic journey.

Dry-run assets generated

Written lesson and quiz remain available while this stage video is being prepared.

Branding: seekhoasaan-default-2026Narration: neutral-friendly-urdu-englishSubtitles: burned-in-dual-language

**1. Inside Every Computer — From Hafeez Centre to Your Laptop**


Every computer — from the gaming PCs sold at Hafeez Centre in Lahore to the smartphones in every pocket in Karachi — is built from the same core components. Understanding hardware is understanding what makes a computer work.


A computer system consists of:

  • Input devices (keyboard, mouse, microphone, camera, scanner, touchscreen)
  • Processing unit (CPU — the "brain")
  • Memory (RAM and ROM)
  • Storage (HDD, SSD, USB, optical)
  • Output devices (monitor, printer, speaker)

**2. The Central Processing Unit (CPU)**


The CPU is the brain of the computer. It fetches, decodes, and executes instructions.


Key CPU components:

  • ALU (Arithmetic Logic Unit): performs calculations (+, -, ×, ÷) and logical comparisons (>, <, ==)
  • Control Unit (CU): directs the flow of data, fetches instructions from memory, decodes them
  • Registers: tiny, ultra-fast storage inside the CPU:
  • Program Counter (PC): holds the address of the next instruction
  • Accumulator (ACC): stores results from the ALU
  • Memory Address Register (MAR): holds the address of data to fetch/store
  • Memory Data Register (MDR): holds the data being transferred to/from memory
  • Current Instruction Register (CIR): holds the instruction being executed

The Fetch-Decode-Execute (FDE) Cycle:

  1. Fetch: PC sends address to MAR → data at that address loaded into MDR → instruction copied to CIR → PC incremented (+1)
  2. Decode: CU interprets the instruction in CIR
  3. Execute: ALU performs the operation, result stored in ACC

This cycle repeats billions of times per second in modern CPUs.


CPU performance depends on:

  • Clock speed (GHz): more cycles per second = faster. A 3.5 GHz processor runs 3.5 billion cycles/second.
  • Number of cores: dual-core, quad-core, octa-core — more cores = more tasks simultaneously.
  • Cache size: small, fast memory on the CPU chip. Larger cache = fewer trips to slower RAM.

Stage 2: Mid-Lesson Concept Video

Inserted into lesson flow using deterministic content sectioning (split by nearest heading).

Concept Breakdown

60-120 sec

Teach the core concept step-by-step with at least one worked explanation.

Placed in the middle of the lesson flow.

Dry-run assets generated

Written lesson and quiz remain available while this stage video is being prepared.

Branding: seekhoasaan-default-2026Narration: neutral-friendly-urdu-englishSubtitles: burned-in-dual-language

**3. Memory: RAM vs ROM**


RAM (Random Access Memory):

  • Volatile — data lost when power is off
  • Stores currently running programs and data
  • Read AND write
  • Typical: 8 GB – 32 GB in modern PCs

ROM (Read Only Memory):

  • Non-volatile — data kept when power is off
  • Stores the BIOS/boot instructions — tells the computer how to start up
  • Read only (in basic form)
  • Very small (a few MB)

Virtual memory: When RAM is full, the OS uses a section of the hard drive as "overflow" RAM. This is much slower because storage is slower than RAM. Too much virtual memory use → the computer becomes very slow (thrashing).


**4. Storage Devices**


| Storage Type | Speed | Capacity | Durability | Cost per GB |

|---|---|---|---|---|

| HDD (Hard Disk Drive) | Slow (moving parts) | Very high (1-10 TB) | Fragile (moving parts) | Cheap |

| SSD (Solid State Drive) | Very fast (no moving parts) | High (256 GB - 4 TB) | Durable | More expensive |

| USB Flash Drive | Moderate | Low-Medium (8-256 GB) | Portable, durable | Moderate |

| Optical Disc (CD/DVD/Blu-ray) | Slow | Low (700 MB - 50 GB) | Scratch-prone | Cheap per disc |


Pakistan context: In Karachi's computer markets (like Saddar), you'll see the same trade-off you write about in exams: **HDDs are cheaper per GB**, while **SSDs are faster** but typically cost more per GB.


Cloud storage (Google Drive, OneDrive) stores data on remote servers accessed via the internet. In Pakistan, large organisations (banks, telecoms, and government services) rely on data centres, redundancy, and backups to keep critical records available and secure.


**5. Exam Strategy**


  • FDE cycle is a guaranteed exam question. Learn the 3 steps and name all registers involved.
  • RAM vs ROM: always state volatile/non-volatile and give the purpose of each.
  • Storage comparison: make a table comparing speed, capacity, durability, and cost.
  • CPU performance factors: clock speed, cores, cache — know all three and explain each.
  • "Explain why an SSD is better than an HDD for a laptop" → no moving parts = more durable + faster + lighter, but more expensive per GB.

Key Points to Remember

  • 1CPU has ALU (calculations), Control Unit (directs flow), and Registers (fast storage)
  • 2FDE cycle: Fetch instruction → Decode it → Execute it — repeats billions of times/sec
  • 3RAM is volatile (temporary); ROM is non-volatile (permanent boot instructions)
  • 4CPU speed depends on: clock speed (GHz), cores, and cache size
  • 5SSD faster but costlier than HDD; cloud storage needs internet access

Pakistan Example

NADRA — Pakistan's Biometric Database Hardware

NADRA stores citizen identity records such as photos and fingerprints in secured systems. When you get your CNIC at a NADRA office, the scanner (input), server CPU (processing), database (storage), and printer (output) all work together — a real-world computer system in action.

Quick Revision Infographic

Computer Science — Quick Revision

Computer Hardware and Architecture

Key Concepts

1CPU has ALU (calculations), Control Unit (directs flow), and Registers (fast storage)
2FDE cycle: Fetch instruction → Decode it → Execute it — repeats billions of times/sec
3RAM is volatile (temporary); ROM is non-volatile (permanent boot instructions)
4CPU speed depends on: clock speed (GHz), cores, and cache size
5SSD faster but costlier than HDD; cloud storage needs internet access

Formulas to Know

repeats billions of times/sec
Pakistan Example

NADRA — Pakistan's Biometric Database Hardware

NADRA stores citizen identity records such as photos and fingerprints in secured systems. When you get your CNIC at a NADRA office, the scanner (input), server CPU (processing), database (storage), and printer (output) all work together — a real-world computer system in action.

SeekhoAsaan.com — Free RevisionComputer Hardware and Architecture Infographic

Stage 3: End-of-Topic Summary Video

End the topic with a concise recap of key takeaways, formulas, and revision reminders.

Summary

30-60 sec

Provide a concise revision recap with key formulas/definitions and next steps.

Placed near the end of the topic journey.

Dry-run assets generated

Written lesson and quiz remain available while this stage video is being prepared.

Branding: seekhoasaan-default-2026Narration: neutral-friendly-urdu-englishSubtitles: burned-in-dual-language

Test Your Knowledge!

6 questions to test your understanding.

Start Quiz