Entropy and Channel Capacity: GATE ECE practice questions with solutions
This topic covers entropy, Huffman codes, mutual information, BSC and erasure channels and Shannon capacity. The 15 original questions follow the GATE EC format: 9 MCQ, 2 MSQ and 4 NAT, from 5 easy, 7 medium and 3 hard.
Three ideas to know:
- Unequal probabilities lower the entropy below log₂M.
- Huffman coding repeatedly merges the two least likely entries.
- Use the chain rule; the joint entropy is below H(X) + H(Y) when X and Y are dependent.
It helps GATE EC and ECE students revising Communications for the exam or a semester test. Helpful background: Entropy and Shannon-Hartley theorem. Start with the 5 easy questions, then work up to the 3 hard ones.
Related
Q.1
EasyMCQ1 mark
A source emits four symbols with probabilities 1/2, 1/4, 1/8 and 1/8, independently. Its entropy is
Show answer and solutionHide answer and solution
Answer: (A)
Key idea: Unequal probabilities lower the entropy below log₂M.
1. H = Σ p log₂(1/p). 2. = (1/2)(1) + (1/4)(2) + (1/8)(3) + (1/8)(3). 3. = 0.5 + 0.5 + 0.375 + 0.375 = 1.75 bits/symbol.
Common mistake: Using log₂4 = 2 as if the symbols were equally likely, option (B).
You need: Entropy
Q.2
EasyMCQ1 mark
An event has probability 1/16. Its self-information is
Show answer and solutionHide answer and solution
Answer: (B)
Key idea: Information in bits uses log base 2.
1. I = log₂(1/p) = log₂16. 2. = 4 bits.
Common mistake: Using the natural log, ln 16 = 2.77 (which is in nats, not bits), option (D).
You need: Logarithms, self-information
Q.3
EasyNAT1 mark
An AWGN channel has bandwidth 3 kHz and signal-to-noise ratio 15 (ratio, not dB). Its Shannon capacity is ______ kbit/s.
Numerical answer: type a number.
Show answer and solutionHide answer and solution
Answer: 12
Key idea: Shannon capacity uses log base 2 of 1 + SNR, with SNR as a ratio.
1. C = B log₂(1 + S/N). 2. = 3000 × log₂16 = 3000 × 4. 3. = 12 kbit/s.
Common mistake: Using log₁₀16 = 1.204 gives 3.6 kbit/s.
You need: Shannon-Hartley theorem
Q.4
EasyMCQ1 mark
A binary symmetric channel has crossover probability 0.11. Take the binary entropy H(0.11) = 0.50 bit. The channel capacity is
Show answer and solutionHide answer and solution
Answer: (C)
Key idea: The capacity of a BSC is reduced by the binary entropy of its crossover probability.
1. C = 1 − H(p). 2. = 1 − 0.50 = 0.5 bit/use.
Common mistake: Writing C = 1 − p = 0.89, option (A).
You need: Binary symmetric channel
Q.5
EasyMCQ1 mark
A source with entropy 1.75 bits/symbol emits 1000 symbols per second. Its information rate is
Show answer and solutionHide answer and solution
Answer: (D)
Key idea: Information rate = symbol rate × entropy per symbol.
1. R = r × H. 2. = 1000 × 1.75 = 1750 bit/s.
Common mistake: Using 2 bits per symbol for a four-symbol alphabet gives 2000 bit/s, option (B).
You need: Entropy, information rate
Q.6
MediumMCQ1 mark
A source has four symbols with probabilities 0.4, 0.3, 0.2 and 0.1. The average length of its binary Huffman code is
Show answer and solutionHide answer and solution
Answer: (B)
Key idea: Huffman coding repeatedly merges the two least likely entries.
1. Merge 0.1 and 0.2 into 0.3; merge 0.3 and 0.3 into 0.6; merge 0.6 and 0.4.
2. Code lengths: 0.4 → 1, 0.3 → 2, 0.2 → 3, 0.1 → 3.
3. L = 0.4 + 0.6 + 0.6 + 0.3 = 1.9 bits/symbol.
Common mistake: Quoting the entropy, about 1.85 bits/symbol, option (C), which no symbol-by-symbol code reaches here.
You need: Huffman coding
Q.7
MediumNAT1 mark
A memoryless source has four symbols with probabilities 0.4, 0.3, 0.2 and 0.1. Its entropy is ______ bits/symbol (round to two decimal places).
Numerical answer: type a number.
Show answer and solutionHide answer and solution
Answer: 1.85 (accepted 1.84 to 1.85)
Key idea: Entropy is the probability-weighted average of log₂(1/p).
1. 0.4 log₂(2.5) = 0.529. 2. 0.3 log₂(3.33) = 0.521. 3. 0.2 log₂5 = 0.464. 4. 0.1 log₂10 = 0.332.
5. Sum = 1.846.
Common mistake: Using log₂4 = 2 for four symbols, as if they were equally likely.
You need: Entropy
Q.8
MediumMCQ2 marks
For the source with probabilities 0.4, 0.3, 0.2 and 0.1, a Huffman code has average length 1.9 bits/symbol and the entropy is 1.846 bits/symbol. The code efficiency is closest to
Show answer and solutionHide answer and solution
Answer: (A)
Key idea: Efficiency compares the entropy with the average code length actually used.
1. Efficiency = H/L. 2. = 1.846/1.9 = 0.972, which is 97.2 %.
Common mistake: Dividing by the fixed-length 2 bits instead of the Huffman length gives 92.3 %, option (B).
You need: Source coding efficiency
Q.9
MediumMSQ2 marks
Which of the following statements are correct?
One or more options are correct.
Show answer and solutionHide answer and solution
Answer: (A), (B) and (D)
Key idea: The Kraft sum tells at once whether a set of lengths is possible.
1. (A) is a standard property of entropy.
2. (B) is the Kraft inequality.
3. For {1, 2, 2, 2}: 1/2 + 3 × 1/4 = 1.25 > 1, so no prefix code exists: (C) false.
4. I(X; Y) ≥ 0 with equality only for independence: (D) true.
Common mistake: Assuming short lengths can always be found and selecting (C) without checking the Kraft sum.
You need: Kraft inequality, entropy properties
Q.10
MediumMCQ2 marks
An AWGN channel has received signal power S and noise PSD N₀ with S/N₀ = 10⁶ Hz. As the bandwidth grows without limit, the capacity approaches
Show answer and solutionHide answer and solution
Answer: (C)
Key idea: Noise power grows with bandwidth, so capacity saturates at 1.44 S/N₀.
1. C = B log₂(1 + S/(N₀B)).
2. As B → ∞, C → (S/N₀) log₂e = 1.443 S/N₀. 3. = 1.443 × 10⁶ ≈ 1.44 Mbit/s.
Common mistake: Assuming capacity grows without limit with bandwidth, option (A).
You need: Shannon capacity limit
Q.11
MediumNAT2 marks
Equally likely binary inputs are sent over a binary symmetric channel with crossover probability 0.1. The mutual information between input and output is ______ bit per use (round to two decimal places).
Numerical answer: type a number.
Show answer and solutionHide answer and solution
Answer: 0.53 (accepted 0.52 to 0.54)
Key idea: I(X; Y) = H(Y) − H(Y|X); for a BSC the second term is the binary entropy of p.
1. With equally likely inputs the output is also equally likely, so H(Y) = 1.
2. H(Y|X) = H(0.1) = −0.1 log₂0.1 − 0.9 log₂0.9 = 0.332 + 0.137 = 0.469.
3. I = 1 − 0.469 = 0.531.
Common mistake: Writing I = 1 − p = 0.9.
You need: Mutual information, binary entropy
Q.12
MediumMCQ2 marks
A link must carry 20 kbit/s over a 5 kHz AWGN channel. The minimum SNR allowed by the Shannon limit is closest to
Show answer and solutionHide answer and solution
Answer: (D)
Key idea: Invert Shannon's formula: SNR = 2^(C/B) − 1.
1. C/B = 20/5 = 4, so log₂(1 + SNR) = 4.
2. SNR = 2⁴ − 1 = 15. 3. 10 log₁₀ 15 = 11.8 dB.
Common mistake: Forgetting to subtract 1 gives SNR = 16, which is 12.0 dB, option (A).
You need: Shannon-Hartley theorem
Q.13
HardMCQ2 marks
X is an equally likely binary input to a binary symmetric channel with crossover probability 0.25, and Y is the output. Take H(0.25) = 0.811 bit. The joint entropy H(X, Y) is
Show answer and solutionHide answer and solution
Answer: (A)
Key idea: Use the chain rule; the joint entropy is below H(X) + H(Y) when X and Y are dependent.
1. H(X, Y) = H(X) + H(Y|X).
2. H(X) = 1 and H(Y|X) = H(0.25) = 0.811.
3. H(X, Y) = 1.811 bits.
4. Check: the joint probabilities are 0.375, 0.125, 0.125, 0.375, whose entropy is 1.811.
Common mistake: Treating X and Y as independent, H(X) + H(Y) = 2 bits, option (B).
You need: Joint and conditional entropy
Q.14
HardNAT2 marks
A binary erasure channel erases each symbol with probability 0.2 (the receiver knows which symbols were erased) and is used 10 000 times per second. Its capacity is ______ kbit/s.
Numerical answer: type a number.
Show answer and solutionHide answer and solution
Answer: 8
Key idea: Erasures are flagged, so only the erased fraction of uses is lost.
1. BEC capacity = 1 − ε = 0.8 bit per use, reached with equally likely inputs.
2. Rate = 0.8 × 10 000 = 8000 bit/s = 8 kbit/s.
Common mistake: Treating erasures as bit flips, 1 − H(0.2) = 0.278, gives 2.78 kbit/s.
You need: Binary erasure channel
Q.15
HardMSQ2 marks
A memoryless binary source emits 0 with probability 0.9 and 1 with probability 0.1. Which of the following statements are correct?
One or more options are correct.
Show answer and solutionHide answer and solution
Answer: (A), (B) and (C)
Key idea: Coding blocks of symbols brings the average length closer to the entropy.
1. H = −0.9 log₂0.9 − 0.1 log₂0.1 = 0.469.
2. Two symbols cannot be coded with less than 1 bit each, one symbol at a time.
3. Pairs have probabilities 0.81, 0.09, 0.09, 0.01; Huffman lengths 1, 2, 3, 3 give 0.81 + 0.18 + 0.27 + 0.03 = 1.29 bits per pair, which is 0.645 per symbol.
4. No lossless code goes below H, so (D) is false.
Common mistake: Thinking block coding can beat the entropy and selecting (D).
You need: Source extension, Huffman coding
Past GATE questions on this topic
- GATE 2024 EC, Q.34: Entropy (1 mark, NAT)
- GATE 2025 EC, Q.15: Channel capacity (1 mark, MCQ)
- GATE 2025 EC, Q.54: Entropy (2 marks, MSQ)
- GATE 2025 EC, Q.60: Mutual information (2 marks, NAT)
- GATE 2026 EC, Q.55: Shannon capacity (2 marks, MSQ)