Skip to content
GATEiit

GATE CSE 2017 Session 2 Q44: Minimum Hamming distance and error correction of a 4-codeword code

Syllabus topic: Data link layer: error detection, medium access control and Ethernet

Question

Consider a binary code that consists of only four valid codewords as given below:

00000, 01011, 10101, 11110

Let the minimum Hamming distance of the code be p and the maximum number of erroneous bits that can be corrected by the code be q. Then the values of p and q are

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 2/3 mark in GATE.
Show answer and explanation

Answer: A (official GATE 2017 final answer key)

Concept used: A code with minimum Hamming distance d can correct up to ⌊(d−1)/2⌋ bit errors.

Concept notes

Loading notes…

First step: Find the Hamming distance for each of the six pairs of codewords and take the smallest; then apply the correction formula.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Data link layer: error detection, medium access control and Ethernet

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2017 Session 2 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key