CS FundamentalsVery hardProduct company interview · GATE level

Two Ethernet stations A and B collide. For A this is the 1st collision of its current frame, so it picks its backoff K uniformly from {0, 1}; for B it is the 3rd collision of its frame, so it picks K uniformly from {0, 1, ..., 7}. What is the probability that A picks a strictly smaller backoff than B and therefore transmits first?

  1. A. 7/8
  2. B. 3/4
  3. C. 13/16
  4. D. 1/2

Correct answer: C. 13/16

There are 2 x 8 = 16 equally likely pairs. If A picks 0, B must pick 1-7: 7 pairs. If A picks 1, B must pick 2-7: 6 pairs. So P(A first) = 13/16. The remaining 3/16 splits into 2/16 for a repeat collision (equal picks) and 1/16 for B going first (A = 1, B = 0). 7/8 forgets the case where A picks 1; 1/2 wrongly treats the two stations as symmetric - binary exponential backoff favours the station with fewer collisions.

More Computer Networks questions

Exams that ask this topic