in Computer Networks
1,534 views
3 votes
3 votes
Data :- 011111

Flag:-  0111
in Computer Networks
by
1.5k views

1 comment

@manu00x or @joshi_nitish.
0
0

1 Answer

1 vote
1 vote

Flag  0111 means in data part you have to stuff a 0 after every occurence of 11. So given data part is 011111 So after bit stuffing it will be 01101101

If flag contain consecutively n one then in data part you havr to stuff a 0 after every (n-1) one

4 Comments

If in gate it is asked which rule we have to follow stuffing 0 after 011 or only 11 can anyone help ?
0
0
Stuff 0 after 11..most places they have followed this..
0
0
  • Thanks vaibhav
0
0

Related questions