Study this topic

Error Detection: Parity, Hamming Distance and Internet Checksum

Noise, interference and faulty hardware flip bits. A receiver that cannot tell a damaged frame from a good one will pass garbage upward. Error detection adds redundant bits computed from the data; the receiver recomputes them and compares.

Short notes10 min read

Cyclic Redundancy Check (CRC)

The cyclic redundancy check is the error-detecting code used in the trailer of almost every link-layer frame: Ethernet's 32-bit frame check sequence (FCS) is a CRC, and so are the checks in Wi-Fi, HDLC and PPP.

Short notes8 min read