Project ForgeSign up free
Computer Networks
OSI/TCP-IP Layers & Routing
GATE 2018
Hard

Consider a simple communication system where multiple nodes share a broadcast medium using carrier-sense based medium access. A node carrier-senses for 5 units of time; if it detects no transmission, it starts transmitting in the next time unit; if it detects a transmission, it waits for that transmission to finish, then carrier-senses for 5 units again. Once transmitting, nodes do not perform collision detection. All transmissions last 20 units of time. The signal travels at 10 meters per unit time. Two nodes P and Q are at distance d meters apart. P starts transmitting at t=0. Node Q has a packet to transmit at t=0 and begins carrier-sensing at t=0. The maximum distance d (rounded to the closest integer) that allows Q to successfully avoid a collision is ____.

50 meters(± 1 accepted)

Explanation

P's transmission (starting at t=0) reaches Q after a propagation delay of d/10 time units. For Q to detect it and correctly hold off, this signal must arrive within Q's 5-unit carrier-sense window, i.e. before Q decides to transmit at t=5: d/10 ≤ 5, so d ≤ 50 meters.

Source: GATE CS 2018 (2018)

This question is part of a 15-day revision cycle — sign in and Project Forge will bring it back the day before you'd forget it.

Start revising free