Number Systems and Bases
Aligned to the AQA 7517 specification
- Level
- Intermediate
- Reading time
- 6 min
- Published
- 13 June 2026
- Updated
- 1 July 2026
On this page
Key takeaways
- The number sets satisfy ℕ ⊂ ℤ ⊂ ℚ ⊂ ℝ: every natural number is an integer, every integer is rational, and every rational number is real.
- Not all square roots are irrational: √4 = 2 is rational, while √2 is irrational; only non-perfect-square roots are irrational.
- Each hexadecimal digit represents exactly 4 binary bits (a nibble), making hex a compact, less error-prone shorthand for long binary strings.
- In the repeated-division-by-2 method, the first remainder is the least significant bit; read the remainders from bottom to top to get the correct binary value.
- 1 KiB = 2¹⁰ = 1 024 bytes (binary) while 1 KB = 10³ = 1 000 bytes (decimal); storage makers use decimal prefixes, which is why a 1 TB drive appears as ~931 GiB.
Worth saving these ideas?
Turn what you've read into instant revision cards. Free to get started.
Key terms
- Natural numbers (ℕ)
- Non-negative whole numbers including 0, used in computing for counting such as array indices and loop counters.
- Integers (ℤ)
- All whole numbers, positive, negative, and zero.
- Rational numbers (ℚ)
- Numbers expressible as a fraction p/q of integers, including integers and fractions.
- Irrational numbers
- Numbers that cannot be expressed as a fraction, having a non-terminating, non-repeating decimal, such as √2, π, and e.
- Real numbers (ℝ)
- All rational and irrational numbers combined; any point on the number line.
- Number base
- A system that defines how many distinct digits are available and the place value of each digit position, such as decimal (10), binary (2), and hexadecimal (16).
- Nibble
- A group of 4 binary bits, which is exactly what one hexadecimal digit represents.
- Byte
- A unit of 8 bits, able to store 2⁸ = 256 values.
- Kibibyte (KiB)
- A binary storage unit equal to 2¹⁰ = 1 024 bytes, distinct from the decimal kilobyte (KB) of 1 000 bytes.
Frequently asked questions
No. Only non-perfect-square roots are irrational. For example √2 is irrational, but √4 = 2 is rational because it equals the whole number 2.
Each hex digit represents exactly 4 binary bits (a nibble), so hex is a compact, far less error-prone shorthand for long binary strings; 0xAE3F is easier to handle than 1010111000111111. Hex is used in memory addresses, colour codes, machine code, and network addresses.
1 KiB equals 2¹⁰ = 1 024 bytes (binary), while 1 KB equals 10³ = 1 000 bytes (decimal). They are different: storage manufacturers use decimal prefixes, so a 1 TB drive holding 10¹² bytes appears as about 931 GiB in an OS that reports in binary units.
Generate revision on any topic you study
Type any topic you're studying and Aicademy generates a complete lesson, quiz, and flashcard set, personalised to your level.
Lessons on anything
Structured, level-matched lessons on any topic you study
Practice quizzes
Find out what you actually know before the exam does
Flashcard sets
Lock in key concepts with instant revision cards
Ask Aica
Stuck on something? Get a clear explanation, any time
Turing Machines
Binary Number Representations
Related lessons
5 min
6 min
5 min