GATE / CS ARCHIVE

GATE CSE 2024 SET 1 / QUESTION 36

Pipeline packet serialization over two links

Computer Networks · Physical Layer & Transmission · Full GATE CSE 2024 Set 1 paper

GATE 2024 Set 1, Q36 2 marks · MCQ
Report issue

Physical Layer & Transmission

Question 36, GATE 2024: A file of 10⁶ bytes travels P→Q→R in consecutive 10³-byte chunks. Each link is 10⁶ bits/s. Chunk headers, propagation, processing and queueing are negligible; chunks are below the MTU. Router Q forwards each complete received packet and can receive one while transmitting another. P starts at t=0. When does R finish receiving? A 8.000 s; B 8.008 s; C 15.992 s; D 16.000 s.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Approach: Separate the time to fill the two-link pipeline from the steady interval between completed packets.
1. The file has 10⁶/10³=1,000 chunks. Each chunk contains 1,000×8=8,000 bits, so one link serializes it in τ=8,000/10⁶=0.008 s.
2. Q receives the first complete chunk at t=τ and transmits it on the second link during the next interval. R therefore finishes the first chunk at 2τ.
3. While Q transmits chunk 1, it receives chunk 2. Both links have the same rate, so each later chunk finishes at R exactly τ after its predecessor. Chunk k finishes at (k+1)τ.
4. The last chunk therefore finishes at 1,001×0.008=8.008 s.
Answer: B. Multiplying the whole-file time by two ignores pipelining; using only 8.000 s ignores the final second-link serialization. Negligible propagation does not mean zero transmission time.

Original paper, page 22 · Answer key