← AC9TDI10K03 Data compression techniques

Lossless compression — run-length encoding

AC9TDI10K03 n2 · waypoint 2 of 3 · Year 10 Digital Technologies (knowledge) · Data representation · Hinge

Draft, from Waypoints Kit v0.2. Generated from Kit's node data and not yet reviewed by a specialist in Digital Technologies (knowledge): treat it as a starting suggestion and check it before use.

Checkpoint

Students can use run-length encoding to represent patterns in data in a compressed form and explain how the algorithm works.

Make a primer for this
Opens Create with a Primer starter: title, goals from the success criteria, the misconception and width suggestions to choose from. Nothing is published until you send it in.

Lessons on this site

Success criteria

Prior knowledge

Waypoint 1: Why compression is needed.

Width

Minimum
Apply run-length encoding to a simple sequence (e.g. a row of pixels) and explain how it reduces storage by representing repeated values as a count-value pair.
Typical
Apply run-length encoding to image row data; calculate the compression ratio achieved; explain when RLE is effective (many repeated values) and when it is not (random/varied data).
Wider
  • Investigate additional lossless compression techniques (e.g. Huffman coding concepts) and explain how they generalise the principle of representing frequent patterns efficiently
  • Apply RLE to different data sequences and identify what properties make data more or less compressible with this technique

Hinge

RLE procedural errors cascade into N3 — students who cannot correctly encode a sequence cannot calculate compression ratios or reason about when RLE is effective versus ineffective, which is the foundation for lossy/lossless comparison.

Response modes

Where extra effort goes at this waypoint (width), not what kind of lesson it is.

Consolidation: more practise steps, short feedback loopsRun-length encoding requires students to apply a precise algorithmic procedure. Errors in counting runs or encoding the count-value pair are common. Sufficient practice with varied sequences — images, text repetitions, binary strings — builds the procedural fluency needed before the conceptual explanation is solid.

Kit node file for AC9TDI10K03 (JSON; this waypoint is node 2)

Descriptors: Australian Curriculum v9 (ACARA, CC BY 4.0). Waypoints, success criteria, width and response modes: Waypoints Kit v0.2 (CC BY-NC-SA 4.0), waypoints-kit 834ceb8. Corrections go to Kit, not this site.