Computer Science, asked by jaskaran7245, 11 months ago

A bit string 011100111110001110 needs to be transmitted at the data link layer. What is the string actually transmitted after bit stuffing

Answers

Answered by Navraj229
0
P kny pnlmt. Knlm
Yn
Answered by ayushaugust27
3

Answer:

01111110 011110111110011111010 01111110

Explanation:

The bit stuffing concept goes like this

Each frame begins and ends with a special bit pattern called a flag byte 01111110.

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

Alternatively when receiver sees five consecutive incoming ones followed by a 0 bit, it automatically destuffs the 0 bit before sending the data to the network layer.

Now, moving towards your question we have

Data set to be transmitted 0111101111101111110

Separate set whenever encounter 5 consecutive ones 01111011111 011111 10

Data set after bit-stuffing 011110111110 0111110 10

So 011110111110011111010 is the final string after bit-stuffing but the frame to be transmitted has special bit pattern as well

Therefore the frame is

01111110 011110111110011111010 01111110

Similar questions