aımnova
DashboardMy LearningCrash CoursesStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Crash Courses
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Teachers
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aımnova

IB study, practice and feedback built around the real exam.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.c1e448f

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesComputer ScienceTopic 1.2Storing data in binary
Back to Computer Science Topics
1.2.24 min read

Storing data in binary

IB Computer Science · Unit 1

Smart study tools

Turn reading into results

Move beyond passive notes. Answer exam-style questions, get AI feedback, and build the skills that earn top marks.

Get Started Free

Contents

  1. 1Bits mean nothing on their own
  2. 2Numbers, characters and text
  3. 3Images, sound and video
  4. 4Exam-style question
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: 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.

Claim your free topic

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.
Start Studying Free Full access to Aimnova Pro · cancel anytime
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.
Software that works in every language: Unicode stores every script. Programming languages add locale settings (dates, currency and decimal marks shown the local way), resource files that keep interface text outside the code so it can be translated, and right-to-left layout for Arabic and Hebrew.

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.

Try Smart Study FreeYour first topic is free to keep • No credit card required
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.
1

Images — one measurement per pixel

The picture is divided into a grid of pixels. Each pixel's colour is stored as numbers: one byte for a shade of grey, or three bytes for red, green and blue.

A 1000 × 1000 colour photo is three million bytes before any compression.

2

Audio — thousands of measurements a second

The height of the sound wave is measured many thousands of times per second, and each measurement is stored as a number.

Measuring more often, or storing each measurement more precisely, gives better sound and a bigger file.

3

Video — images plus audio, many times a second

Video is a sequence of complete images, typically 24 to 60 every second, with the audio stored alongside.

That is why video files are by far the largest — and why they are always compressed.

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.
IB-style questionExplain[4 marks]

Explain how a colour photograph is stored in binary, and why increasing its resolution increases the file size.

Model answer plan

See the answer broken into clear points, with guidance on how each point earns marks.

Claim your free topic

Try an IB Exam Question — Free AI Feedback

Test yourself on Storing data in binary. Write your answer and get instant AI feedback — just like a real IB examiner.

how a black-and-white image is stored in binary. [2 marks]

Related Computer Science Topics

Continue learning with these related topics from the same unit:

1.1.1CPU components1.1.2The GPU1.1.4Primary memory1.1.5Fetch–decode–execute
View all Computer Science topics
Improve your exam techniqueCommand terms, paper structure, and mark-scheme tips for Computer Science
Previous1.2.1Binary and hexNextLogic gates1.2.3

32 questions to test your understanding

Reading is just the start. Students who tested themselves scored 82% on average — try IB-style questions with AI feedback.

Start FreeView All Computer Science Topics