Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1kib = bytes / 1024 | AMultiplies instead of dividing. Going to a larger unit needs division by 1024, so the answer would be far too big. | |
| 2gib = mib / 1024 | B1536 / 1024 = 1.5 | |
| 3To go from KiB to MiB (the next larger unit), divide by 1024 | CDivides by 1000 instead of 1024. Storage units in this course use 1024 between each step. | |
| 4The answer may not be a whole number, e.g. 1536 bytes is 1.5 KiB | DConverts a size in bytes to kibibytes by dividing by 1024 | |
| 5kib = bytes * 1024 | EConverts a size in mebibytes to gibibytes by dividing by 1024 | |
| 6mib = kib / 1000 | Fmib = kib / 1024 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
divide by 1024 — To convert to the next larger unit (bytes to KiB, KiB to MiB, MiB to GiB), divide the size by 1024. The answer may not be a whole number.kib = bytes / 1024mib = kib / 1024gib = mib / 1024bytes = 1536
kib = bytes / 1024
print(kib)mib = 3584
gib = mib / 1024
print(gib)