GCSE · Computer Science · OCR · Spec J277
Why data is stored in binary
Open a photo, play a song, send a message: underneath, it is all tiny switches, each on or off. Flip some below.
Computer Science · Binary
Flip the switches
Each box is one transistor, a tiny switch. On is 1 and off is 0. (The little numbers above the boxes can wait. For now, the on/off pattern is what matters.)
Why binary?
Reason it through
Why do computers store everything as binary?
First link · your turn
Start with what a computer is made of: electrical circuits. What can a wire in one of those circuits be?
Computer Science · Counting combinations
Add a switch, double the patterns
Set three switches one at a time. Pick off or on for switch 1, then switch 2, then switch 3. Watch the number of patterns grow.
Switch 1 → Switch 2 → Switch 3
2 × 2 × 2 = 8 different patterns, and the tree ends 8 times.
Computer Science · Data and instructions
Data or instruction?
Sort each part of these examples. Pick an item, then pick its pile.
Still to sort
Data (0)
Raw facts, such as numbers or text.
Where the line is: If it is a fact for the computer to work on, it is data.
Instruction (0)
A direction on how to carry out a specific task.
Where the line is: If it tells the computer what to do, it is an instruction.
A computer needs both: facts to work on, and directions on what to do with them.
OCR GCSE Computer Science (J277): specification section 1.2.3.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Every photo, song and message on a computer is, underneath, a pattern of tiny switches.
What you need to know
- Binary is a number system that uses only two digits, 0 and 1, to represent data.
- Computer circuits have wires at a high voltage (on) or a low voltage (off). Transistors change or set these signals.
- A transistor is a tiny electronic switch controlled by electricity. On means 1, off means 0.
Have a goYour friend says a transistor that is switched off is just empty, so it stores nothing. What does it actually represent?
A 0.
Off is a value, not a gap: a transistor that is off represents a zero, just as one that is on represents a one.
- Put several transistors in a series and they can store a sequence of 1s and 0s that represents a piece of data.
- Each extra on/off element doubles the combinations: 2 give 4, 3 give 8, 4 give 16, 5 give 32, 6 give 64.
Have a goSix on/off elements give 64 combinations. Add a seventh. Your friend says that makes 65. Are they right?
No. It makes 128.
Each extra element doubles the number of combinations, so 64 × 2 = 128. It does not add just one.
- So the more transistors there are, the more binary numbers a computer can represent.
- Whatever its type, data is stored as binary: numbers, characters, images, sound and video. Instructions are stored as binary too.
Have a goPop quiz: a song, a photo and the instruction 'play'. Which of the three does a computer store as binary?
All three.
Binary is not just for numbers: all data, whatever its type, is stored as binary, and instructions are too.
- Data is raw facts, such as numbers or text. An instruction is a direction on how to carry out a specific task.
- On its own, a sequence of 1s and 0s means nothing until the computer interprets it.
The big picture
Computers store everything as binary because they are built from circuits full of transistors: tiny switches that are on (1) or off (0). A series of them stores a sequence of 1s and 0s, and every extra switch doubles the combinations you can make.
Key points
Worked example
Problem
A row of four transistors is set to on, on, off, on (left to right). Write down the sequence of 1s and 0s it stores, then work out how many different sequences a row of four transistors could hold.
⚠ Watch out
Thinking binary is a number system computers just prefer, or that 1s and 0s must always be a number. Binary follows from two-state transistors, and a sequence only means something once the computer interprets it.
Memory hook
Think of a row of light switches. Each is on or off, and every extra switch doubles the patterns you can make. A computer's circuits work on the same idea, with transistors as the switches.
Check yourself
Cover the page. Five transistors are off, on, on, off, on. What sequence is that, and how many combinations can five hold?
Flashcards
(12)What does binary use to represent data?
In what format is data stored in a computer?
What is data?
What is an instruction?
What does a sequence of 1s and 0s mean on its own?
What two states can a wire in a computer's circuit have?
What changes or sets those on/off signals?
What is a transistor?
What can a series of transistors store?
What happens to the number of combinations when you add one more on/off element?
Why does a computer use binary?
What does adding more transistors let a computer do?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore OCR GCSE Computer Science topics
- Optical storage
- Purpose of RAM
- Purpose of ROM
- RAM vs ROM
- Sample rate, duration, bit depth
- Solid state storage
- Sound representation: sampling
- Storage characteristics: capacity, speed, portability, durability, reliability, cost
- Suitable storage for application
- Unicode
- Units of data: bit, nibble, byte
- Virtual memory
How this lesson was checked. This OCR GCSE Computer Science (specification J277)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 14 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.