Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ep:labs:03:contents:tasks:ex3 [2020/08/03 16:37]
cristian.marin0805 created
ep:labs:03:contents:tasks:ex3 [2025/03/17 20:53] (current)
radu.mantu [03. [15p] Zip with compression levels]
Line 1: Line 1:
-sal+==== 03. [15p] 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
  
 +<code bash>
 +$ zip -5 file.zip file.txt
 +</​code>​
 +
 +=== [10p] Task A - Measurements ===
 +Write a script to measure the compression rate and the time required for each level. You have a few large files in the code skeleton but feel free to add more. If you do add new files, make sure that they are not random data!
 +
 +=== [5p] Task B - Plot ===
 +Generate a plot illustrating the compression rate, size decrease, etc. as a function of **zip** compression level. Make sure that your plot is //​understandable//​ (i.e., has labels, a legend, etc.) Make sure to average multiple measurements for each compression level.
ep/labs/03/contents/tasks/ex3.1596461841.txt.gz · Last modified: 2020/08/03 16:37 by cristian.marin0805
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