Questions: Arithmetic Coding

3 questions to test your understanding

Score: 0 / 3
Question 1 Multiple Choice

Why can arithmetic coding achieve rates closer to entropy than Huffman coding, especially for highly skewed distributions?

AArithmetic coding uses a larger alphabet internally
BArithmetic coding effectively assigns fractional bit lengths to symbols — a symbol with probability 0.9 uses only -log2(0.9) ≈ 0.15 bits — while Huffman is limited to integer-length codewords (minimum 1 bit per symbol)
CArithmetic coding compresses each symbol independently with a better algorithm
DHuffman coding is not actually prefix-free, causing decoding overhead
Question 2 True / False

Arithmetic coding can compress a sequence of n symbols from a memoryless source to within 2 bits of nH(X) regardless of the distribution.

TTrue
FFalse
Question 3 Short Answer

In arithmetic coding, encoding the message 'ABAC' given P(A)=0.6, P(B)=0.3, P(C)=0.1 involves narrowing an interval four times. Explain the process conceptually and why the final interval width equals the probability of the specific message.

Think about your answer, then reveal below.