The Gateway to Computer Science Excellence
0 votes

Why answer is not C?

in Computer Networks by Active
edited by | 402 views
after 5 consecutive ones insert 0 in input string.

3 Answers

+1 vote
Best answer

Bit stuffing pattern 01111110

ip string : 011111101

0 111110101  is the correct ans

0 is introduced to distinguish data and end delimiter

Refer the concept of bit stuffing again. Its a simple question

by Boss
selected by
i didnt know d concept in the first place :D
+1 vote
01111110 is considered flag and not data , if u want to send data 011111101
u need to stuff extra 0 after 5 consecutive ones so that will be not treated as flag or delimiter and will be considered data
0 votes
after 5 consecutive 1,we stuffed 0 after option B is right
by Loyal
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,223 questions
59,818 answers
118,091 users