Week 27 · Unit 11: Be a robot controller · 3 lessons
3
How big is a file?
Computing 4: Unit 11, pp. 152–167
GoalCompare the storage that different kinds of file need and predict which file is the biggest.
New words
file · information that is saved on a computer under one namestorage · the space where files are keptfile size · how much storage a file needsquality · how much detail a picture or a sound has
Explanation
Everything we save on a computer is a file. Different kinds of file need different amounts of storage. A text file holds letters, numbers and symbols, and each one needs only a very small amount of space, so text files are the smallest. An audio file, such as a voice note or a song, needs more storage than text. A high-quality photo can need as much storage as a song, or more. A video is a long series of pictures with sound, so it needs the most storage. Games can be small or very large, depending on the pictures, animations, sounds and videos inside. Higher quality and longer files are bigger. Storage is measured in units such as kilobytes (KB), megabytes (MB) and gigabytes (GB).
Worked examples
A class project has a 1-page typed story, one 1-minute voice note and 10 photos. From the smallest to the biggest, the project has the story, the voice note and then the photos. The 10 photos together are the biggest part.
Kind of file
Smaller
Bigger
video
10 seconds long
10 minutes long
photo
small, with little detail
big, with lots of detail
music
a 30-second clip
the whole song
Within one kind of file, length and quality matter. A longer file or a higher-quality file has more data, so it is bigger.
Games vary a lot. A small puzzle game with plain shapes can be smaller than one photo album. A game with a big 3D world, music and videos can be bigger than a hundred songs. This chart ranks some other files from 1 (smallest) to 5 (biggest). It is not drawn to scale.
Class activity
Boxes for files (with family): find five boxes or bags of different sizes, such as a matchbox, a small box, a shoebox, a bag and a suitcase. Write the names of files on cards: a text message, a short song, a photo, a game, a film. Decide which box each file would need if the box were its storage. Check your choices with the family. If you have a computer or tablet, ask a grown-up to show the sizes of some files in a folder and compare them with your guesses. Do not delete any files.
Practice
1
Put these files in order from the smallest to the biggest: a 10-minute video, a typed shopping list, a 2-hour film, a 3-minute song.
The shopping list, the song, the 10-minute video and then the 2-hour film.
2
Which is bigger, a 30-second video clip or a 30-minute video? Why?
The 30-minute video. It holds many more pictures and much more sound.
3
A phone has almost no storage left. Which kind of file would free the most space if a grown-up deleted it: a 10-page document, a song, a photo or a 20-minute video? Why must you ask first?
The video would free the most space. You must ask first because files may be important and someone may want to keep them.
4
True or false? (a) Text files are usually the smallest. (b) Every game needs the same amount of storage. (c) A high-quality photo is usually bigger than a low-quality one. (d) A voice note needs more storage than a film.
(a) True. (b) False: games vary a lot. (c) True. (d) False: a film is much bigger.