asked 122k views
5 votes
Which of the following is a lossless compression algorithm?A. PNGB. Run-length encodingC. Compression artifactD. MP4

1 Answer

3 votes

Answer:

B. (Run-length encoding)

Step-by-step explanation:

Run-length encoding compresses data by reducing repeating data. For example, in a text file, if there are 20 instances of the word "is", the program will store the value 20, as well as all the positions where it appears. The file can be fully reconstructed using this stored data when required, so no data is lost.

Both PNG and MP4 are lossy compression formats that reduce file sizes by irretrievably removing some part of the file, and Compression artifacts are noticeable distortions in a file caused by lossy compressions. So A, C, and D are not correct options.

Hope this helps!

answered
User Draco
by
7.7k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.