Revision notes

Number Systems in Computing: Practice

The key points, rules to remember, tables and diagrams from all 9 lessons, on one page for quick revision. To keep a copy, use your browser's Print and choose "Save as PDF".

Lesson 1

Binary and decimal conversion

Powers of 2
Position76543210
Value1286432168421

Binary to decimal: add the place values of the 1s. Decimal to binary: divide by 2 and read the remainders upwards.

— Method to remember

Key takeaways: learn the powers of 2 up to 128 and always check your answer by converting back.

Read the full lesson

Lesson 2

Octal and hexadecimal systems

Four-bit groups
BinaryDecimalHex
000000
100199
101010A
110012C
111115F

Binary to octal: groups of 3. Binary to hex: groups of 4. In hex, A to F stand for 10 to 15.

— Rule to remember

Key takeaways: group bits in threes for octal and fours for hex, and remember A to F.

Read the full lesson

Lesson 3

Binary arithmetic and complements

Binary addition
SumResult
0 + 00
0 + 11
1 + 01
1 + 110 (write 0, carry 1)
1 + 1 + 111 (write 1, carry 1)

1 + 1 = 10 in binary. One's complement = flip all bits. Two's complement = flip, then add 1.

— Rule to remember

Key takeaways: carry on every 1 + 1, check using decimal, and use flip-then-add-1 for two's complement.

Read the full lesson

Lesson 4

Bits, bytes and how many values fit

Powers of 2
n2^n
12
24
38
416
532
664
7128
8256
101024

n bits give 2^n patterns. The largest unsigned value is 2^n - 1.

— Formula to remember

Key takeaways: use 2^n, subtract 1 for the largest value and find the smallest power of 2 that fits.

Read the full lesson

Lesson 5

Number systems mixed practice

Systems
SystemBaseDigits
Binary20, 1
Octal80 to 7
Decimal100 to 9
Hexadecimal160 to 9 and A to F

Identify the conversion, apply the method, verify by converting back.

— Exam method

Key takeaways: know each base and its digits, work step by step and verify.

Read the full lesson

Lesson 6

Speed methods for binary and decimal conversion

Powers of two
Power2^02^12^22^32^42^52^62^72^82^92^10
Value12481632641282565121024

Estimate with the bit count, convert in nibbles, then check the last bit. Ones only? Use 2^n minus 1.

Key takeaways. Learn the powers of two up to 1024. A run of n ones is 2^n minus 1. Use bit count to eliminate impossible options, nibble grouping for long numbers and the odd-even test as a final check.

Read the full lesson

Lesson 7

Hexadecimal shortcuts and colour codes

Letters as numbers
HexABCDEF
Decimal101112131415
Common codes
CodeRedGreenBlueColour
#FF000025500Red
#00FF0002550Green
#0000FF00255Blue
#FFFFFF255255255White
#000000000Black

Left digit times 16 plus right digit. Each hex digit is four bits. FF is 255.

Key takeaways. Two hex digits make one byte. Convert with 16 × left + right, and back by dividing by 16. A colour code is three bytes: red, green and blue.

Read the full lesson

Lesson 8

Subtraction by complements: step-by-step problems

Carry out means a positive answer. No carry out means a negative answer, still in complement form.

Key takeaways. Subtraction is addition of a complement. Look for the carry out: if present the answer is positive (discard it for two's complement, add it back for one's complement); if absent, complement the sum and attach a minus sign.

Read the full lesson

Lesson 9

Number-system traps and a mixed problem set

Check the digits, check the grouping, and always verify the answer by converting back to decimal.

Key takeaways. Most errors are about digit validity, grouping side, off-by-one in bit counts and the missing +1 in the two's complement. A five-second verification in decimal catches nearly all of them.

Read the full lesson

Privacy · Terms · Refunds · Delivery