Data Representation: computers store all data in binary (0s and 1s).
A single 0 or 1 is a bit; 8 bits = 1 byte. To convert binary to denary, add the place values (128, 64, 32, 16, 8, 4, 2, 1): so binary 1010 = 8 + 2 = 10. Hexadecimal is a shorter way to write binary.
Remember
- 1 bit = 0 or 1 · 8 bits = 1 byte.
- Binary place values: 128, 64, 32, 16, 8, 4, 2, 1.