Questions: Source Coding Theorem

3 questions to test your understanding

Score: 0 / 3
Question 1 Multiple Choice

A source produces symbols from an alphabet of size 8 with entropy H = 2.5 bits/symbol. A naive fixed-length encoding uses 3 bits per symbol. What does the source coding theorem guarantee about compression?

ANo code can do better than 3 bits per symbol because the alphabet has 8 symbols
BThere exist codes achieving average rate arbitrarily close to 2.5 bits per symbol, but no lossless code can go below 2.5
CShannon's theorem guarantees a code achieving exactly 2.5 bits per symbol for every individual sequence
DThe savings of 0.5 bits per symbol is not achievable because Huffman codes require integer-length codewords
Question 2 True / False

The source coding theorem guarantees that every individual sequence from a source with entropy H can be compressed to exactly H bits per symbol.

TTrue
FFalse
Question 3 Short Answer

A colleague claims to have developed a lossless compression algorithm that compresses every possible file to a smaller file. Use the source coding theorem (or a counting argument) to explain why this is impossible.

Think about your answer, then reveal below.