Fun computer science · Classes 6 to 8
Data and storage: how computers remember
Letters, pictures and songs are all stored as bits. See how a letter becomes a number, how storage units grow by 1024, and how big a picture really is.
1. Letters are numbers
A computer stores each character as a number (its ASCII code), and that number as 8 bits. Type a word to see. Predict first.
2. Bytes, KB, MB and GB
Each unit is 1024 times the one before it. Enter an amount and see it in every unit.
3. How big is a picture?
A picture is a grid of pixels, and each pixel needs some bits. Change the grid and the bits and watch the size.
Remember in one minute
- Characters are stored as numbers (ASCII): A = 65, a = 97, 0 = 48. Each takes 1 byte = 8 bits.
- 1 KB = 1024 bytes, 1 MB = 1024 KB, 1 GB = 1024 MB.
- Picture size in bytes = width × height × bits per pixel ÷ 8. n bits per pixel give 2^n colours.
- Download time = file size in megabits ÷ speed in megabits per second (1 MB = 8 megabits).
Practice now: 3 levels, worked answers, progress tracker →
This is a practice aid made by BodhiScore, not a textbook or an official board resource. Your school’s textbook decides the exact syllabus and the way answers are written. Nothing on this page is saved or sent anywhere. This is a practice aid, not a substitute for your school textbook. These are standard computing facts; where a value depends on a convention (such as 1 KB = 1024 bytes) the question says which one is used.