Converting across several units
To convert across several units, divide by 1024 for each step up the ladder or multiply by 1024 for each step down. Bytes to MiB is two steps, so divide by 1024 twice.
Understanding Converting across several units in IGCSE Computer Science Paper 1
What it does: This is a divide-by-1024 step, and the number of steps decides how many times you repeat it. Larger units mean a smaller number. Bytes to KiB is one step and KiB to MiB is a second step. Going up the ladder means dividing by 1024 for each step. Converting one step at a time and converting in one calculation both use the same 1024 per step, so the answer is 6 291 456 KiB either way. A larger unit holds more, so you need fewer of them. Divide when moving up the ladder and multiply when moving down.
Common mistakes: The answer in MiB is stored in mib, not kib. kib is only the middle step (KiB). It should be print(mib, "MiB"). Going from MiB down to KiB means moving to a smaller unit, so you multiply by 1024. It should be kib = mib * 1024.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 69–84) and word search (Modules 59–84).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
1024 per stepFill in the Blanks
Spot the Error
Student with a class code? Join your class →