Gibibyte (GiB)

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Gibibyte (GiB)

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. How many mebibytes (MiB) are in 1 gibibyte (GiB)?
A 1024 MiB
B 1000 MiB
2. Which unit is larger?
A GiB
B MiB
3. Which unit comes straight after the mebibyte (MiB) on the unit ladder?
A Kibibyte (KiB)
B Gibibyte (GiB)
4. Which statement about a gibibyte is correct?
A 1 GiB = 1024 MiB
B 1 GiB = 1024 KiB
5. Which is a typical size for a film or a memory stick?
A A few bits
B A few GiB

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
11 GiB = 1024 MiB AThe symbol for gibibyte, a unit of storage that a film or memory stick often measures in
2GiB BOne gibibyte is made up of 1024 mebibytes
3To change gibibytes into mebibytes, multiply by 1024 C3 GiB * 1024 = 3072 MiB
4The gibi prefix means 1024 cubed bytes DStorage units go up in steps of 1024, not 1000. A gibibyte is 1024 MiB.
51 GiB = 1000 MiB EConverting to a smaller unit means multiplying by 1024, not dividing.
68 GiB = 8 / 1024 MiB F1 GiB = 1024 * 1024 * 1024 bytes

Definitions

gibibyte

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
1 GiB = ____ MiB
2.
1 ___ = 1024 MiB
3.
1 GiB = 1024 ___
4.
1 GiB = 1024 ^ _ bytes
5.
sizeMiB ← 2048 sizeGiB ← sizeMiB _ 1024

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A mib ← 3072
B gib ← mib DIV 1024
C OUTPUT gib, " MiB"
Question 2
A mibPerGib ← 1000
B gib ← 2
C mib ← gib * mibPerGib
D OUTPUT mib
Question 3
A mib ← 5120
B gib ← mib * 1024
C OUTPUT gib
Question 4
A gib ← 4
B mib ← gib * 1024
C kib ← mib DIV 1024
D OUTPUT kib
Question 5
A stick ← 16
B film ← 4
C count ← stick DIV film
D OUTPUT stick, " films fit"

Answer Key

Gibibyte (GiB)
Section A: Quick Questions
Q1
A — 1024 MiB
Q2
A — GiB
Q3
B — Gibibyte (GiB)
Q4
A — 1 GiB = 1024 MiB
Q5
B — A few GiB
Section B: Match the Pairs
Q1
1 GiB = 1024 MiB → One gibibyte is made up of 1024 mebibytes
Q2
GiB → The symbol for gibibyte, a unit of storage that a film or memory stick often measures in
Q3
To change gibibytes into mebibytes, multiply by 1024 → 3 GiB * 1024 = 3072 MiB
Q4
The gibi prefix means 1024 cubed bytes → 1 GiB = 1024 * 1024 * 1024 bytes
Q5
1 GiB = 1000 MiB → Storage units go up in steps of 1024, not 1000. A gibibyte is 1024 MiB.
Q6
8 GiB = 8 / 1024 MiB → Converting to a smaller unit means multiplying by 1024, not dividing.
Section C: Definitions
Q1
gibibyte — A gibibyte (GiB) is a unit of data storage equal to 1024 mebibytes (MiB). A film or memory stick is often a few GiB. The gibi prefix means 1024 cubed bytes.
Section D: Fill in the Blanks
Q1
1 GiB = 1024 MiB
Q2
1 GiB = 1024 MiB
Q3
1 GiB = 1024 MiB
Q4
1 GiB = 1024 ^ 3 bytes
Q5
sizeMiB ← 2048 sizeGiB ← sizeMiB / 1024
Section E: Spot the Error
Q1
C — The value in gib is a number of gibibytes (3072 MiB DIV 1024 = 3), so the label must be " GiB", not " MiB".
Q2
A — A gibibyte is 1024 mebibytes, not 1000. Storage units in this system use 1024, so the line should be mibPerGib ← 1024.
Q3
B — Going from MiB to the larger unit GiB means dividing by 1024, not multiplying. It should be gib ← mib DIV 1024.
Q4
C — Going from MiB to the smaller unit KiB means multiplying by 1024, not dividing. It should be kib ← mib * 1024.
Q5
D — The number of films that fit is stored in count (16 GiB DIV 4 GiB = 4). The program should output count, not stick.