3.error Detection and Correction
3.error Detection and Correction
3.Checksum:
The process involves dividing the data into equally sized
segments and this segments are added one by one to get the
sum. This sum is complemented using 1s complement to get
the checksum. The entire frame, which now includes the data
and the checksum, is transmitted to the receiver. Upon
receiving the frame, the receiver performs the same
calculation i.e adding segments one by one (including the
added checksum). Then sum of these segments are
complemented using 1s complement and If the result is zero
then the data is accepted otherwise it is considered as error
has occurred during transmission and it is discarded.