Loading…
Loading…
Loading…
AQA GCSE Computer Science · 8525
AQA 8525 Check the specification (PDF) (opens in a new tab)
A number system gives us a way to write numbers using digits. , and can represent the same numerical values, but they use different digits and .
The base tells us how many different digits are available, including zero. Decimal has ten digits, binary has two and hexadecimal has sixteen.
These are all positional number systems: a digit's position affects its contribution to the number. For whole numbers, the rightmost position has a place value of 1. Each step to the left multiplies the place value by the base.
Decimal, also called denary, is the familiar base-10 system used for everyday counting and calculations. Its digits are 0–9.
Reading from right to left, its place values are 1, 10, 100, 1000 and so on. These are powers of ten: , , and . The power records how many times we multiply 1 by the base; .
For example, the digits in 3268 occupy these positions:
| Place value | 1000 | 100 | 10 | 1 |
|---|---|---|---|---|
| Digit | 3 | 2 | 6 | 8 |
The number means three thousands, two hundreds, six tens and eight ones:
Each digit contributes its value multiplied by its place value. We then add the contributions together.
Binary is base 2, so its only digits are 0 and 1. Each binary digit is called a bit.
The positional rule stays the same, but now each place value is twice the one to its right:
| Place value, left to right | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|
| Power of two |
A 1 contributes that position's place value; a 0 contributes nothing. In the binary number 1100, the 8 and 4 positions contain ones, while the 2 and 1 positions contain zeros:
So binary 1100 represents decimal 12. Having only two possible digits does not restrict binary to two numerical values: additional positions let us represent larger numbers.
Hexadecimal is base 16. It uses 0–9 for the first ten digit values, then A–F for the remaining six:
| Hexadecimal digit | A | B | C | D | E | F |
|---|---|---|---|---|---|---|
| Decimal value | 10 | 11 | 12 | 13 | 14 | 15 |
The letters act as single digits. For example, A represents the value ten, rather than a separate variable.
Hexadecimal place values increase by a factor of sixteen. The rightmost position is the ones position, , and the next is the sixteens position, .
For example, hexadecimal 13 means one sixteen and three ones:
It therefore represents decimal 19, not decimal thirteen.
The written number 10 shows why the base matters. It means one group of the base and zero ones:
In each system, once all the single digits have been used, counting continues by using another position. Decimal goes from 9 to 10, binary from 1 to 10, and hexadecimal from F to 10. The underlying quantity has not changed its nature: only the way we write it has changed.
| System | Base | Available digits |
|---|---|---|
| Decimal / denary | 10 | 0–9 |
| Binary | 2 | 0, 1 |
| Hexadecimal | 16 | 0–9, A–F |
Hexadecimal: A = 10, B = 11, C = 12, D = 13, E = 14, F = 15.
For whole numbers, start with 1 on the right. Moving left, multiply by the base:
The digits alone do not determine the value: the base matters. Written 10 means ten in decimal, two in binary and sixteen in hexadecimal.
Identify the base before interpreting a number: the same written digits can represent different values in different bases.
For whole numbers, the rightmost place value is always 1. Moving left, multiply each place value by the base.
In hexadecimal, A represents 10 and F represents 15. There is no single hexadecimal digit for 16: it is written as 10.
It can see this note and what your specification asks for.
Answers are free with an account.
1 free note left this week
Get more free notesYour answer sets when this note comes back for review, or marks it complete.
Was this note helpful?
Log in to tell us whether it helped, or to report a problem.
Last updated
Number system
A system for representing numbers using a set of digits and rules for their place values.
Base
The number of different digits available in a number system, including zero. Each place value is the base times the place value immediately to its right.
Place value
The value assigned to a digit's position in a number. A digit's contribution is its numerical value multiplied by its place value.
Decimal
The base-10 number system, using the digits 0–9. It is also called denary.
Binary
The base-2 number system, using only the digits 0 and 1.
Bit
A binary digit: either 0 or 1.
Hexadecimal
The base-16 number system, using the digits 0–9 and A–F, where A–F represent the values 10–15.
Put your knowledge into practice — try past paper questions for Computer Science
Number system
A system for representing numbers using a set of digits and rules for their place values.
Base
The number of different digits available in a number system, including zero. Each place value is the base times the place value immediately to its right.
Place value
The value assigned to a digit's position in a number. A digit's contribution is its numerical value multiplied by its place value.
Decimal
The base-10 number system, using the digits 0–9. It is also called denary.
Binary
The base-2 number system, using only the digits 0 and 1.
Bit
A binary digit: either 0 or 1.
Hexadecimal
The base-16 number system, using the digits 0–9 and A–F, where A–F represent the values 10–15.