Professional Documents
Culture Documents
Assuming the chip sequences defined in Figure (a), which stations transmitted,
and which bits did each one send?
Solution
S.A = (-1+1-3+1-1-3+1+1).(-1-1-1+1+1-1+1+1) = (1-1+3+1-1+3+1+1)/8 = 1
S.B = (-1+1-3+1-1-3+1+1).(-1-1+1-1+1+1+1-1) = (1-1-3-1-1-3+1-1)/8 = -1
S.C = (-1+1-3+1-1-3+1+1).(-1+1-1+1+1+1-1-1) = (1+1+3+1-1-3-1-1)/8 = 0
S.D = (-1+1-3+1-1-3+1+1).(-1+1-1-1-1-1+1-1) = (1+1+3-1+1+3+1-1)/8 = 1
Therefore, A transmits 1, B transmits 0, C doesn't transmit, D transmits 1
Solution
(a) 00000101 01000111 11100011 11100000 01111110
(b) 01111110 01000111 11100011 11100000 11100000 11100000 01111110
01111110
(c) 01111110 01000111 110100011 11100000 011111010 01111110
3- The following data fragment occurs in the middle of a data stream for
which the byte stuffing
algorithm described in the text is used: A B ESC C ESC FLAG FLAG D.
What is the output after stuffing?
Solution:
After stuffing, we get A B ESC ESC C ESC ESC ESC FLAG ESC FLAG D.
4- A bit string, 0111101111101111110, needs to be transmitted at the data link
layer. What is the string actually transmitted after bit stuffing?
Solution
The output is 011110111110011111010.
a: 1 at first bit
b: 1 at second bit
c: 1 at third bit
d: 1 at fourth bit
0001
0010
0011 ab
0100
0101 ac
0110 bc
0111 abc
1000
1001 ad
1010 bd
1011 abd
1100 cd
1101 acd
1110 bcd
1111 abcd