SLIDE 1
CSZone.co.uk
Click to advance · Arrow keys also work
Edexcel 4CP0 · Topic 3 · 3.1a ★ FREE LESSON

Binary
Numbers

Base 2 · Place values · Denary ↔ Binary conversion

CSZone Edexcel iGCSE Computer Science 4CP0
Why Binary?

Computers use base 2

Computers use transistors — tiny switches that are either ON or OFF
ON = 1     OFF = 0 — only two states
Binary (base 2) uses only digits 0 and 1, called bits
Every number, letter, image and sound is stored as binary
NUMBER BASES COMPARED
BaseNameDigits used
Base 10Denary0–9
Base 2Binary0, 1
Base 16Hexadecimal0–9, A–F
Binary Place Values

8-bit place value table

128
27
64
26
32
25
16
24
8
23
4
22
2
21
1
20
KEY FACTS
Each place doubles: 1, 2, 4, 8, 16, 32, 64, 128 Maximum 8-bit value: 128+64+32+16+8+4+2+1 = 255 8 bits = 1 byte
Binary → Denary

Converting: 10110101

128
1
64
0
32
1
16
1
8
0
4
1
2
0
1
1
Add the values where bit = 1:   128 + 32 + 16 + 4 + 1 = 181
Denary → Binary

Converting: 75 to binary

SUBTRACTION METHOD
128 → too big, bit = 0
64 → fits! 75 − 64 = 11, bit = 1
32 → too big for 11, bit = 0
16 → too big for 11, bit = 0
8 → fits! 11 − 8 = 3, bit = 1
4 → too big for 3, bit = 0
2 → fits! 3 − 2 = 1, bit = 1
1 → fits! 1 − 1 = 0, bit = 1
128
0
64
1
32
0
16
0
8
1
4
0
2
1
1
1
7510 = 010010112
Key Terms

Bit, Nibble, Byte

TermSizeExampleRange (unsigned)
Bit1 digit10 or 1
Nibble4 bits10100–15
Byte8 bits101101010–255
With n bits you can represent 2n different values. 8 bits = 28 = 256 values (0 to 255).
Exam Practice
Question 1
Convert the binary number 11010110 to denary. Show your working.
2 marks
✓ MARK SCHEME
128 + 64 + 0 + 16 + 0 + 4 + 2 + 0 = 214
(Mark for working shown + correct answer)
Question 2
Convert 109 to an 8-bit binary number.
2 marks
64+32+8+4+1 = 109 → 01101101
Common Mistakes

Binary conversion pitfalls

1
Writing binary MSB (most significant bit) on the right. Always write the largest place value (128) on the LEFT, smallest (1) on the right — same direction as denary.
2
Forgetting to write leading zeros. 75 in 8-bit binary is 01001011 not 1001011. The question usually specifies 8-bit — always fill all 8 places.
3
Adding all place values regardless of whether the bit is 1 or 0. Only add a column's value if its bit is 1 — if the bit is 0, that place contributes nothing.
Topic Summary — 3.1a

Key Takeaways

PLACE VALUES (8-BIT)
128 · 64 · 32 · 16 · 8 · 4 · 2 · 1
CONVERSION METHODS
Binary→Denary: add place values where bit=1
Denary→Binary: subtract largest fitting power of 2
2n values representable with n bits
CSZone

Next Lesson

3.1b
Hexadecimal
Base 16 · Hex ↔ Binary · Hex ↔ Denary
Head to CSZone.co.uk for the full quiz, worksheet and flashcards