Text Compression

Text Compression
PDFs
Can't find a translation? Check our projects page for status.

Many computer users are familiar with compressed formats such as zip, gzip, or gif images. These are based on a method called Ziv-Lempel coding, which turns out to be an interesting exercise in finding patterns in text.

Children's rhymes and stories are good examples for text compression, because they often involve repeated words and sequences.

  • Text Compression
Extension 
  • Computing Science Inside Workshop has an activity Zipping it Up which is a nice extension activity to this topic. This workshop questions why it has taken so long to introduce 3G mobile phones, identifying lack of bandwidth as a key issue. It explores the area of data compression and decompression - essential in any application where the bandwidth is low or storage is limited - and gets pupils working with the kinds of algorithms that underlie the Zip utility found on a PC.
    Note: You will need to apply and register in order to recieve the Workshop Pack for this activity.

Other Resources