A bit-stuffing based framing protocol uses an 8-bit delimiter pattern of 01111110. If the output bit-string after stuffing is 01111100101, then the input bit-string is
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2014 Set 3 · Q24
Time
Select one answerSingle correct
Solution
Official answer: B) 0111110101
Data Link LayerIn bit stuffing with the flag pattern 01111110 (six consecutive 1s), the transmitter automatically inserts (stuffs) a 0 bit whenever it encounters five consecutive 1s (11111) in the data stream.
Given stuffed output bit-string:
Identify five consecutive 1s: 011111
The bit immediately following the five 1s is the stuffed 0, which is removed (destuffed).
Remaining bits after destuffing: 0101.
Combining the bits gives the original input bit-string: 0111110101, corresponding to option (B).
Try the question first, then check your work.
Examiner trap
Identify the occurrence of five consecutive 1s and remove the stuffed 0 that immediately follows them.
This Data Link Layer previous year question is Q24 of the GATE CSE 2014 Set 3 paper. Find more GATE CSE PYQs on Data Link Layer in Computer Networks, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Data Link Layer PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Data Link Layer has 27 GATE CSE PYQs across 17 papers from 2013 to 2026. 5 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2014 Set 3.
How GATE tests Data Link LayerIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.