AQA · GCSE · Computer Science
Course version: 8525 · Version from Sept 2020
Converting between number bases: decimal: 255
This row gives a decimal value, 255, as one half of a conversion task: you must be able to move between decimal and binary in both directions.
Checked against the AQA 8525 specification (opens in a new tab) on .
- Point 8 of 10
Study notes
From the checked teaching notes for this specification point.
The idea
This row gives a decimal value, 255, as one half of a conversion task: you must be able to move between decimal and binary in both directions. To convert 255 to binary, use place values 128, 64, 32, 16, 8, 4, 2 and 1. Take 128 (remainder 127), then 64 (63), 32 (31), 16 (15), 8 (7), 4 (3), 2 (1) and 1 (0), so every place is set and the result is 1111 1111. Check by adding the place values back: 128+64+32+16+8+4+2+1 = 255. Recognise 255 as the largest 8-bit unsigned value, so all eight bits are 1. The reverse direction matters too: given 1111 1111, sum the place values to recover 255.
What earns the marks
- Recognises the 8-bit place values 128, 64, 32, 16, 8, 4, 2, 1 and that 255 requires all of them set.
- Correctly converts 255 to the 8-bit binary 1111 1111.
- Verifies the conversion by summing place values to return 255.
- States that 255 is the maximum value representable in 8 unsigned bits, so all bits are 1.
Common mistakes and how to put them right
Writing the binary digits in the wrong order (least significant bit first).
Put it right: Place 128 on the left and 1 on the right, giving 1111 1111.
Assuming 255 needs nine bits.
Put it right: Eight bits hold 0 to 255 inclusive, so eight 1s suffice.
Confusing 255 with 256 and expecting a carry into a ninth bit.
Put it right: 256 would require a ninth bit, but 255 does not.
Exam tips
- Write the place-value headings above the bits before converting, so each 1 or 0 is justified.
- Always check your answer by adding the place values back to the original decimal.
- Group binary digits in fours (1111 1111) to reduce reading errors.
Try the lesson
The start of the Converting between number bases: decimal: 255 lesson, made from checked teaching notes for this specification point.
Have a go first
The decimal number 255 is converted to 8-bit binary. Which 8-bit binary value represents 255?
There is more to this lesson
The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.
A week of Premium from your first lesson · Then the free plan continues · No card, no charge
Test your understanding of Converting between number bases: decimal: 255
Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.
A week of Premium from your first lesson · Then the free plan continues · No card, no charge