It's UWAweek 47

help3002

This forum is provided to promote discussion amongst students enrolled in CITS3002 Computer Networks.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message. How do I ask a good question?

Displaying the 2 articles in this topic
Showing 2 of 503 articles.
Currently 50 other people reading this forum.


 UWA week 15 (1st semester, week 6) ↓
SVG not supported

Login to reply

👍?
helpful
10:20pm Tue 9th Apr, ANONYMOUS

Hi, hoping I could check my solution to tutorial Q2c with someone here as I couldn't make it to the last two tutes :) (c) What is the probability that all 3 devices can successfully transmit their frames in a maximum of 3 time slots after the original collision? P(maximum of 3 time slots after the original collision) = P(any one node is successful in slot-1) * P(any one node is successful in slot-2) * P(final node successful in slot-3) Slot 1: three device with backoff times of 0, 1 at a probability of 1/2 each P(any one node is successful in slot-1) = 3C1 * P(0) * P(1) * P(1) = 3 * 1/2 * 1/2 * 1/2 = 3/8 Slot 2: two devices with backoff times of 0, 1, 2, 3 at a probability of 1/4 each If k1 is the backoff time chosen by one device, and k2 is backoff time chosen by the other device P(any one node is successful in slot-2) = 2C1 * P(k1 < k2) P(k1 < k2) consists of the 6 pairs [(0,1), (0,2), (0,3), (1,2), (1,3), (2,3)] and each pair occurs with a probability of 1/4 * 1/4 = 1/16 P(k1 < k2) = 6 * 1/16 = 6/16 P(any one node is successful in slot-2) = 2 * 6/16 = 12/16 = 3/4 Slot 3: one device with backoff times of 0, 1, 2, 3, 4, 5, 6, 7 at a probability of 1/8 each P(final node successful in slot-3) = 1 Finally: P(maximum of 3 time slots after the original collision) = 3/8 * 3/4 * 1 = 9/32


SVG not supported

Login to reply

👍?
helpful
4:08am Wed 10th Apr, Christopher M.

ANONYMOUS wrote:
> Hi, hoping I could check my solution to tutorial Q2c with someone here as I couldn't make it to the last two tutes :) > > (c) What is the probability that all 3 devices can successfully transmit their frames in a maximum of 3 time slots after the original collision?
For this to occur, each of the 3 slots must host exactly one transmission. If the 1st slot hosts a successful re-transmission by one node, the other two nodes must have chosen to not immediately retransmit, but to back-off for one slot. Then, in the 2nd slot, the two nodes that had backed-off will now *both* re-transmit => another collision! Then, in the 3rd slot, we still have two nodes wishing to re-transmit. So, it's not possible, and the probability of it happening is 0.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy