Year 7 · Autumn 2
Networks · Lesson 2 of 5
Signals as bits: why computers use binary
UnpluggedTopic 2 Bits and bytes
Year 7 · Networks · Lesson 2 of 5
You will learn to
- Explain why computers use only two states: on and off.
- Work out how many patterns 1 to 8 bits can make, by doubling each time.
- Show any number from 0 to 255 using eight bit cards (128, 64, 32, 16, 8, 4, 2, 1).
Year 7 · Networks · Lesson 2 of 5
Success criteria
You have got it when you can say:
- I can say that a bit is one 0 or 1, and a byte is 8 bits.
- I can show 5 and 200 with the bit cards.
- I can explain why 8 bits stop at 255.
Year 7 · Networks · Lesson 2 of 5
Retrieval starter
Questions from before. Write your answers, then show them.
- Last lesson
Which turns www.bbc.co.uk into an IP address?
A SMTPB DNSC HTTP
B. DNS
- Last unit
Copyright in the UK…
A Is automaticB Must be registered
A. Is automatic
- Last lesson
A 400 MB file on a 100 Mbps line takes at best…
A 32 secondsB 40 secondsC 4 seconds
A. 32 seconds
Year 7 · Networks · Lesson 2 of 5
Key words
- Bit
- One binary digit, 0 or 1. One switch.
- Byte
- 8 bits. 256 possible patterns.
- Nibble
- 4 bits. One hex digit.
The explanation · step 1 of 3
The bit
- Bit is short for binary digit. Binary means 'made of two'.
- One bit = one switch = one yes/no answer.
- One bit alone can only say 2 things: 0 or 1.
The explanation · step 2 of 3
More bits = more patterns
| Bits | Every pattern | How many |
|---|---|---|
| 1 | 0, 1 | 2 |
| 2 | 00, 01, 10, 11 | 4 |
| 3 | 000, 001, 010, 011, 100, 101, 110, 111 | 8 |
| 4 | 0000 … 1111 | 16 |
| 8 | 00000000 … 11111111 | 256 |
Why does it double each time?
Take all the patterns you had. Put a 0 in front of each. Then put a 1 in front of each. Same list, twice.
The explanation · step 2 of 3
The maths: How many patterns can n bits make?
The explanation · step 2 of 3
The maths: The biggest number n bits can hold
The explanation · step 3 of 3
Bits vs bytes in internet speeds
File sizes use bytes (big B: MB). Internet speeds use bits per second (small b: Mbps). A 100 Mbps connection gives at most 100 ÷ 8 = 12.5 MB per second.
The explanation · step 3 of 3
The maths: Internet speed into file speed
Year 7 · Networks · Lesson 2 of 5
Try it: How many patterns?
Year 7 · Networks · Lesson 2 of 5
Try it: Flip a switch
Year 7 · Networks · Lesson 2 of 5
Quick quiz · 1 of 3
A '1 TB' drive shows 931 GB in Windows because…
- A Some space is broken
- B Windows divides by 1,024 but still writes GB
- C The drive is fake
B. Windows divides by 1,024 but still writes GB
Same number of bytes, measured with a different ruler.
Year 7 · Networks · Lesson 2 of 5
Quick quiz · 2 of 3
5 KB into bytes. You should…
- A Multiply by 1000
- B Divide by 1000
A. Multiply by 1000
Bytes are smaller, so you need more of them: multiply. 5 KB = 5,000 bytes.
Year 7 · Networks · Lesson 2 of 5
Quick quiz · 3 of 3
A microphone hearing your voice is…
- A Input
- B Output
- C Process
A. Input
Information is coming in to the computer.
Year 7 · Networks · Lesson 2 of 5
Exit ticket
Answer on paper before you go. Then check.
Why do computers use 2 states instead of 10?
A On and off are easy to tell apart reliablyB Ten states would be too cheapC Two is the biggest number
A. On and off are easy to tell apart reliably Wobbly signals make 10 levels easy to misread. On/off is reliable.
A game you download is…
A HardwareB Software
B. Software You can't touch it. It's instructions stored as 0s and 1s.