Cheat sheets

CN-05Cheat sheet1 pageIn a paid pack

Parity, Checksum and Hamming Distance

Single parity and what it misses, two-dimensional parity and the error patterns it detects, corrects and misses (checked exhaustively by script), the Internet checksum with one's-complement addition and end-around carry, computed on a real IPv4 header, Hamming distance and the bounds for detecting and correcting errors, the check-bit count of a Hamming code and a Hamming(7,4) encode and syndrome example.

CN-06Cheat sheet1 pageIn a paid pack

CRC Division and Detection

Cyclic redundancy check for GATE CS: generator polynomials as bit strings, appending r zeros, mod-2 long division shown line by line, the receiver check and a detected one-bit error, a solved 2026 past question, and the guaranteed detection properties (single-bit, double-bit, odd-weight and burst errors) with the conditions on the generator, each confirmed by exhaustive enumeration in a script.