edited by
629 views
3 votes
3 votes
A message bit stream is $101101101$, the bit pattern will be  if message is transmitted with bit stuffing and a flag bit of $0111$___________
edited by

2 Answers

Best answer
2 votes
2 votes

Since Flag is 0111 , bit ( The 0 - Bit ) will be stuffed or added  after every two consecutive ( like 00 or 11 )  is occured in data

so 101101101 will be stuffed as follows 

    1011 0 011 0 01 

7 votes
7 votes

Flag is 0111

So, whenever data will contain 0111, the sender will stuff a 0 before the last one, 01101.

Now, whenever the receiver sees 0110x..., it will remove that stuffed 0 interpreting it as 011x...

Now, you might think that the message 101101101 should be sent as it is because there is no flag inside the data.

But, look what will happen when receiver will receive this message.

1 0111101

Receiver will remove the bold 0, assuming it to be a stuffed bit (since it comes after 011). And interpret message as 10111101, which is completely wrong!

So, the sender should also stuff a 0 inbetween ...0110..., as ...01100...

So, now sender will send: 10110011001

Receiver will remove those stuffed 0s

Answer:

Related questions

1 votes
1 votes
1 answer
1
Bikram asked Nov 26, 2016
531 views
The bandwidth in a CSMA/CD network is $10$ Mbps. The minimum frame size required in the network when RTT is $384$ microsecond _______ in Bytes.
1 votes
1 votes
1 answer
2
Bikram asked Nov 26, 2016
421 views
A selective repeat ARQ uses a window size of $26$ to send the data. The number of bits needed to define the sequence number is _____.
6 votes
6 votes
3 answers
3
Bikram asked Nov 26, 2016
1,923 views
A sliding window protocol uses Selective Repeat. The sender sliding window size is $32$. After receiving the first $100$ frames, the acknowledgement number that is piggyb...
8 votes
8 votes
2 answers
4
Bikram asked Nov 26, 2016
890 views
Consider a sliding window protocol that uses Selective Repeat, the sender sliding window size is $32$. The sequence number of the frame to be sent after sending $200$ fra...