Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
A school keeps backup copies on a disk of 2 TiB. Every backup file is 512 MiB.
How many backup files fit on the disk?
A nibble is 4 bits and a byte is 8 bits. Then each unit is 1024 of the one before: KiB, MiB, GiB, TiB, PiB, EiB. Going down the ladder, multiply by 1024 for each step; going up, divide. Calculations use 1024, never 1000.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
Given. A 2 TiB disk and files of 512 MiB.
Plan. Change the disk size to MiB, then divide.
Step 1. TiB to GiB. GiB.
Step 2. GiB to MiB. MiB.
Step 3. Divide. files.
Check. A file of 512 MiB is half a GiB, so 2 files fit in each GiB. .
Answer: 4096 backup files.
Log in to join the discussion.
Loading…