GATE / CS ARCHIVE

GATE CSE 2015 SET 1 / QUESTION 36

GATE CSE 2015 Set 1 Q36

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

GATE 2015 Set 1, Q36 2 marks · NAT
Report issue

Data Link, Framing, Error Control & ARQ

Question 36, GATE 2015: Stop-and-wait uses a 64-kilobit/s link with “20 milliseconds propagation delay.” ACK transmission and node processing are negligible. Find the minimum frame size in bytes for at least 50% utilization.
Tap to enlarge
Answer & solution

Official answer: 160

Our answer: 320 bytes for one-way 20ms; official 160

For frame transmission time T and one-way propagation d, a cycle lasts T+2d: the last data bit travels outward and the ACK returns. Requiring T/(T+2d)≥1/2 gives T≥2d. At d=0.020 s this requires 0.040 s of data transmission, or 64000×0.040/8=320 bytes. The official 160 gives only 1/3 utilization under that model, but gives 1/2 if the stated 20 ms is RTT. Retain both interpretation and official scoring explicitly.

Solution: Ignoring ACK serialization, stop-and-wait utilization is T/(T+2Tp). At50%, T=2Tp. With the stated propagation delay Tp=20ms, T=40ms and frame size 64000·0.040=2560 bits=320 bytes. The official 160 bytes instead treats 20ms as the entire round-trip delay. The one-way versus round-trip interpretation changes the answer and is explicitly unresolved.

Original paper, page 14 · Answer key