This is an old revision of the document!


03. [20p] Zip with compression levels

The zip command is used for compression and file packaging under Linux/Unix operating system. It provides 10 levels of compression, where:

  • level 0 : provides no compression, only packaging
  • level 6 : used as default compression level
  • level 9 : provides maximum compression
$ zip -5 file.zip file.txt

[10p] Task A - Measurements

Write a script to measure the compression rate and the time required for each level. Use the following files:

  • two largest bitmaps from here
  • this large text file here

[10p] Task B - Plot

Fill the data you obtained into the python3 script in plot.zip.
Make sure you have python3 and python3-matplotlib installed.

NON-DEMO TASK

Include the generated plot in your submission.

ep/labs/01/contents/tasks/ex3.1603013798.txt.gz ยท Last modified: 2020/10/18 12:36 by radu.mantu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0