Kibibytes versus kilobytes
A text file is stored as exactly 3 KiB.
Which of the following is the size of the file in bytes?
A 3000
B 3072
C 3 000 000
D 24 576
[1]
- 1
Recall the binary prefix. Kibi (Ki) is a binary prefix: 1 KiB = 2¹⁰ bytes = 1024 bytes. Kilo (k) is the decimal prefix: 1 kB = 1000 bytes.
- 2
Calculate. 3 × 1024 = 3072 bytes. Answer B (1).
A is 3 kB (decimal prefix). C is 3 MB. D is the size in bits (3072 × 8), not bytes.
Answer
B (3072 bytes)
Examiner tip
Examiner tip: learn the pairs from the syllabus side by side: kibi/kilo, mebi/mega, gibi/giga, tebi/tera. The binary prefix always has an 'i' in it and is a power of 2 (1024, 1024², …); the decimal prefix is a power of 10 (1000, 1000², …).
Common mistake: choosing D. Read whether the question asks for bits or bytes before you multiply by 8.