This shows you the differences between two versions of the page.
ep:labs:01:contents:tasks:ex3 [2019/09/22 15:42] radu.mantu created |
ep:labs:01:contents:tasks:ex3 [2021/10/13 01:13] (current) radu.mantu |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== T03. [20p] Zip with compression levels ==== | + | ==== 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: | 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 0** : provides no compression, only packaging | ||
Line 9: | Line 9: | ||
</code> | </code> | ||
- | === [15p] Task A - Measurements === | + | === [10p] Task A - Measurements === |
Write a script to measure the compression rate and the time required for each level. Use the following files: | Write a script to measure the compression rate and the time required for each level. Use the following files: | ||
* two largest bitmaps from [[https://www.fileformat.info/format/bmp/sample/index.htm|here]] | * two largest bitmaps from [[https://www.fileformat.info/format/bmp/sample/index.htm|here]] | ||
Line 15: | Line 15: | ||
=== [5p] Task B - Plot === | === [5p] Task B - Plot === | ||
- | Fill the data you obtained into the python3 script in {{:ep:labs:plot.zip|plot.zip}}. \\ | + | Fill the data you obtained into the **python3** script in {{:ep:labs:plot.zip|plot.zip}}. \\ |
Make sure you have **python3** and **python3-matplotlib** installed. | Make sure you have **python3** and **python3-matplotlib** installed. | ||
Line 94: | Line 94: | ||
</code> | </code> | ||
</solution> | </solution> | ||
- |