Share
Explore BrainMass

Answer in Hex Notation

NOTE:
For 5a, adding bits stuffing to the bit pattern below
0 1 1 0 1 1 1 1 1 1 0 0 1 1 1 1 1 0 0 1 1
For 5b, perform byte stuffing for the two bytes below
0 1 1 1 1 1 1 0 (0x 7E) and 0 1 1 1 1 1 0 1 (0x 7D)
Answer in Hex notation

Problem 5.
a. Add framing bits and bit stuffing to the following bit pattern:
0 1 1 0 1 1 1 1 1 1 0 0 1 1 1 1 1 0 0 1 1
b. Perform byte stuffing for the following two bytes:
0 1 1 1 1 1 1 0 (0x 7E) and 0 1 1 1 1 1 0 1 (0x 7D)
Answer in Hex notation

Solution Preview

5a. bit stuffing:

input stream:

0 1 1 0 1 1 1 1 1 1 0 0 1 1 1 1 1 0 0 1 1

Stuffed stream(Whenever sender data link layer encounters five consecutive ones in the data stream, it
automatically stuffs a 0 bit into the outgoing stream.):

0 1 1 0 1 1 1 1 1 0 1 ...

Solution Summary

Answer in Hex Notation is given.

$2.19