Questions: Shannon Entropy

4 questions to test your understanding

Score: 0 / 4
Question 1 Multiple Choice

A random variable X takes four values, each with probability 1/4. What is H(X), and why does this value have a natural interpretation in terms of binary encoding?

AH(X) = 4 bits, because there are 4 possible outcomes
BH(X) = 2 bits, because log2(4) = 2, meaning two binary questions perfectly identify the outcome
CH(X) = 1 bit, because each outcome has the same probability
DH(X) = 0 bits, because there is no uncertainty when all outcomes are equally likely
Question 2 Multiple Choice

A source emits symbol A with probability 0.99 and symbol B with probability 0.01. Which statement about H(X) is correct?

AH(X) is close to 1 bit because there are two symbols
BH(X) is close to 0 bits because the outcome is nearly certain — most of the time there is very little surprise
CH(X) equals exactly 0 bits because one probability dominates
DH(X) is negative because one probability is very small
Question 3 True / False

Shannon entropy can be negative for discrete random variables.

TTrue
FFalse
Question 4 Short Answer

Explain why entropy is maximized by the uniform distribution over a finite alphabet, and what this reveals about the relationship between entropy and knowledge.

Think about your answer, then reveal below.