All mock tests are FREE till 31 December — register to save your progress
Unit 2 · Computer System Architecture Paper 2 CS · 22 June 2026

Consider the following binary codes:
C₁00000
C₂01011
C₃10101
What is the maximum Hamming Distance value for all pairs of above mentioned codes?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. 4

Explanation

The Hamming distance between two codewords is the number of bit positions in which they differ. C₁ (00000) and C₂ (01011) differ in 3 positions, and C₁ (00000) and C₃ (10101) also differ in 3 positions. C₂ (01011) and C₃ (10101) differ in 4 positions (bit positions 1, 2, 3 and 4). The maximum Hamming distance among the three pairwise comparisons is therefore 4.

More Computer System Architecture questions