Understanding how to calculate memory size required for different files requires us to learn the terms used for differnt memory sizes. We could calculate all memory sizes in bits (a single 1 or 0 in binary), but for most memory this would mean showing capacity in the many millions which is difficult.
Instead, we use a set of standard sizes that scale up as memory requirements get larger:
After a Byte, memory is calculated in one of two ways. If we are discussing the size of files or storage devices, multiples of 1000 are used. However, if we are discussing the transfer of data, multiples of 1024 are used.
Storage | Transfer |
---|---|
1 KiloByte = 1000 Bytes | 1 KibiByte = 1024 Bytes |
1 MegaByte = 1000 KiloBytes | 1 MebiByte = 1024 KibiBytes |
1 GigaByte = 1000 MegaBytes | 1 GibiByte = 1024 MebiBytes |
1 TeraByte = 1000 GigaBytes | 1 TebiByte = 1024 GibiBytes |
Knowing this allows us to calculate how many files of a certain size can fit into another. For example:
David has a photo that is 2MB. How many of these can he store on his 3GB memory stick?
The first step is to put both in the same capacity:
3 * 1000 = 3000
Next, we can work out how many 2MB photos fit into 3000 MB:
3000 / 2 = 1500
So the answer is 1500 2MB photos could be stored on the disk if no other space is taken by other files.
The Calculating Memory Size Scribbl.it Notes provide a structured way for you to revise topic areas in a visual way. You don’t have to be an artist as it’s all been drawn out for you (or you can use this as inspiration to create your own!). Print the notes, then colour in areas of importance, add doodles and colour, then add more detail to the notes page being as creative as possible.
Question 1
What is the defenition of a bit in Computer Science?
[1]
Question 2
How many bits are there in a nibble?
[1]
Question 3
What is the maximum number that you can represent using a nibble?
[1]
Question 4
What is the formula used to calculate how many unique numbers can be represented using a bit pattern?
[1]
Question 5
What is the difference between a kilobyte and a kibibyte?
[2]