GATE / CS ARCHIVE

GATE CSE 2018 / QUESTION 55

Carrier sensing and propagation delay

Computer Networks · Medium Access & Ethernet · Full GATE CSE 2018 paper

GATE 2018, Q55 2 marks · NAT
Report issue

Medium Access & Ethernet

Question 55, GATE 2018: Two nodes P,Q are d metres apart, propagation speed 10 m/time-unit. Nodes sense for 5 units then transmit next; on detecting another transmission they wait for it to end and sense again. Transmissions last 20 units without collision detection. P begins at t=0; Q begins sensing at t=0. Find largest collision-avoiding d, rounded to metres.
Tap to enlarge
Answer & solution

Official answer: 50

Method

Q cannot sense P immediately at a distance: P’s leading signal arrives at t=d/10. To suppress Q’s pending transmission, that arrival must occur by the sensing decision at t=5 under the intended endpoint convention. At d=50 the signal reaches Q at the boundary and remains present for the next 20 units as P’s packet propagates past Q. A larger propagation delay leaves Q’s sensing interval apparently idle, so the protocol can launch an overlapping transmission. The limiting equation uses sensing time, not packet duration.

Solution

P’s signal reaches Q after propagation delay d/10 time units. To defer, Q must observe it during the five-unit sensing interval before Q starts transmission. Thus the intended boundary is d/10≤5, giving d≤50 metres. The answer 50 uses the convention that an arrival at the end of sensing is observed before the decision to transmit. If exact simultaneous-event ordering is not specified, 50 is the limiting distance; a strict-before model would use d<50, with the same rounded boundary. P transmits for 20 units, so its signal is still ongoing when first detected at this boundary.

Original paper, page 23 · Answer key