GATE / CS ARCHIVE

SUBJECT COLLECTION

Computer Networks · Medium Access & Ethernet

13 questions, newest first

GATE CSE has asked 13 questions on Medium Access & Ethernet (Computer Networks) from 2003 to 2024, in 11 of the 46 papers; the most recent is in GATE CSE 2024 Set 2. In the last five years it carried 0.2 marks per 100-mark paper on average, against 0.6 since 2003. Since 2014 the questions have been 5 NAT and 3 MCQ. 1 group of questions here are solved the same way; “One per method” keeps the newest of each.

Browse topics
2 marks · NAT
Report issue

Collision detection requires round-trip propagation time

Medium Access & Ethernet

Question 55, GATE 2024: An Ethernet segment transmits at 10^8 bits/s, has maximum length 500 m and signal propagation speed 2×10^8 m/s. What theoretical minimum frame length in bits permits collision detection?
Tap to enlarge
Answer & solution

Official answer: 500

Approach: Ensure that the sender is still transmitting when a worst-case collision indication returns.

1. Derivation. The one-way propagation delay is 500/(2×10⁸)=2.5μs. To detect a collision originating at the far end, transmission must continue for at least the round-trip delay 5μs. At10⁸bits/s this requires 10⁸×5×10⁻⁶=500 bits. This is the theoretical collision-detection minimum from the supplied parameters, not the separate standardized512-bit Ethernet minimum.

2. Explanation and checks. A distant node may begin transmitting just before the first signal reaches it. Evidence of that collision must then travel back to the original sender, making the worst-case duration approximately twice the one-way propagation delay. Frame transmission time L/R must therefore satisfy L/R≥2d/v, or L≥2dR/v. Substituting gives 500 bits. Using only the one-way delay yields 250 bits and can let the sender finish too early to detect the collision.

Original paper, page 37 · Answer key

2 marks · NAT
Report issue

Medium Access & Ethernet

Question 54, GATE 2021: Pure ALOHA frames are 1000 bits over 1Mbps. All attempts, including retries, are Poisson at 1000 frames/s. Find successful frames/s, rounded to nearest integer.
Tap to enlarge
Answer & solution

Official answer: 130 to 140

Our answer: 135

A frame occupies 1000/106=0.001 seconds. For pure ALOHA the vulnerable period is twice that, 0.002 seconds. Given the stated Poisson attempt rate 1000 per second, the chance of no competing attempt in that interval is exp(-1000*0.002)=e-2. Successful throughput is 1000e-2=135.335 frames/second, rounding to 135, within the official 130–140 interval.

Let frame duration τ=0.001s and total offered load G=λτ=1. Pure ALOHA success probability is e−2G, unlike slotted ALOHA's e−G. Thus normalized throughput is Ge−2G frames per frame-time, or λe−2G frames/s. Retry attempts are already included in λ and must not be added again.

Original paper, page 87 · Answer key

2 marks · NAT
Report issue

Carrier sensing and propagation delay

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

1 mark · MCQ
Report issue

Medium Access & Ethernet

Question 24, GATE 2016: In an Ethernet LAN, which is true? A a station stops sensing once transmitting; B jam pads short frames; C transmission continues after detecting a collision; D exponential backoff reduces collision probability on retransmission.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

In shared half-duplex CSMA/CD Ethernet, random exponential backoff spreads retransmission times after a collision and reduces renewed collision probability. Stations monitor during transmission, abort the data frame on collision, and send a jam signal to make the collision detectable. Thus D.

After repeated collisions, the random waiting range grows, making identical retries less likely among contenders. A jam signal announces a collision so all participants abandon the damaged frame; it is not padding to reach minimum length. These statements concern collision-detecting shared Ethernet, not collision-free full-duplex switched operation.

Original paper, page 31 · Answer key

2 marks · NAT
Report issue

Medium Access & Ethernet

Question 53, GATE 2016: A 20×10^6 bit/s CSMA/CD network has maximum one-way propagation time 40 μs. Find the minimum collision-detecting frame size in bytes.
Tap to enlarge
Answer & solution

Official answer: 200.0 : 200.0

Our answer: 200

To detect a worst-case collision, the sender must still be transmitting after the round-trip propagation interval 2*40microseconds. Minimum frame bits=20*106*80*10−6=1600, or 200 bytes. This is the theoretical CSMA/CD collision-detection bound from the supplied rate/delay, not a claim about a standard Ethernet minimum frame.

A far-end station may begin just before the first sender’s signal reaches it. Evidence of that collision then needs another propagation interval to travel back. Therefore transmission must last at least 80 μs; using 40 μs would incorrectly halve the answer. Divide the calculated bit count by eight only after multiplying bandwidth by round-trip time.

Original paper, page 42 · Answer key

2 marks · MCQ
Report issue

Medium Access & Ethernet

Question 54, GATE 2016: IEEE 802.11 statements: I at least three nonoverlapping channels are available; II RTS-CTS is for collision detection; III unicast frames are acknowledged. A I,II,III; B I,III; C II,III; D II only.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Under the conventional legacy2.4GHz channel plan, channels1, 6, 11 provide three non-overlapping channels, making I the intended true statement. RTS/CTS reserves the medium and mitigates hidden-terminal collisions; it is collision avoidance, not detection, so II is false. Ordinary unicast data frames are acknowledged, so III is true and B follows. Channel availability depends on PHY/channel width/regulatory domain, and ACK policies have protocol exceptions; the answer uses the textbook ordinary-data-frame model.

A hidden terminal may hear the receiver’s CTS even when it cannot hear the sender, causing it to defer. This prevents many collisions before data transmission rather than detecting a collision while transmitting. An ACK gives the sender evidence of successful reception; lack of an ACK triggers retry behavior under the ordinary unicast model used here.

Original paper, page 43 · Answer key

1 mark · MCQ
Report issue

Medium Access & Ethernet

Question 35, GATE 2015: A CSMA/CD network transmits at 100 Mbps (10⁸ bits/s) over a 1 km cable without repeaters. Its required minimum frame size is 1250 bytes. Find signal speed in km/s, using the collision-detection minimum-frame condition. Options: (A) 8000; (B) 10000; (C) 16000; (D) 20000.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

1. A transmitting station must still be transmitting when a worst-case collision indication returns from the far end of the cable. Therefore frame serialization time must cover two one-way propagation delays. Convert bytes to bits before comparing the frame size with the bit rate.

2. Minimum frame serialization time is 1250·8/108=10−4s, which must equal the cable’s round-trip propagation time at the minimum. One-way delay=5·10−5s, so speed 1km/(5·10−5s)=20000km/s, D.

Original paper, page 65 · Answer key

2 marks · NAT
Report issue

Medium Access & Ethernet

Question 26, GATE 2014: A 2 km token ring has ten stations including a monitoring station. Signals propagate at 2×10⁸ m/s. Token transmission time is ignored, and each station may hold the token for 2 μs. What minimum wait in μs should the monitoring station allow before considering the token lost?
Tap to enlarge
Answer & solution

Official answer: 28 to 30

Our answer: 28 or 30 microseconds by timer origin

1. Method and setup. The return delay contains two distinct components: propagation around the physical ring and permitted holding delays at stations. Convert kilometers to meters before dividing by speed. Whether to include the monitor’s own holding period depends on whether its timer starts when acquiring or releasing the token.

2. Work through the result and its assumptions. Ring propagation is 2000/(2×10⁸)=10μs. After the monitor releases the token, nine other stations may hold it for 18μs, giving 28μs until its return. Counting from acquisition and including the monitor’s own 2μs gives 30μs. Both lie in the official 28 to 30 interval; the timer origin is not explicit.

Original paper, page 13 · Answer key

2 marks · MCQ
Report issue

Ethernet collision-detection cable length

Medium Access & Ethernet

Question 36, GATE 2013: Ethernet data rate 500 Mbps, frame length 10000 bits, propagation speed 200000 km/s. Ignoring other delays, maximum cable length for collision detection: A1, B2, C2.5, D5 km.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Frame transmission time=10000/(500×106)=20μs. Collision detection requires the round-trip propagation time not to exceed this, so one-way delay≤10μs. At200000 km/s the maximum length is 2 km, B, neglecting other delays as in the question.

A transmitter must still be sending when a collision signal from the far end could return. A frame occupies 10000/(500×106)=20×10−6 seconds on the wire. Therefore the round trip 2L/v must be at most 20 microseconds. Solving L≤v·10 microseconds with v=200000 km/s gives 2 km. Using one-way propagation alone would incorrectly double the allowed length. This ideal collision-domain calculation excludes repeater and transceiver delays.

Original paper, page 8 · Answer key

2 marks · MCQ
Report issue

Exactly one slotted-LAN transmission

Medium Access & Ethernet

Question 65, GATE 2007: A slotted LAN has n stations. Each station independently attempts to transmit with probability p in a slot. What is the probability that exactly one station transmits?
Options:
(A) np(1−p)^(n−1)
(B) (1−p)^(n−1)
(C) p(1−p)^(n−1)
(D) 1−(1−p)^(n−1)
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. Approach. Choose which station is the sole sender, then require it to transmit and every other station to remain silent. The n resulting events are mutually exclusive, so add their probabilities.

2. Derivation and interpretation. Assuming independent station attempts, a fixed station transmits alone with probability p(1-p)n-1. There are n disjoint choices for the sole transmitter, giving np(1-p)n-1, option A.

Original paper, page 16

2 marks · MCQ
Report issue

Ethernet collision slot length

Medium Access & Ethernet

Question 74, GATE 2005: A10 Mbps Ethernet has round-trip propagation 46.4 microseconds and 48-bit jam allowance. Intended minimum frame size in bits: A94; B416; C464; D512.
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

The round-trip propagation delay corresponds to 10×106×46.4×10−6=464 bit-times. Including the stated 48-bit jam allowance gives 464+48=512 bits, or 64 bytes, option D. This uses the question’s intended collision-slot budgeting convention; the jam is collision handling, not an extra field appended to every successful frame.

At 10 million bits/s, propagation 46.4 microseconds spans 464 bit times. Under the supplied collision-slot convention, add 48 bit times for jamming, giving 512 bits. Dividing by 8 gives 64 bytes, but the choices are in bits. The jam is not an ordinary payload/header field to append to every successful Ethernet frame; it belongs to the stated collision handling budget.

Original paper, page 10

2 marks · MCQ
Report issue

Ethernet binary exponential backoff race

Medium Access & Ethernet

Question 54, GATE 2004: A,B are the only Ethernet stations, each with a steady frame queue. Their first frames collide; A wins the first backoff race and transmits successfully. They transmit again and collide. What is the probability A wins the second backoff race?
Options:
(A) 0.5
(B) 0.625
(C) 0.75
(D) 1.0
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

1. After A succeeds, its next frame starts with collision count reset; following the next collision A chooses uniformly from{0,1}. B’s still-unsent frame has now collided twice, so B chooses uniformly from{0,1,2,3}.

2. Of the 8 equally likely pairs, A wins strictly when(A,B) is(0,1),(0,2),(0,3),(1,2),(1,3), giving 5/8=0.625. Equal choices cause another collision, not a win.

3. This evaluates the stated next backoff race, not eventual success after arbitrarily many tied races.

4. Teaching check: Binary exponential backoff counts collisions for the current frame, not for the station forever. A has a new frame while B retries its old one. Among A’s two and B’s four choices, five of eight pairs give A the strictly smaller delay; ties are new collisions.

Original paper, page 8

2 marks · MCQ
Report issue

Collision-detection minimum frame transmission time

Medium Access & Ethernet

Question 83, GATE 2003: A broadcast LAN is 2 km long, has bandwidth 10^7 bits/s and uses CSMA/CD. Signals propagate along its wire at 2×10^8 m/s. What is the minimum packet size usable on the network?
A. 50 bytes  B. 100 bytes  C. 200 bytes  D. None of the above
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. In the worst case a remote transmitter starts just before hearing the first transmitter. The collision indication must travel back, requiring nearly a full round-trip propagation time.
2. One-way propagation is 2000/(2×108)=10−5 s=10 μs. Therefore a frame must last at least 20 μs for collision detection while transmission is still in progress.
3. At 107 bits/s the minimum length is 107×20×10−6=200 bits. Divide by eight to convert to bytes: 25 bytes.
4. None of the listed numerical byte sizes equals that theoretical minimum, so D. The 200 in the computation is bits, not the 200-byte option C.

Solution: The one-way propagation delay is 2000/(2×108)=10 microseconds. To detect the worst-case collision, transmission must continue for at least twice this delay, 20 microseconds. At 107 bits/s this requires 107×20×10−6=200 bits=25 bytes. Since the offered sizes are 50,100,200 bytes and none-of-the-above, the theoretical minimum is D. This calculation uses the idealized LAN parameters; it does not import Ethernet's independently standardized minimum-frame overhead.

Original paper, page 12