1. Checksum :
Checksum is the widely used method for the detection of error in data. This method is more reliable than other methods of detection of errors. This approach uses Checksum Generator on Sender side and Checksum Checker on Receiver side.
1. CRC :
CRC or Cyclic Redundancy Check is the error detection method to detect the errors and this method is used by upper layer protocols. It contains Polynomial Generator on both sender and receiver side. The polynomial generator is of the type x3+x2+x+1.
Difference between checksum and CRC :
|1.||It is not a thorough concept for detection nd reporting of errors.||CRC is a thorough concept for detection and reporting of errors.|
|2.||It is capable of detecting single bit change in the data.||It is capable of detecting double digits errors.|
|3.||This method comes after CRC method.||It is the oldest method.|
|4.||Errors can be easily computed.||It follows a complex computation method.|
|5.||It can compute less number of errors than CRC.||Due to complex computation, it can detect more errors.|
|6.||It is based on addition approach.||It is based on hash approach.|
|7.||It is widely used in data validation during implementation of software.||It is widely used in analog transmission for data validation.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.