1. Gyanastra
  2. Computer Networks
  3. Error Detection and Correction
  4. Error Detection vs Error Correction (Need for Retransmission)
Free lesson, no account needed 3 min read 23 practice questions after it
Asked in past papers3 times
  • GATE CSE1989
  • ISRO2023
  • UGC NET2009

Computer Networks · Error Detection and Correction

Error Detection vs Error Correction (Need for Retransmission)

Overview

Error handling in data communications has traditionally been of two types: error detection and error correction. The distinction matters because it determines whether the receiver can fix a corrupted packet itself or must ask the sender to resend it.

Key concepts

  • Error detection – The receiver only comes to know that some part of the data (packet) has been corrupted.
    It knows the packet contains corrupted bits, but it does not know which part of the packet or which bit got corrupted.
  • Error correction – The receiver knows that there is some error in the packet and also knows where the error is, i.e., it has the capability to self-correct the packet.
  • Retransmission – Asking the sender to resend the packet, because the receiver came to know that the packet contains errors.

How it works

  1. Error detection: The receiver detects that the packet has been corrupted, but the location of the corruption (which bit/part is wrong) is unknown.
    If you knew which bit got corrupted, you would also be able to correct it — so detection alone means the location is not known.
  2. Error correction: The receiver knows an error exists and knows its location, so it can self-correct the packet without outside help.
  3. Role of retransmission: If an error is found in the packet and it cannot be corrected, there is only one solution: ask for retransmission.
    In error correction methods, if the error is found and its location is known, retransmission is not needed — the receiver corrects the packet itself.

Comparison

AspectError DetectionError Correction
Knowledge of error existenceYesYes
Knowledge of error locationNoYes
Can the receiver fix the packet itself?NoYes (self-correction)
Is retransmission required?Yes (the only solution)No

Revision summary

  • Error handling has two traditional types: error detection and error correction.
  • Error detection = error existence known, location unknown → retransmission is the only remedy.
  • Error correction = error existence and location both known → receiver self-corrects, no retransmission needed.
  • Retransmission means asking the sender to resend the packet because errors were detected in it.
  • Trap: detection alone does not tell you which bit is wrong; knowing the location is what enables correction.

Previous-year exam insights

  • Error detection techniques (parity, checksum, CRC) can only detect errors, not locate or correct them;
    error correction requires redundancy sufficient to identify the error position, e.g. Hamming code with redundant bits r satisfying 2r≥m+r+12^{r} \ge m + r + 1 for m data bits.
  • A single-bit parity check detects any odd number of bit errors but cannot detect an even number of bit errors; it cannot correct any error.
  • The Internet checksum (one's complement sum of 16-bit words) can fail to detect certain errors, e.g. two compensating bit errors in different words; it is used at the transport/network layer and triggers retransmission, not correction.
  • CRC detects all single-bit errors, all burst errors of length ≤ r (where r is the degree of the generator polynomial), and any odd number of errors if the generator has (x+1) as a factor;
    it does not correct errors.
  • Forward Error Correction (FEC) adds redundant bits so the receiver can correct errors without a retransmission; it is preferred when retransmission is costly or impossible (e.g. satellite links, real-time streaming), while ARQ (retransmission) is used when a feedback channel exists.
  • Hamming distance dmind_{min} of a code determines its capability: it can detect up to dmind_{min} - 1 errors and correct up to floor((dmind_{min} - 1)/2) errors.
Pages 1–2 of 2