DCC2018-Tutorial 3
DCC2018-Tutorial 3
DCC2018-Tutorial 3
Tutorial 3
Unit 3: Data Link Layer: Error Detection and Correction
Review Questions
Problems
1. What is the maximum effect of a 2-ms burst of noise on data transmitted at the following rates:
a. 1500 kps
b. 12 kbps
c. 100 kbps
d. 100 Mbps
2. Assuming even parity, find the parity bit for each of the following data units.
a. 1001011
b. 0001100
c. 1000000
d. 1110111
3. Calculate the Hamming pairwise distances and determine the minimum Hamming distance
among the following codewords:
a. 00000, 10101, 01010
b. 000000, 010101, 101010, 110110
-1-
4. Would you expect that the inclusion of a parity bit with each character would change the
probability of receiving a correct message?
5. Consider a frame consisting of two characters of four bits each. Assume that the probability of
bit error is 10-3 and that is independent for each bit.
(a) What is the probability that the received frame contains at least one error?
(b) Now add a parity bit to each character. What is the probability?
7. A sender has two data items to send: 0x4567 and 0xBA98. What is the value of the checksum?
8. Assume that the probability that a bit in a data unit is corrupted during transmission is p. Find the
probability that x number of bits are corrupted in an n-bit data unit for each of the following cases.
a. n=8, x=1, p=0.2
b. n=16, x=3, p=0.3
c. n=32, x=10, p=0.4
-2-