Upload files to ''
This commit is contained in:
parent
313f407447
commit
6a1930de0b
22
hw04.txt
Normal file
22
hw04.txt
Normal 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.
|
Loading…
Reference in New Issue
Block a user