Information Theory and Coding · Communications
35 questions · asked in 17 of 26 years (2001–2026)
MCQ 13 · MSQ 2 · NAT 201-mark 19 · 2-mark 16
2001Questions per year2026
Questions 16–20 of 35
A linear Hamming code is used to map 4-bit messages to 7-bit codewords. The encoder mapping is linear. If the message 0001 is mapped to the codeword 0000111, and the message 0011 is mapped to the codeword 1100110, then the message 0010 is mapped to
Answer: (B)
In a linear code, the codeword of a sum of messages equals the sum (XOR) of their codewords.
We can write the message 0010 using the two given messages: . So:
Correct answer: (B)
Consider a binary channel code in which each codeword has a fixed length of 5 bits. The Hamming distance between any pair of distinct codewords in this code is at least 2. The maximum number of codewords such a code can contain is _________.
Answer: 16
At most 16. Choose any one bit position and delete it from every codeword. Two different codewords at distance at least 2 differ in at least 2 positions, so they still differ in at least 1 position after the deletion. So the shortened words are all different. There are only words of 4 bits, so there can be at most 16 codewords. (This is the Singleton bound .)
16 is reachable. Take all 5-bit words with an even number of 1s (add one parity bit to each 4-bit word). Two different words of this kind differ in at least 2 positions, since changing one bit would change the parity. There are such words.
Answer: 16
16 is reachable. Take all 5-bit words with an even number of 1s (add one parity bit to each 4-bit word). Two different words of this kind differ in at least 2 positions, since changing one bit would change the parity. There are such words.
Answer: 16
Let be independent random variables. has mean 0 and variance 1, while has mean 1 and variance 4. The mutual information between and in bits is
Answer: 0
and are independent, so knowing tells nothing about . Hence and
bits
The given means and variances do not matter.
Answer: 0
bits
The given means and variances do not matter.
Answer: 0
Which one of the following graphs shows the Shannon capacity (channel capacity) in bits of a memory less binary symmetric channel with crossover probability P?
Answer: (C)
For a memoryless binary symmetric channel with crossover probability , the capacity is
bits
Check three points:
: (no errors).
: (the output is independent of the input).
: (every bit is flipped, and the receiver can undo that).
The curve is symmetric about . Since is concave, is convex, so it is a smooth U-shaped curve. Its slope is steep near the ends and zero at .
Option (A) has straight lines forming a V, which is not the shape of C. Options (B) and (D) are 0 at and 1 at , which is the opposite. Only graph C matches.
Answer: (C)
bits
Check three points:
: (no errors).
: (the output is independent of the input).
: (every bit is flipped, and the receiver can undo that).
The curve is symmetric about . Since is concave, is convex, so it is a smooth U-shaped curve. Its slope is steep near the ends and zero at .
Option (A) has straight lines forming a V, which is not the shape of C. Options (B) and (D) are 0 at and 1 at , which is the opposite. Only graph C matches.
Answer: (C)
Consider a binary memory less channel characterized by the transition probability diagram shown in the figure.
The channel is
The channel is
Answer: (C)
The channel matrix, read from the diagram, is
Both rows are equal, so the output does not depend on the input. A channel with for every input distribution is called useless (zero capacity). Check this.
Let and . Then
bits/symbol
Dividing each column by :
So , and
It is not lossless () and so not noiseless. It is not deterministic, since each row has two non-zero entries (0.25 and 0.75) instead of a single 1.
Answer: (C)
Both rows are equal, so the output does not depend on the input. A channel with for every input distribution is called useless (zero capacity). Check this.
Let and . Then
bits/symbol
Dividing each column by :
So , and
It is not lossless () and so not noiseless. It is not deterministic, since each row has two non-zero entries (0.25 and 0.75) instead of a single 1.
Answer: (C)
Keep practising
Topics in Communications
Random Signals and NoiseAnalog Communication Systems
Information Theory and CodingYou are here
Digital Communication Systems