When the nearest message is wrong

A telemetry link uses exactly four valid codewords:


Message

Valid codeword

Idle

00000

Start

11100

Stop

10011

Reset

01111


The Hamming distance between two equal-length patterns is the number of positions in which their bits differ. The code's minimum distance, dmin⁡d_{\min}, is the smallest distance between any two distinct valid codewords.


A validity checker rejects any received pattern outside the valid set. It guarantees detection of every error pattern containing from 1 through dmin⁡−1d_{\min}-1 flipped bits. A nearest-codeword decoder guarantees correction of up to ⌊(dmin⁡−1)/2⌋\lfloor(d_{\min}-1)/2\rfloor flipped bits, where ⌊x⌋\lfloor x\rfloor means the greatest integer no larger than xx.


The sender transmits Idle, but the received pattern is 10100. The decoder outputs the valid codeword with the smallest Hamming distance from the received pattern; if there is a tie, it outputs ambiguous.


Find the minimum distance, the maximum guaranteed detectable bit-error count, the maximum guaranteed correctable bit-error count, the decoder's output, and the actual number of flipped bits in this transmission. Enter counts as exact integers and the decoder output as five bits or the word ambiguous.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Binary Codes Questions: