CS FundamentalsVery hardGATE CS (PYQ pattern)

Two stations on an Ethernet segment both transmit at the same instant and collide (collision 1). Each then uses binary exponential backoff: after the n-th collision a station waits a random number of slot times chosen uniformly from {0, 1, ..., 2^n - 1}. Assume no other station interferes and the stations collide again exactly when they choose the same slot. What is the probability that the next two attempts also collide (collisions 2 and 3) and the attempt after that succeeds?

  1. A. 7/32
  2. B. 1/16
  3. C. 7/16
  4. D. 7/64

Correct answer: D. 7/64

After collision 1 each picks from {0,1}: same slot with probability 1/2 (collision 2). After collision 2 each picks from {0..3}: same slot with probability 1/4 (collision 3). After collision 3 each picks from {0..7}: different slots with probability 7/8. Product = 1/2 x 1/4 x 7/8 = 7/64.

More Computer Networks questions

Exams that ask this topic