CPU, storage, operating systems, languages & logic gates — understand how computers work.
Key definitions, concepts, and terminology for Topic 3
The FDE cycle: 1) Fetch instruction from RAM (address in PC → MAR, instruction → MDR), 2) Decode (CU interprets instruction), 3) Execute (ALU performs operation, result → ACC)
Von Neumann architecture: Instructions and data are stored in the same memory, accessed via a shared bus.
Imagine the CPU is like a kitchen chef preparing a meal:
This analogy maps directly to the memory hierarchy. From registers (fastest, smallest) down to secondary storage (slowest, largest) — exam questions often ask you to compare speed, capacity, and volatility.
Think of the Fetch-Decode-Execute cycle like online shopping:
FETCH: You look up the address (PC) of the next item on your shopping list, go to that address (MAR), and bring the item back (MDR).
DECODE: You read the product label to work out what it is and what to do with it (CU decodes the instruction).
EXECUTE: You actually use the product — put it on, eat it, etc. (ALU performs the calculation or data is moved).
PC + 1: The PC then moves to the next item on the list (PC increments by 1).
FETCH:
DECODE:
EXECUTE:
Starting state: PC holds address 0005 (the next instruction location).
1. FETCH:
0005 is copied from the PC to the MAR.0006.2. DECODE:
ADD 14 — “add the value at address 14 to the accumulator.”3. EXECUTE:
14.| Feature | Primary Storage | Secondary Storage |
|---|---|---|
| Examples | RAM, ROM, Cache | HDD, SSD, Optical, USB |
| Volatility | RAM is volatile; ROM is non-volatile | Non-volatile |
| Speed | Very fast | Slower (SSD faster than HDD) |
| Capacity | Small (GBs) | Large (TBs) |
| Purpose | Stores running programs & data | Long-term file storage |
| Cost per GB | Expensive | Cheaper |
Scenario: A school needs to store 500 GB of student records that must be kept for 7 years.
Best choice: SSD for reliability over 7 years, or HDD if budget is limited.
| Feature | Compiler | Interpreter |
|---|---|---|
| Translation | Translates all code at once | Translates one line at a time |
| Executable | Creates a standalone .exe file | No executable produced |
| Execution speed | Faster (already compiled) | Slower (translates each time) |
| Error reporting | All errors after full analysis | Stops at first error found |
| Debugging | Harder — errors reported together | Easier — stops at the error line |
| Use case | Distributing finished software | Testing / development |
Compiler: Translates ALL at once → Creates executable file → Faster to run after compilation → Errors shown after full translation → Used for finished software (C++, Java)
Interpreter: Translates ONE LINE at a time → No executable file created → Slower to run (translates every time) → Stops at first error (easier to debug) → Used for development/testing (Python)
Assembler: Translates assembly language (low-level) into machine code — one-to-one mapping between instructions.
| A | B | Q |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
| A | B | Q |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
| A | Q |
|---|---|
| 0 | 1 |
| 1 | 0 |
| A | B | Q |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Given inputs A = 1 and B = 0:
A AND B = 1 AND 0 = 0NOT B = NOT 0 = 1(A AND B) OR (NOT B) = 0 OR 1 = 1Exam tip: Always work through each gate left-to-right, writing down intermediate values. Never try to do it all in your head — show your working!
Step through the FDE cycle, build truth tables, and compare storage
Walk through the Fetch-Decode-Execute cycle step by step. Watch how the registers change at each stage.
Select a gate type to see its truth table, or explore a combined two-gate circuit.
Compare different storage technologies across key metrics.
| Feature | HDD | SSD | Optical | Cloud |
|---|---|---|---|---|
| Speed | Medium | High | Low | Medium |
| Cost per GB | Low cost | Medium cost | Low cost | High cost |
| Capacity | High (TBs) | Medium (TBs) | Low (GBs) | High (scalable) |
| Durability | Low (moving parts) | High (no moving parts) | Low (scratches) | High (redundancy) |
| Portability | Low (heavy) | Medium | High (lightweight) | High (any device) |
Apply your knowledge with interactive exercises
Drag each item into the correct category.
Drag the steps into the correct order.
Drag each feature into the correct category.
Complete the output column for each truth table. Enter 0 or 1.
| A | B | Output |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
| A | B | Output |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
Test your memory by matching terms with definitions
Find all 8 matching pairs. Click two cards to flip them.
Build answers using sentence banks, then reveal the mark scheme
No hints, no help — prove your mastery
See how you performed across each sub-topic
Complete activities to see your results