The big idea: Everything a computer stores is bits. A photo, a song and a spreadsheet are all just long runs of 1s and 0s.
What makes them different is the agreement about how to read them — and that agreement lives in the program, never in the bits.
One byte, 01000001, read four different ways. The bits never change.
Interactive diagram
Explore the labelled diagram, charts and maps for this topic in full study mode.
Free preview
This is the free notes preview
You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:
- FlashcardsLock in vocabulary and key terms with spaced repetition.
- Practice questionsAnswer exam-style questions and get instant AI marking.
- Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
- Personalised study planA daily plan built around your exam date and weak areas.
A character set is a lookup list: Everyone agrees in advance that 65 means A, 66 means B, and so on.
Store the number, and any program that knows the same list can show the right letter.
Integers
- Stored by place value — the columns double
- One byte holds 0 to 255
- Bigger numbers simply use more bytes
- One extra bit can mark the number as negative
Characters
- A character set assigns each character a number
- ASCII — one byte per character, enough for English
- Unicode — every writing system, using more bytes when needed
- The character itself is never stored; only its number
Strings
- A string is characters stored one after another
- "CAT" is 67, 65, 84 — three bytes in a row
- The computer also needs to know where the string ends
- That is why a long name takes more storage than a short one
Why the same byte can be two things: 01000001 is 65 if a program is reading numbers and A if it is reading text.
Opening a file with the wrong program shows nonsense for exactly this reason: the bits are fine, the agreement is wrong.
Stop wasting time on topics you know
Our AI identifies your weak areas and focuses your study time where it matters. No more overstudying easy topics.
Measure it, then store the measurements: Pictures and sound are not naturally made of numbers. So the computer samples them — takes many small measurements — and stores those.
More measurements means more detail, and more storage.
Images — one measurement per pixel
Audio — thousands of measurements a second
Video — images plus audio, many times a second
What this costs you: Storage and retrieval both scale with the number of measurements.
A bigger file needs more room, takes longer to read from storage, and takes longer to send over a network — which is the reason compression exists.
How this is tested — you must explain the ENCODING — what is measured, and what number gets stored. It comes up two ways:
Paper 1 Section A
- Explain how a stated data type is stored, 2-4 marks
- Say why one file is larger than another
- Link detail or quality to storage size
Paper 1 Section B — case study
- Explain the storage needs of the case study's data
- Justify a format or a quality setting from them
The classic trap: Answering "it is stored as 1s and 0s". Everything is. The mark is for saying what was measured and what number was stored — brightness per pixel, wave height per sample.
Explain how a colour photograph is stored in binary, and why increasing its resolution increases the file size.
Model answer plan
See the mark-by-mark plan — for / against / judgement, with marking guidance — in study mode.