Back to Topic 1.2 — Data representation and logic
1.2.2Computer Science SL5 flashcards

Storing data in binary

Practice Flashcards

Flip to reveal answers
Card 1 of 51.2.2
1.2.2
Question

Why do the same bits mean different things in different files?

Click to reveal answer

Track your progress — Sign up free to save your progress and get smart review reminders based on spaced repetition.

All 5 Flashcards — Storing data in binary

Sign up free to track progress and get spaced-repetition review schedules.

Card 1concept

Question

Why do the same bits mean different things in different files?

Answer

Because the meaning is an agreement held by the program reading them, not a property of the bits. 01000001 is 65 read by place value and A read through a character set.

Card 2process

Question

How is text stored in binary?

Answer

Each character is given a number by an agreed character set — 65 for A in ASCII — and that number is stored in binary. A string is those numbers one after another, so CAT is 67, 65, 84.

Card 3comparison

Question

What is the difference between ASCII and Unicode?

Answer

ASCII uses one byte per character and covers English. Unicode assigns numbers to every writing system, using more bytes per character where it needs them.

Card 4process

Question

How is an image stored in binary?

Answer

The picture is divided into a grid of pixels, and each pixel's colour is stored as numbers — one byte for greyscale, or three bytes for red, green and blue. More pixels means proportionally more storage.

Card 5process

Question

How are audio and video stored?

Answer

Audio: the height of the sound wave measured thousands of times a second, each measurement stored as a number. Video: a complete image 24 to 60 times a second, plus the audio — which is why video files are the largest.

Track your progress with spaced repetition

Sign up free — Aimnova tells you exactly which cards to review and when, so you remember everything before your IB exam.

Start Free