Question: how checksums are used for error detection?
Answer: A checksum is a simple type of redundancy check that is used to detect errors in data. ... In its simplest form, a checksum is created by calculating the binary values in a packet or other block of data using some algorithm and storing the results with the data.