Upload files to ''

This commit is contained in:
Mohammad Mehadi Hasan 2019-02-01 00:37:12 +00:00
parent 313f407447
commit 6a1930de0b

22
hw04.txt Normal file
View File

@ -0,0 +1,22 @@
Homework 4
(Mohammad Mehadi Hasan)
1. Generate a text file of 100 000 characters, whose compression ratio in the ZIP algorithm is maximal.
Answer:The maximal compression ratio is all the characters are the same digital number or capital letter in a original file.
2. Generate a text file of 100 000 characters, whose compression ratio in the ZIP algorithm is minimal.
Answer : The minimal compression is like novel whose characters are disordered. Specially there are no consective identical character in text file.
3. Generate a bitmap file, whose compression ratio in the JPEG algorithm is maximal.
Answer: The maximal compression Ratio for JPEG file is that of the file which has only one colour like all black or all red.
4. Generate a bitmap file, whose compression ratio in the JPEG algorithm is minimal.
Answer: The minimal compression Ratio for JPEG file is that of the file which is like a real picture where each pixel and the pixel next to it are in different colour.