Unit V. Coding Theory#
When data is sent over a noisy connection or stored on an imperfect medium, some bits arrive flipped. Coding theory adds redundant bits to the data so that the receiver can detect or correct these errors. This unit models noise with the binary symmetric channel, uses binomial coefficients to compute how many errors to expect, and measures what a code can do through Hamming distance. Counting the words in Hamming balls then limits how efficient a code can be, and parity checks give codes that meet this limit.