ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Lossless Compression
|
|
Lossy Compression
|
|
Either A or B
|
|
None of the above
|
Detailed explanation-1: -Lossless compression is a class of data compression that allows the original data to be perfectly reconstructed from the compressed data with no loss of information. Lossless compression is possible because most real-world data exhibits statistical redundancy.
Detailed explanation-2: -Lossless compression is a class of data compression algorithms that allows the original data to be perfectly reconstructed from the compressed data. Lossless compression methods are reversible.
Detailed explanation-3: -Lossless compression “packs” data into a smaller file size by using a kind of internal shorthand to signify redundant data. If an original file is 1.5 MB, for example, lossless compression can reduce it to about half that size, depending on the type of file being compressed.
Detailed explanation-4: -If data have been losslessly compressed, the original data can be recovered exactly from the compressed data. Lossless compression is generally used for applications that cannot tolerate any difference between the original and reconstructed data. Text compression is an important area for lossless compression.
Detailed explanation-5: -Lossless compression restores and rebuilds file data in its original form after the file is decompressed.