421 views
0 votes
0 votes
Station A and Station B attempt to transmit a
frame and collide on an ethernet network,
after collision, a wins and started
transmission. At the end of this successful
transmission, both A and B attempt to
transmits & collide again. The probability
that A wins the second is—
(A) 0.5
(B) 0.625
(C) 0.75
(D) 0.33

1 Answer

0 votes
0 votes

Already explained https://gateoverflow.in/1050/gate2004-54. For another explanation see below

This is basically the question related to unfairness of exponential back-off algorithm called ‘capture effect’. You can find more info about it here: http://intronetworks.cs.luc.edu/current/html/ethernet.html#capture-effect

The solution to the above problem goes like this:

At every attempt to transit a frame, both A and B chooses value of ‘k’ randomly. Based on the value of ‘k’, back-off time is calculated as a multiple of ‘k’. The station or node having the smaller back-off time gets to send the frames earlier.

1st attempt: Value of ‘k’ would be k=0 or k=1 (0 <= k <= 2^n-1; where n=nth attempt). Since A won the first race, A must have chosen k=0 and B must have chosen k=1 (A wins here with probability 0.25). As A won, A will again choose k=0 or k=1 for its 2nd frame, but B will choose k=0,1,2 or 3 as B failed to send its first frame in the first attempt.

2nd attempt: Let kA= value of k chosen by A and kB = value of k chosen by B. We will use notation (kA,kB) to show the possible values. Now the sample space for the 2nd attempt is (kA,kB) = (0,0),(0,1),(0,2),(0,3),(1,0),(1,1),(1,2) or (1,3) i.e. 8 possible outcomes. For A to win, kA should be less than kB (kA < kB). Thus, our event space is (kA, kB) = (0,1),(0,2),(0,3),(1,2),(1,3) i.e. 5 possible outcomes.

Thus the probability that A wins the 2nd back-off race = 5/8 = 0.625

Source:http://www.geeksforgeeks.org/gate-gate-cs-2004-question-54/

Related questions

0 votes
0 votes
1 answer
1
David asked Oct 7, 2015
1,070 views
a)Different collision domain and same broadcast domain a)Different collision domain and different broadcast domain a)same collision domain and same broadcast domain a)...
1 votes
1 votes
1 answer
2
0 votes
0 votes
1 answer
3
tenjela asked Sep 24, 2022
822 views
IN standard Ethernet, if the maximum propagation time is 26.6 micro-second, what is the maximum size of the Ethernet frame?
0 votes
0 votes
1 answer
4
lalitver10 asked Feb 28, 2022
360 views
Hii Everyone,I’m bit confuse b/w the functionalities of data link layer protocals (Framming,flow control ) and ethernet protocal Framming and flow control.Can anyone pl...