|2.2 Text Compression Enrichment
Real World: Zip Compression
- Experiment with zip using text files with different contents. Are the results for small files as good as for large files? (On Macs, in the Finder choose “get info” for a file to see the actual number of bytes in the file, since the Finder display will show 4KB for any file that’s less than that.)
- Warning: results may vary. Zip works really well for text, but it might not compress other files very well because they are already compressed or don’t have the same kinds of embedded patterns that text documents do.
Challenge: Research the LZW algorithm
- .zip compression is based on the LZW Compression Scheme
- While the idea behind the text compression tool is similar to LZW (zip) algorithm, tracing the path of compression and decompression is somewhat challenging. Learning more about LZW and what happens in the course of this algorithm would be an excellent extension project for some individuals.
| Explore PT Requirements
Digital Artifact and Written Response Submitted in Google Drive Due Mon 10/9