GATE / CS ARCHIVE

GATE CSE 1995 / QUESTION 1.12

Minimum distance of a binary code

Computer Networks · Data Link, Framing, Error Control & ARQ · Full GATE CSE 1995 paper

GATE 1995, Q1.12 1 mark · MCQ
Report issue

Data Link, Framing, Error Control & ARQ

Question 1.12, GATE 1995: Find minimum Hamming distance of {000000,010101,101010,000111,011001,111111}; GateForum omits 101010.
Tap to enlarge
Your answer
Answer & solution

Answer: A: 2 (no official key was published)

Hamming distance counts differing bit positions. For example 010101 and 000111 differ in exactly two positions, so the minimum is at most two. Checking the other distinct pairs finds no pair differing in one position; their distances are two, three, four or six. Hence the minimum is two. The additional the paper codeword 101010 has distances three or six to some words and does not introduce a distance-one pair.

Original paper, page 2