CheckSum -Error Detection

CHECKSUM

 

  • In the checksum error detection scheme, the data is divided into k segments each of m bits. 
  • In the sender’s end the segments are added using 1’s complement arithmetic to get the sum. The sum is complemented to get the checksum. 
  • The checksum segment is sent along with the data segments. 
  • At the receiver’s end, all received segments are added using 1’s complement arithmetic to get the sum. The sum is complemented. 
  • If the result is zero, the received data is accepted; otherwise discarded.