Activity 01
Pairs Activity: Manual RLE vs Huffman
Provide pairs with text or image data strips. First, apply RLE by noting runs of repeats. Then, calculate Huffman codes based on symbol frequencies using a provided tree. Compare resulting 'compressed' lengths and discuss efficiency differences.
When is the loss of data quality an acceptable price to pay for reduced file size?
Facilitation TipDuring the Pairs Activity: Manual RLE vs Huffman, circulate and ask each pair to explain their encoding choices step-by-step to uncover misconceptions early.
What to look forPresent students with a short string of repeating characters, e.g., 'AAAAABBBCCDAAAAAA'. Ask them to apply Run Length Encoding to it and write the compressed output. Then, ask them to explain why RLE is effective for this specific data.