1 votes 1 votes Answer is 4 or 6 ? Ashwani Kumar 2 asked Oct 1, 2017 Ashwani Kumar 2 1.2k views answer comment Share Follow See 1 comment See all 1 1 comment reply saxena0612 commented Oct 1, 2017 reply Follow Share https://gateoverflow.in/153783/bit-stuffing 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes In general with a flag 01k0 the bit stuffing is required whenever 01k-1 appears in the original data stream. 1011010110110110111110 so total 3 times 0 is stuffed. Rupendra Choudhary answered Oct 1, 2017 • edited Oct 1, 2017 by Rupendra Choudhary Rupendra Choudhary comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Flag : 01110 Data Frame: 1011101111011111110 Data after bit stuffing: 1011010110110011011011010 6 0's will be stuffed! for your reference see the following screenshot from the book: Manu Thakur answered Oct 1, 2017 Manu Thakur comment Share Follow See all 2 Comments See all 2 2 Comments reply Ashwani Kumar 2 commented Oct 1, 2017 reply Follow Share @manuOOx Yes I do agree I was also getting 6 0's according the concept given in book but why people are answering 3 0's. But I think If you see there is no need to add last 3 0's(stuffed) at the end where run of 7 1's is written because there will be no confusion of 011 here and we need to stuff only 3 0's. 0 votes 0 votes Manu Thakur commented Oct 1, 2017 reply Follow Share @Ashwani when you add a 0, that itself prepares another pattern for example 1011-0-1011-0-11-0-011-0-11 -0-11-0-10 when this 0 is inserted then it self prepared a continuous pattern of 011 hence we have to stuff 5th bit, and for the same reason we have to stuff 6th 0. system will remove any bit after two consecutive 1's, system believes that after 2 consecutive 1's one 0 is stuffed by the sender. By looking ( we have eyes but system doesn't have) at data we can recognize it but not the system. 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes Stuff bit pattern :01110 dataFrame :1011101111011111110 After stuffing 1011010110110110111110: 3 Bit stuffing Rameez Raza answered Oct 1, 2017 Rameez Raza comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes ans is 6 1011010110110011011011010 rajoramanoj answered Oct 1, 2017 rajoramanoj comment Share Follow See all 0 reply Please log in or register to add a comment.