in Computer Networks edited by
22,288 views
48 votes
48 votes

A bit-stuffing based framing protocol uses an $\text{8-bit}$ delimiter pattern of $01111110.$ If the output bit-string after stuffing is $01111100101,$ then the input bit-string is:

  1. $0111110100$
  2. $0111110101$
  3. $0111111101$
  4. $0111111111$
in Computer Networks edited by
22.3k views

3 Comments

Delimiter pattern=$01111110$.From this pattern it is clear that we are going to insert $0$ in input string.It means no. of $1$ in input string and output string(after stuffing 0) should be same.So we can directly say ans $b$
1
1
1
1
Why we are not stuffing a ‘1’ after 6 consecutive 1?
0
0

7 Answers

3 votes
3 votes

Answer B.

8-bit delimiter pattern is 01111110. 

The output bit-string after stuffing is 01111100101.

The above highlighted bit is stuffed bit.  
So input bit-string must be 0111110101. 

1 comment

you've highlighted the wrong zero
4
4
1 vote
1 vote

$\text{Bit-Stuffing}:$ Bits stuffing is the insertion of noninformation bits into data and it is used for synchronization purpose example

 

$A. 0111110100 \rightarrow 011111\color{red}{0}0100$ 

$B. 0111110101 \rightarrow 011111\color{red}{0}0101$ 

$C. 0111111101 \rightarrow 011111\color{red}{0}1101$

$C. 0111111111 \rightarrow 011111\color{red}{0}1111$

So Option $B$

–1 vote
–1 vote
I think end delimiter pattern should be 0111110 (five 1's).
by
Answer:

Related questions