Module 5 Flashcards

1
Q

Describe the general idea of error detection, using redundancy.

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A) (10001) XOR (10001) = 00000
B) (11100) XOR (00000) = 11100
C) (10011) XOR (11111) = 01100

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

a. 1
b. 1
c. 0
d. 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

P10-12 Given the dataword 10100111 the divisor 10111, show the generation of the CRC codeword at the sender site (using binary division).

A
Codeword = 101001111
Checksum = 00110
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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?

A
4567
BA98
0000
---------
FFFF
0000
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the main role of the data link layer?

A

node to node delivery of packets called frames

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the duties of the data link layer?

A

Packetizing, addressing, error control, flow control, access control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Explain the basic idea of error detection.

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly