Explore BrainMass
Share

### Explore BrainMass

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

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)

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)

#### 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. The expert adds framing bits and bit stuffing to a bit pattern.

\$2.19