3 votes 3 votes Computer Networks computer-networks bit-stuffing + – rohit vishkarma asked Oct 31, 2017 retagged Feb 15, 2019 by Cristine rohit vishkarma 654 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply rohit vishkarma commented Oct 31, 2017 reply Follow Share mi quest is when to stuffed after 3 consecutive or take everytime five consecutive 1.. 0 votes 0 votes Anu007 commented Oct 31, 2017 reply Follow Share after every 2 consicutive 1 0 votes 0 votes Please log in or register to add a comment.
Best answer 2 votes 2 votes Data Frame: 1011101111011111110 Stuff bit pattern : 01110 We will insert 0 after every two consecutive 1's So the final data that has to be transmitted is 1011010110110011011011010 Number of zero stuffed is 6. Rohit Gupta 8 answered Oct 31, 2017 selected Nov 23, 2017 by Manu Thakur Rohit Gupta 8 comment Share Follow See all 4 Comments See all 4 4 Comments reply rohit vishkarma commented Oct 31, 2017 reply Follow Share bro why to stuffed after two ....not three 0 votes 0 votes Rohit Gupta 8 commented Oct 31, 2017 i edited by Rohit Gupta 8 Nov 5, 2017 reply Follow Share Stuff bit pattern or flag is used as start and end delimiter. If this pattern matches with data then receiver will think that it is end of message and will discard further data. So if data contains pattern same as delimiter/flag we change it and we change it by removing that pattern from data. We remove that pattern from by inserting 0 after every 0 followed by n-1 consecutive 1, here it is 011. Here n is number of 1 in flag. 0 votes 0 votes Saurabh666 commented Nov 4, 2017 reply Follow Share Would we stuff 0 after every two consecutive 1s or after every 011? 0 votes 0 votes AnilGoudar commented Nov 4, 2017 reply Follow Share Number of zero's Stuffed are 6. The final bit pattern will be, 1011 0 1011 0 11 0 011 0 11 0 11 0 10. The given Stuff bit pattern is 01110. Hence a zero will be stuffed for every occurence of 011. 0 votes 0 votes Please log in or register to add a comment.