Topic 2 opens the box: the CPU and its registers, the fetch to decode to execute cycle, primary and secondary memory, how numbers are stored in binary and hexadecimal, two’s complement and binary arithmetic, and Boolean logic gates.
Work through each screen, answer the questions as you go (some are wordy, some are calculations) and collect ⭐ stars. Press Start when you are ready.
The CPU executes instructions. Its main parts are:
Key registers: the program counter (PC) holds the address of the next instruction; the memory address register (MAR) holds the address being accessed; the memory data register (MDR) holds the data in transit; the accumulator holds results from the ALU.
The CPU repeats the fetch to decode to execute cycle:
Primary memory is directly accessible by the CPU:
Secondary storage (hard disk, SSD, USB drive, optical disc) is non-volatile, larger, slower and not directly addressable by the CPU.
Tap an item, then the category it belongs to.
Computers store everything in binary (base 2). Each bit is a power of two. In an 8-bit byte the place values are 128, 64, 32, 16, 8, 4, 2, 1.
Denary 156 = 128 + 16 + 8 + 4 = 1001 1100. To convert back, add the place values wherever a bit is 1.
Hexadecimal (base 16) is a short way to write binary. Digits run 0 to 9 then A to F (A=10 ... F=15). Each hex digit maps to exactly 4 bits.
Denary 220 = 13 remainder 12 in base 16, so 220 = D (13) then C (12) = DC. Check: 13 times 16 + 12 = 220.
To store negative integers, computers use two’s complement. To find the pattern for a negative number in 8 bits: write the positive value in binary, invert all the bits, then add 1.
Minus 40: 40 = 0010 1000. Invert: 1101 0111. Add 1: 1101 1000. The leading 1 shows it is negative.
Binary addition works column by column, carrying when the total reaches 2 (10 in binary).
0101 1010 + 0010 1110 = 1000 1000 (90 + 46 = 136).
A logical left shift by n places moves every bit left and fills with zeros. Each single left shift multiplies by 2, so shifting left by 2 places multiplies by 4. A logical right shift by n divides by 2 to the power n (integer division).
Digital circuits are built from logic gates. The core gates are:
Tap a behaviour on the left, then the gate that produces it.
CPU: ALU, control unit, registers (PC, MAR, MDR, accumulator)
Cycle: fetch to decode to execute
Memory: RAM and ROM and cache are primary; disks and SSD are secondary
Number bases: binary (base 2), hexadecimal (base 16, one digit = 4 bits)
Negatives: two’s complement = invert bits then add 1
Logic gates: AND, OR, NOT, XOR, NAND, NOR
You have covered the whole of Topic 2 — computer organisation. Press Finish to see your score.
You have worked through Computer organisation. 🎉
Your stars: 0 / 0
Next: test yourself in the Evaluate stage Confidence Quiz, then lock it in with Verify.