Question #39345

Frames of 1000 bits are sent over a 10^6 bps duplex link between two hosts. The propagation time is 25ms. Frames are to be transmitted into this link to maximally pack them in transit (within the link).

What is the minimum number of bits (i) that will be required to represent the sequence numbers distinctly? Assume that no time gap needs to be given between transmission of two frames.
(A) i=2
(B) i=3
(C) i=4
(D) i=5

Suppose that the sliding window protocol is used with the sender window size of 2^i where is the number of bits identified in the earlier part and acknowledgments are always piggy backed. After sending 2^i frames, what is the minimum time the sender will have to wait before starting transmission of the next frame? (Identify the closest choice ignoring the
frame processing time.)
(A) 16ms
(B) 18ms
(C) 20ms
(D) 22ms
1

Expert's answer

2014-02-25T07:18:24-0500

Answer on Question#39345 - Math - Other

Frames of 1000 bits are sent over a 10610^6 bps duplex link between two hosts. The propagation time is 25ms. Frames are to be transmitted into this link to maximally pack them in transit (within the link).

What is the minimum number of bits (i) that will be required to represent the sequence numbers distinctly? Assume that no time gap needs to be given between transmission of two frames.

(A) i=2

(B) i=3

(C) i=4

(D) i=5

Solution

Transmission delay for 1 frame ttr=1,000106=103s=1mst_{tr} = \frac{1,000}{10^6} = 10^{-3}s = 1ms. Propagation time T=25msT = 25ms. The sender can almost transfer Tttr=251=25\frac{T}{t_{tr}} = \frac{25}{1} = 25 frames before the first frame reaches the destination.

The number of bits needed for representing 25 different frames ilog2254.6439i \geqslant \log_2 25 \approx 4.6439.

Answer

(D)

Suppose that the sliding window protocol is used with the sender window size of 2i2^{\wedge}i where is the number of bits identified in the earlier part and acknowledgments are always piggy backed. After sending 2i2^{\wedge}i frames, what is the minimum time the sender will have to wait before starting transmission of the next frame? (Identify the closest choice ignoring the frame processing time.)

(A) 16ms

(B) 18ms

(C) 20ms

(D) 22ms

Solution

Size of sliding window n=25=32n = 2^5 = 32. Transmission time for a frame ttr=1mst_{tr} = 1ms. Total time taken for nn frames tt=32mst_t = 32ms. The sender cannot receive acknowledgment before round trip time which is trt=mTttt_{rt} = m \cdot T \geqslant t_t, m=2m = 2, trt=50mst_{rt} = 50ms. After sending nn frames, the minimum time the sender will have to wait before starting transmission of the next frame tw=trttt=5032=18mst_w = t_{rt} - t_t = 50 - 32 = 18ms.

Answer

(B)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

Assignment Expert
25.02.14, 18:13

Dear Sujata Roy You're welcome. We are glad to be helpful. If you really liked our service please press like-button beside answer field. Thank you!

Assignment Expert
25.02.14, 18:13

Dear Sujata Roy You're welcome. We are glad to be helpful. If you really liked our service please press like-button beside answer field. Thank you!

Sujata Roy
25.02.14, 16:46

Thank you.

Sujata Roy
25.02.14, 16:39

Thanks a lot.

LATEST TUTORIALS
APPROVED BY CLIENTS