COMPUTER NETWORKING

MULTIMEDIA AND QUALITY OF SERVICE

COMPRESSION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What type of compression would you use to compress a text file?
A
Lossy
B
Lossless
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -Lossless compression algorithms are needed in cases where we want the reconstructed file output to be identical to the original output. Lossless compression is generally used for text compression: data such as database records, spreadsheets, and word processing files.

Detailed explanation-2: -With lossless compression, every bit of data originally in a file remains after it is uncompressed, and all the information is restored. Lossy compression reduces a file by permanently eliminating certain information, especially redundant information.

Detailed explanation-3: -Lossless compression refers to compression in which the image is reduced without any quality loss. Usually this is done by removing unnecessary metadata from JPEG and PNG files. RAW, BMP, GIF, and PNG are all lossless image formats.

There is 1 question to complete.