Module 5 Flashcards
Describe the general idea of error detection, using redundancy.
To detect or correct errors, we need to send extra (redundant) bits with data.
In order to make errorrs detectable we send extra bits along side the payload. This will add something to be checked for corruption.
P10-3 Exclusive OR (XOR) is one of the most used operations in the calculation of codewords. Apply the exclusive OR operation on the following pairs of patterns. Interpret the results.
A) (10001) XOR (10001)
B) (11100) XOR (00000)
C) (10011) XOR (11111)
A) (10001) XOR (10001) = 00000
B) (11100) XOR (00000) = 11100
C) (10011) XOR (11111) = 01100
P10-10 Assuming odd parity, find the parity bit for each of the following data units.
a. 1001011
b. 0001100
c. 1000000
d. 1110111
a. 1
b. 1
c. 0
d. 1
P10-12 Given the dataword 10100111 the divisor 10111, show the generation of the CRC codeword at the sender site (using binary division).
Codeword = 101001111 Checksum = 00110
P10-20 This problem shows a very special case in checksum handling. A sender has two data items to send: 0x4567 and 0xBA98. What is the value of the checksum?
4567 BA98 0000 --------- FFFF 0000
What is the main role of the data link layer?
node to node delivery of packets called frames
What are the duties of the data link layer?
Packetizing, addressing, error control, flow control, access control
Explain the basic idea of error detection.
- Generator at the sender generates the redundancy from the message to send by using an algorithm.
- The message and the redundancy are transmitted together
- At the receiver, the checker generates the redundancy from the received message by using the same algorithm, and then the new redundancy and the the received redundancy is compared.
- Only after they are the same is the message accepted