0984

Error Detection

Data Transmission · 4 question types

MethodDetectsLocatesCorrectsBest for
Parity checkSingle-bit errors (and other odd numbers of errors)NoNoFast, cheap link-level checks
Parity blockSingle-bit errorsYes (intersection of row + column)Single-bit onlyMemory chips, simple data blocks
ChecksumMost random corruptionNoNoFiles, packets, web downloads
Echo checkAlmost any corruptionNo (and ambiguous about direction)No (use ARQ on top)Short links where reliability matters more than speed
Check digitSingle wrong digit, transpositions, omissionsNoNoHuman-entered numerical codes (ISBN, barcodes, bank cards)
ARQUses another method (e.g. checksum)DependsYes (via re-transmission)Combined with detection for reliable delivery

Choosing the right tool

A typical exam question gives a scenario and asks which method best fits. The decision tree:

  1. Is the data human-entered numbers? → Check digit.
  2. Is the data a transmitted byte or packet? → Parity (very fast, weak) or checksum (slower, stronger).
  3. Does the system need to know exactly which bit is wrong? → Parity block.
  4. Does the system need to automatically recover from errors, not just detect them? → ARQ on top of any of the above.

The next topic in this chapter, Encryption (topic 6), addresses a different concern: not whether data is correct, but whether it can be read by anyone who intercepts it.