1.3 Compression (3)

Resources | Revision Questions | Computer Science

Login to see all questions

Click on a question to view the answer

1.

Explain how Huffman coding achieves compression. Provide a simple example using the following character frequencies: A: 0.4, B: 0.2, C: 0.3, D: 0.1. Illustrate the resulting Huffman codes.

2.

Describe the fundamental difference between lossy and lossless data compression. Provide an example of each type of compression and explain the trade-off between compression ratio and data fidelity.

3.

Describe the difference between lossless and lossy data compression. For each type, provide an example of a compression algorithm and explain the trade-off between compression ratio and data fidelity.