


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



R. No- 17544
a) Here we have a window size of N = 4. Suppose the receiver has received packet k-1, and has ACKed that and all other preceding packets.
hence, N = (10.304 * 10^3)/10 = 1030 stations. ANS 5. a) (1 – p(A))^4 p(A) where, p(A)= probability that A succeeds in a slot p(A)= p(A transmits and B does not and C does not and D does not) = p(A transmits) p(B does not transmit) p(C does not transmit) p(D does not transmit) = p(1 – p) (1 – p)(1-p) = p(1 – p)^3 Hence, p(A succeeds for first time in slot 5) = (1 – p(A))^4 p(A) = (1 – p(1 – p)^3 )^4 p(1 – p)^3 b) p(A succeeds in slot 4) = p(1-p)^3 p(B succeeds in slot 4) = p(1-p)^3 p(C succeeds in slot 4) = p(1-p)^3 p(D succeeds in slot 4) = p(1-p)^3 p(either A or B or C or D succeeds in slot 4) = 4 p(1-p)^3 (because these events are mutually exclusive) c) p(some node succeeds in a slot) = 4 p(1-p)^3 p(no node succeeds in a slot) = 1 - 4 p(1-p)^3 Hence, p(first success occurs in slot 3) = p(no node succeeds in first 2 slots) p(some node succeeds in 3 rdslot) = (1 - 4 p(1-p)^3 )^2 4 p(1-p)^3 ANS 6. Time t Event 0 A and B begin transmission 245 A and B and detect collision 245 + 32 = 277 A and B and finish transmitting jam signal 277 + 245 = 522 A’s last bit arrives at B;A detects an idle channel 522 A starts transmitting B returns to step 523 277 + 512 = 789 B must sense idle channel for 96 bit times before it transmits(KB= 1, back-off time =KB·512) 524 522 + 245 = 767 A’s transmission reaches B Because A’s retransmission reaches before B’s scheduled retransmission time (789 + 96) , B refrains from transmitting while A retransmits. Thus A and B do not collide. Thus the factor 512 appearing in the exponential back-off algorithm is sufficiently large.