AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

How much can we store?

Week 7 · Unit 3: Computer storage · 3 lessons
1

Bytes, kilobytes and megabytes

Computing 5: Unit 3, pp. 34–43
GoalUse the units byte, kilobyte, megabyte and gigabyte and compare file sizes.
New words
kilobyte (KB) · 1024 bytes; enough for a short text of about 1000 charactersmegabyte (MB) · 1024 kilobytesgigabyte (GB) · 1024 megabytesfile · a named piece of data saved on a computer, such as a photo or a song
Explanation

A byte is too small to count big files, so we use bigger units. One kilobyte (KB) is 1024 bytes, about a thousand. One megabyte (MB) is 1024 kilobytes. One gigabyte (GB) is 1024 megabytes. A short note may need 1 KB. A small picture for a web page may need about 50 KB, and a sharp photo from a camera may need a few MB. A song of three minutes is about 3 MB, and a film needs about a thousand times more. Better quality needs more bytes. To compare two sizes, change them to the same unit first.

UnitHow much
bit0 or 1
byte8 bits (one character)
kilobyte (KB)1024 bytes
megabyte (MB)1024 KB
gigabyte (GB)1024 MB
Worked examples
SizeIn a smaller unit
2 KB2 × 1024 = 2048 bytes
3 MB3 × 1024 = 3072 KB
To change a bigger unit to a smaller one, multiply by 1024. So 2 KB is 2 × 1024 = 2048 bytes. And 3 MB is 3 × 1024 = 3072 KB.
A tablet has 20 MB of free space. Each photo needs 4 MB. The number of photos that fit is 20 ÷ 4 = 5.
note 3 KBdrawing 200 KBsong 4 MBgame 700 MB
Put these files in order from smallest to largest: a 3 KB note, a 200 KB drawing, a 4 MB song and a 700 MB game. The units tell us the order: KB is smaller than MB.
Class activity

Size cards (2 to 4 players). Write each file on a card: a message (200 bytes), a shopping list (1 KB), a small icon (20 KB), a photo (5 MB), an e-book (2 MB), a song (4 MB), a game (300 MB), a video (800 MB). Shuffle and put them in order, smallest to largest. Then ask each other: which is bigger, 900 KB or 1 MB? Explain your answer using 1024. Make three more cards of your own.

Practice
1
Put these in order from smallest to largest: 3 MB, 800 KB, 5 bytes, 2 GB, 900 bytes.
ABCDE
3 MB800 KB5 bytes2 GB900 bytes
2
How many bytes are in 4 KB? How many kilobytes are in 2 MB?
3
Which is bigger: 900 KB or 1 MB? Explain.
File AFile B
900 KB1 MB
4
A memory card has 64 MB of free space. A pupil saves 5 photos of 8 MB each. How much space is used and how much is left?