Data representation

Bits and units, binary, hex, binary arithmetic, characters, images, sound and compression: the robot's camera pixels, LED colours and buzzer notes as data.

Module F8GCSE10 lessons

Start in the simulator
  1. F8.1 Bits, bytes and units Why computers use binary, and the units from bits to petabytes.
  2. F8.2 Binary and denary Converting 8-bit numbers both ways, and hearing them on the buzzer.
  3. F8.3 Hexadecimal Base 16, converting to binary and denary, and the LED's colour codes.
  4. F8.4 Binary addition, overflow and shifts Adding in binary with carries, overflow, and shifting to multiply and divide.
  5. F8.5 Negative numbers: two's complement Signed 8-bit integers, and why the same adder works for them.
  6. F8.6 Characters: ASCII and Unicode Character sets, bits per character, and why Unicode was needed.
  7. F8.7 Images Pixels, resolution, colour depth, metadata and file size, from the robot's camera.
  8. F8.8 Sound Sampling, sample rate, bit depth and file size, and finding a note from its samples.
  9. F8.9 Compression Lossy and lossless; run length encoding and Huffman coding.
  10. F8.10 Project: send a picture Capture a camera frame, make it 1-bit, compress it with RLE and send it by radio.