c16 · E1

Practise: Information and Compression

c16.E1.1E1 · numeric

A source emits a symbol with probability 0.04. How many bits does learning that the symbol occurred carry? Give the answer to three decimal places.

c16.E1.2E1 · numeric

A source emits four symbols with probabilities 0.4, 0.3, 0.2 and 0.1. Compute its entropy in bits, to three decimal places.

c16.E1.3E1 · numeric

Two variables have bits, bits and bits. Find in bits.

c16.E1.4E1 · numeric

A code is built for the distribution but the data arrive from . Compute the KL divergence in bits, to four decimal places.

c16.E1.5E1 · numeric

A hundred rows fall into a table with cells 45, 5, 5 and 45, read row by row. Each margin is 50–50. Compute the mutual information between the row variable and the column variable, in bits, to four decimal places.

c16.E1.6E1 · numeric

Five symbols have probabilities 0.30, 0.25, 0.20, 0.15 and 0.10. Build a Huffman code and compute its average length in bits per symbol.

c16.E1.7E1 · numeric

A source has entropy 1.5 bits per symbol and uses an alphabet of four symbols. A block holds 200 independent symbols. About how many bits does it take to name one typical sequence from the block? Give the answer in bits.

c16.E1.8E1 · numeric

A binary symmetric channel flips each bit with probability 0.25, independently. Compute its capacity in bits per use, to four decimal places.

Other tiers

E2 Derive · E3 Open

Every hint opened, solution viewed and answer checked is recorded in this browser only. See Progress to export or delete it.