The Gateway to Computer Science Excellence
0 votes

Why answer is not C?

in Computer Networks by Active (2.2k points)
edited by | 377 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 (21.3k points)
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
by (183 points)
0 votes
after 5 consecutive 1,we stuffed 0 after option B is right
by Loyal (6.3k points)
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
50,651 questions
56,214 answers
95,419 users