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

4-bit binary 0000 = 0 in denary

The pattern as a number0
Tap a switch to flip it. How many different patterns can you make with four 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?

Link 1 of 4

First link · your turn

Start with what a computer is made of: electrical circuits. What can a wire in one of those circuits be?

2
Locked — reveal the link above first
3
Locked — reveal the link above first
4
Locked — reveal the link above first

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.

On Start: all three switches still to set. 2 branches to choose from.

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.

5 of 5 still to sort.

A computer needs both: facts to work on, and directions on what to do with them.

Computer Science · What does a sequence mean?

What does this sequence mean?

A computer is holding this sequence of 1s and 0s: 1 0 1 1 0 0 1 0.

Which idea is closest to what you think right now?
How sure are you?

Your turn to write

Explain it in your own words

Explain why computers store data in binary. [4 marks]

0 words · your answer stays on this page and is not sent anywhere.

UK note

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

1Binary uses only the digits 0 and 1.
2A transistor is a tiny electronic switch: on is 1, off is 0.
3Each extra on/off element doubles the number of combinations.
4All data and all instructions are stored as binary.
5A sequence of 1s and 0s means nothing until the computer interprets it.

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?
Only the digits 0 and 1.
In what format is data stored in a computer?
Binary, whatever its type: numbers, characters, images, sound and video. Instructions are stored as binary too.
What is data?
Raw facts, such as numbers or text.
What is an instruction?
A direction on how to carry out a specific task. In 5 × 12, the numbers are data and "multiply" is the instruction.
What does a sequence of 1s and 0s mean on its own?
Nothing, until the computer interprets it.
What two states can a wire in a computer's circuit have?
A high voltage (on) or a low voltage (off).
What changes or sets those on/off signals?
Transistors.
What is a transistor?
A tiny electronic switch controlled by electricity. On represents a 1 and off represents a 0.
What can a series of transistors store?
A sequence of 1s and 0s, which can represent a piece of data.
What happens to the number of combinations when you add one more on/off element?
It doubles: 2 elements give 4, 3 give 8, 4 give 16, 5 give 32, 6 give 64.
Why does a computer use binary?
It is built from circuits and transistors that are on or off. Two states match two digits: on is 1, off is 0.
What does adding more transistors let a computer do?
Represent more binary numbers, because the combinations keep doubling.

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 posted

More OCR GCSE Computer Science topics

See the full OCR Computer Science curriculum →

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.