GATE / CS ARCHIVE

GATE CSE 2014 SET 3 / QUESTION 24

GATE CSE 2014 Set 3 Q24

Computer Networks · Data Link, Framing, Error Control & ARQ · Full GATE CSE 2014 Set 3 paper

GATE 2014 Set 3, Q24 1 mark · MCQ
Report issue

Data Link, Framing, Error Control & ARQ

Question 24, GATE 2014: A bit-stuffing framing protocol uses delimiter 01111110. The stuffed payload is 01111100101. Recover its input bits. A 0111110100; B 0111110101; C 0111111101; D 0111111111.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Step 1: To prevent payload data from imitating the flag, the transmitter inserts a zero after every run of five consecutive ones. The receiver removes only that inserted zero. Step 2: Parse the given output as 0,11111,0(stuffed),0101. Removing the marked zero leaves 0,11111,0101=0111110101. Step 3: That is B. The zero immediately following the inserted zero belongs to the original payload and must not also be removed.

Original paper, page 58 · Answer key