Practice Questions
OxfordAQA A-Level Computer Science (9645): Units of information – Practice Questions
Fifteen original OxfordAQA 9645 questions on sub-topic 3.5.2: bits, bytes, 2^n values, binary and decimal prefixes and size conversions, with answers.
- Subject
- Computer Science
- Level
- AS LEVEL
- Topic
- Topic 5 – Representing data
- Author
- Marlbridge Academic Team
- Updated
- Reviewed by
- Harris Khan (what this means)
Aligned to OxfordAQA A Level Computer Science (9645), 2024-onwards. Official specification .
Syllabus page (what it covers and how it is assessed): OxfordAQA A Level Computer Science.
Syllabus points this page covers
9645 (AS Level)
- 3.5.2 Units of information
This page covers 1 of the 8 subtopics in topic 5, Representing data.
Found an error? Report a correction.
Need help with this topic? Request a free trial class for A Level Computer Science (9645).
These are original questions written for Marlbridge, for revision and practice on this content. They are not reproduced past-paper questions, and they do not replicate the exam’s exact structure, question count or mark tariffs – examination boards hold copyright in their own papers. Use these alongside the official past papers from your board or school.
These questions practise sub-topic 3.5.2 Units of information of OxfordAQA International AS and A-level Computer Science (9645), Version 1.1: bits and bytes, 2^n patterns, binary prefixes (kibi, mebi, gibi, tebi) and decimal prefixes (kilo, mega, giga, tera). Use 1 KiB = 2^10 B and 1 kB = 10^3 B.
Related pages: units of information study guide · units of information revision notes
Section A
1. State what is meant by a bit and by a byte. [2]
2. State the number of different patterns that can be made with 6 bits. [1]
3. Give the symbol and the power of 2 for the prefix gibi. [2]
4. Give the symbol and the power of 10 for the prefix tera. [2]
Section B
5. A sensor can report one of 12 different states. Calculate the smallest number of bits needed to represent the state. Show your reasoning. [2]
6. Convert:
(a) 6 MiB to KiB [1]
(b) 12,288 KiB to MiB [1]
(c) 2.5 TB to GB [1]
(d) 750 MB to bytes [1]
7. A file is 3,670,016 bytes long. Give its size in MiB. [2]
8. A memory chip is labelled 4 GiB. Calculate the number of bytes it holds. [2]
9. A hard drive is sold as 40 GB. The operating system reports the capacity as 37.3 GiB.
(a) Explain why the two figures differ although the drive has lost no storage. [2]
(b) Show a calculation that gives 37.3 GiB from the sale label. [2]
10. A programmer says that 1 KiB is the same as 1 kB because both mean about a thousand bytes.
(a) State the number of bytes in each. [2]
(b) Explain why the difference becomes more important for larger units. [2]
(c) State the name of the unit written MB and the name of the unit written MiB. [2]
11. A flash drive holds 64 GiB.
(a) Calculate the capacity in bytes. [2]
(b) Convert your answer to GB, to one decimal place. [2]
12. A file is 2.5 KiB long.
(a) State its size in bytes. [1]
(b) State its size in bits. [1]
13. A form field must hold one of 600 possible codes. Calculate the smallest number of bits needed. [2]
14. Convert:
(a) 1.5 MiB to KiB [1]
(b) 1,500 kB to MB [1]
(c) 3 TiB to GiB [1]
15. Explain why the binary prefixes (kibi, mebi, gibi, tebi) were introduced. [2]
Answers
1. A bit is the fundamental unit of information (a binary digit with the value 0 or 1) [1]; a byte is a group of 8 bits [1]. [2]
2. 2^6 = 64 [1]. [1]
3. Gi [1]; 2^30 [1]. [2]
4. T [1]; 10^12 [1]. [2]
5. 2^3 = 8 is too few and 2^4 = 16 is enough [1], so 4 bits [1]. [2]
6. (a) 6 × 1,024 = 6,144 KiB [1]
(b) 12,288 ÷ 1,024 = 12 MiB [1]
(c) 2.5 × 1,000 = 2,500 GB [1]
(d) 750 × 1,000,000 = 750,000,000 bytes [1]
7. 3,670,016 ÷ 1,048,576 (2^20) [1] = 3.5 MiB [1]. [2]
8. 4 × 2^30 [1] = 4,294,967,296 bytes [1]. [2]
9. (a) The label uses decimal gigabytes (1 GB = 10^9 bytes) [1], while the operating system reports binary gibibytes (1 GiB = 2^30 bytes), which are bigger units, so the number is smaller [1]. [2]
(b) 40 × 10^9 = 40,000,000,000 bytes [1]; divided by 1,073,741,824 gives about 37.3 GiB [1]. [2]
10. (a) 1 KiB = 1,024 bytes [1]; 1 kB = 1,000 bytes [1]. [2]
(b) The gap grows with each step: about 2.4% for kibi against kilo, but about 7.4% for gibi against giga and 10% for tebi against tera [1], so a mix-up gives larger errors in big quantities [1]. [2]
(c) MB is a megabyte (10^6 bytes) [1]; MiB is a mebibyte (2^20 bytes) [1]. [2]
11. (a) 64 × 2^30 [1] = 68,719,476,736 bytes [1]. [2]
(b) 68,719,476,736 ÷ 10^9 [1] = 68.7 GB [1]. [2]
12. (a) 2.5 × 1,024 = 2,560 bytes [1]. [1]
(b) 2,560 × 8 = 20,480 bits [1]. [1]
13. 2^9 = 512 is too few [1]; 2^10 = 1,024 is enough, so 10 bits [1]. [2]
14. (a) 1.5 × 1,024 = 1,536 KiB [1]
(b) 1,500 ÷ 1,000 = 1.5 MB [1]
(c) 3 × 1,024 = 3,072 GiB [1]
15. The prefixes kilo and mega are powers of 10 (1,000 and 1,000,000), but memory sizes are naturally powers of 2 (1,024 and 1,048,576) [1]; using the same word for both caused confusion, so the binary prefixes were introduced to mean powers of 2 exactly [1]. [2]
Frequently asked questions
Do I need to know the historic meaning of kilobyte? You should know that kibibyte, mebibyte and so on have replaced the historic meanings of kilobyte, megabyte and so on, and that kilo, mega, giga and tera are now decimal prefixes.
Is a Mbit the same as a MB? No. A small b is a bit and a capital B is a byte; one byte is eight bits.
Official syllabus
OxfordAQA International AS and A-level Computer Science (9645) specification, Version 1.1, for International AS exams May/June 2025 onwards and International A-level exams May/June 2026 onwards: sub-topic 3.5.2 Units of information.
Related resources
-
Revision notes
OxfordAQA A-Level Computer Science (9645): Units of information – Revision Notes
Recall notes for OxfordAQA 9645 sub-topic 3.5.2: bits and bytes, 2^n values, binary and decimal prefixes, conversion rules and a self-test.
Computer Science · OxfordAQA · AS Level
Revise topic -
Study guides
OxfordAQA A-Level Computer Science (9645): Basic encryption methods
OxfordAQA 9645 sub-topic 3.5.7 in depth: encryption terms, the Caesar and Vernam ciphers, perfect and computational security and the key exchange problem.
Computer Science · OxfordAQA · AS Level
Read guide -
Practice questions
OxfordAQA A-Level Computer Science (9645): Basic encryption methods – Practice Questions
Twelve original OxfordAQA 9645 questions on sub-topic 3.5.7: Caesar and Vernam ciphers, perfect and computational security and key exchange, with answers.
Computer Science · OxfordAQA · AS Level
Try questions
Get free revision emails (optional)
Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.