Quick checks

Compression

Pupils encode or decode with run-length encoding or a Huffman code table, or count how many bits a message takes with Huffman coding and with ASCII.

Marked automatically

Good for

GCSE Computer Science lossless compression (OCR J277 1.2, AQA 8525 3.3.8): run-length encoding of text and images, and Huffman coding.

How to set it up

  1. 1Open the assignment in the editor and choose Add task.
  2. 2Pick Compression.
  3. 3Choose the kind of question, then type each text or message, or press Make one.
  4. 4Open Practice Preview to try it as a pupil, then run the readiness check before you set it.

Tips from the classroom

  • Give each pupil different numbers so answers cannot be copied.