


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Data Communication is exchange of data between two devices. In computers data exchange is in form of 0 and 1. This course discuss how computer communicate, what is medium and what are expenses. This handout includes: Error, Correction, Detection, Method, Checksum, Complement, Generator, Redundancy, Concept, Detection
Typology: Study notes
1 / 4
This page cannot be seen from the preview
Don't miss anything!



o Error detection method used by the Higher Layers
redundancy One’s Complement
Finding one’s complement
o The sender subdivides data units into equal segments of ‘n’ bits(16 bits) o These segments are added together using one’s complement o The total (sum) is then complemented and appended to the end of the original data unit as redundancy bits called CHECKSUM o The extended data unit is transmitted across the network o The receiver subdivides data unit as above and adds all segments together and complement the result o If the intended data unit is intact, total value found by adding the data segments and the checksum field should be zero o If the result is not zero, the packet contains an error & the receiver rejects it
Checksum Figure
o o Like VRC, L
CHECKSUM Generator
Performan o Detects l mber of bits Detects mo n number of bits
xamples
ce of Checksum al errors involving an odd nu o o One pattern remains elusive
st errors involving an eve
Example 9.
Suppose a block of 16 bits need to be sent: 10101001 00111001 10101001 00111001
11100010 Sum 00011101 Checksum Sent pattern: 10101001 00111001 00011101 checksum
Example 9. Examples of no error and a burst error
Segment 1 10101001 Segment1 10101111 Segment 2 00111001 Segment2 11111001 e
m om
visible if a bit inversion is balanced by an opposite bit inversion in the corresponding digit of
Segment1 10111101
Ch cksum 00011101 Checksum 00011101
Su 11111111 Sum 11000110 C plement 00000000 Complement 00111001
Error is in another segment
Hamming Code Each r bit is the VRC bit for one combination of data bits 1(r2) b inary representation includes o on
Summary m
Reading Secti
Section 9.6, 9. A. Forouzan
r it is calculated using all bit positions whose b a 1 in the first(second) position, and s
Checksum Single-Bit Error Correction Ha ming Code
ons
7, “Data Communications and Networking” 4th Edition by Behrouz