168,221 views
21 votes
21 votes
Which of the following is a lossless compression algorithm?A. PNGB. Run-length encodingC. Compression artifactD. MP4

User Rene Terstegen
by
2.4k points

1 Answer

20 votes
20 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!

User Skybobbi
by
2.7k points