1. Understanding Number Systems: Denary and Binary
Humans count using the denary (or decimal) system, which is base-10. It uses ten distinct digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9). The position of a digit determines its value, based on powers of 10. For example, the number 123 is (1 × 10²) + (2 × 10¹) + (3 × 10⁰). Computers, however, are built from electronic circuits that can only be in one of two states: on or off. These states are represented by the binary system, which is base-2. It uses only two digits: 1 (on) and 0 (off). These binary digits are called 'bits'. All data inside a computer, from numbers to text to images, is ultimately stored as a sequence of bits. The value of a binary number is determined by powers of 2.
Denary Place Values: ... 10³, 10², 10¹, 10⁰
Binary Place Values: ... 2³, 2², 2¹, 2⁰
Key term
Examiner insight
Fun fact
Worked example 12 marks
What is the largest denary number that can be represented using 4 bits?
- 1
Step 1: Identify the largest binary number possible with 4 bits. This is when all bits are '1', so the number is 1111.
- 2
Step 2: Write down the place values for a 4-bit binary number. From right to left, they are 2⁰, 2¹, 2², 2³. These are 1, 2, 4, and 8.
- 3
Step 3: Calculate the denary value by summing the place values where the bit is '1'.
- 4
Calculation: (1 × 8) + (1 × 4) + (1 × 2) + (1 × 1) = 8 + 4 + 2 + 1 = 15.
- 5
Answer: The largest denary number is 15.
Recap
- The denary system is base-10, using digits 0-9.
- The binary system is base-2, using digits 0 and 1 (bits).
- Computers use binary to represent the on/off states of electronic circuits.
- The position of a digit in any number system determines its place value.
Quick check
- What is the base of the denary number system?1 mark
- How many unique digits are used in the binary number system?1 mark