Computers store all data as binary.
Convert the denary number 104 into 8-bit binary.
Show your working.
Mark scheme
2 marks for the correct answer
- 01101000
No marks for working on its own (e.g. dividing by 2, or writing the place values (128, 64, 32, 16, 8, 4, 2, 1) with the binary below and subtracting).
Guidance
Binary must be 8 bits.
Example answers and how they were marked
128 64 32 16 8 4 2 1
0 1 1 0 1 0 0 0
104 − 64 = 40, 40 − 32 = 8, 8 − 8 = 0
Answer: 01101000
Why: The correct 8-bit answer (2); the place values and subtractions show how it was found.
1 2 4 8 16 32 64 128
0 0 0 1 0 1 1 0
Answer: 00010110
Why: The place values are written smallest first, so the answer comes out back to front and is wrong (0).
01100000
Why: No working (0), and the 1 bit is missed, so the answer is wrong (0).