3,341 views

2 Answers

5 votes
5 votes

Since bit pattern-011110

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

so msg now -10111001110101110111010

4 zero bits stuffed by transmitter while transmitting given frame.

When the receiver sees three consecutive incoming ones followed by a 0 bit, it automatically destuffs the 0 bit .

So Now Msg- 1011101111011111110

edited by
2 votes
2 votes

Actual Data to be sent => 1011101111011111110

Bit pattern is 011110, so the number of 1's after which 0 would be inserted by transmitter => (number of continuous 1's in bit pattern - 1)

The transmitted data => 10111001110101110111010 => 4 0's are stuffed by the transmitter

Related questions

3 votes
3 votes
2 answers
1
Hirak asked May 8, 2019
1,920 views
End delimeter is → 0111data to be sent 0111111111.What is the data we should send to the reciever?
10 votes
10 votes
2 answers
3
junaid ahmad asked Sep 20, 2017
2,553 views
In bit stuffing protocol for frame synchronization, if stuff bit pattern is $01110$ then how many zero bits stuffed by transmitter white transmitting given frame (except ...
3 votes
3 votes
1 answer
4
Xylene asked Aug 24, 2017
1,481 views
Data :- 011111Flag:- 0111