What is the difference between lossless and lossy compression?
What will be an ideal response?
Lossless compression means that no data is lost or destroyed when performing successive compression and decompression
operations; that is, if X is compressed to form Y, and Y decompressed to get Z, then X and Z are
identical if the algorithm is lossless. Run length, Huffman, and ZIP compression technologies are all examples of
lossless encoding.
Lossy compression performs a compression and decompression operation where the final result is not the same
as the original source data. It is impossible to recover exactly the original source data. After a large number of
lossy compression and decompression cycles, the original data may be too altered to be of any practical use.
Lossy compression is used with data where a slight information loss is acceptable; for example with audio, image, and video signals. Lossy compression relies on the human inability to detect small errors in sound and
images.
MPEG, MP3, and JPEG are examples of lossy encoding.
You might also like to view...
When describing a document’s measurements, which dimension is listed first: the width or the height?
What will be an ideal response?
The Response.Redirect method ________.
a) refreshes the current Web page b) sends the client browser to a specified Web page c) responds to user input d) responds to the click of a Button
A user report that a file she shared on her computer for another network user is not accessible to the third party. The user insists they specifically gave this third party Allow rights for Read and Write access. Which of the following could explain the problem at hand?
a. The parent folder has explicit Allow rights set for this user b. The parent folder has explicit Deny rights set for this user c.. The user forgot to share the parent folder and only shared the specific file d. The parent folder likely has the "archive" attribute enabled
Give three situations that will invoke the copy constructor.
What will be an ideal response?