Professional Documents
Culture Documents
Computer Networking Ind Assignment
Computer Networking Ind Assignment
HAWASSA
BY:
Checksum
A checksum is a value calculated from a data set, which is used to detect errors in data. When
data is sent or stored, a checksum is calculated and sent along with it. When the data is
received or retrieved, a new checksum is calculated and compared with the original
checksum. If they match, the data is considered to be intact; if not, an error is detected.
Example:
Example:
If the valid codewords are "0000" and "1111", the Hamming distance is 4, which is more than
enough to detect a single-bit error.
Encoding: The encoder processes the input bit stream using shift registers and
generates the encoded bit stream.
Trellis Diagram: Used to represent the state transitions and to decode the received
data.
Viterbi Algorithm: A common decoding algorithm that finds the most likely sequence
of states (and thus the most likely original data) given the received encoded data.
Example:
Input data: "1101"
Encoding with a rate 1/2 convolutional code might produce: "11 10 01 11"
The encoded data is transmitted, and upon receipt, the decoder uses the trellis diagram and
Viterbi algorithm to decode the data and detect/correct errors.
References
Hamming, R. W. (1950). Error Detecting and Error Correcting Codes. Bell System Technical
Journal, 29(2), 147-160.
Proakis, J. G., & Salehi, M. (2007). Digital Communications (5th ed.). McGraw-Hill.