Documente Academic
Documente Profesional
Documente Cultură
Computer
Discussion Session for Data
Networks
Link Layer
Wenbing Zhao
wenbingz@gmail.com
Reminder
Wiki project:
11/09/16
Wenbing Zhao
11/09/16
Wenbing Zhao
Q1.Solution:
(a) 4 characters in the frame, so prefix and 5, i.e.,
00000101
00000101 01000111 11100011 11100000 01111110
(b) FLAG A B ESC ESC ESC FLAG FLAG, i.e.,
01111110 (FLAG) 01000111 (A) 11100011 (B)
11100000 (ESC) 11100000 (ESC) 11100000 (ESC)
01111110 (FLAG, in original frame) 01111110 (FLAG)
(c) 01111110 01000111 110100011 111000000
011111010 01111110
11/09/16
Wenbing Zhao
11/09/16
Wenbing Zhao
Q2 Solution
Q3. Solution:
The frame is 10011101. The generator is 1001. The
message after appending
three zeros is 10011101000. The remainder on
dividing 10011101000 by
1001 is 100. So, the actual bit string transmitted is
10011101100. The
received bit stream with an error in the third bit from
the left is 10111101100.
Dividing this by 1001 produces a remainder 100,
which is different from zero.
Thus, the receiver detects the error and can ask for
a retransmission.
11/09/16
Wenbing Zhao
Q4. Solution
11/09/16
Wenbing Zhao
11/09/16
Wenbing Zhao
Q5. Solution
11/09/16
Wenbing Zhao
1
S1
2
S2
A
B
S3
F
D
E
I
G
S1 , S 2 , S 3 , S 4
11/09/16
5-13
5-13
Q6. Solution
S1
S4:
S2:
S3: