it should be **11**, but i will go with nearest option i.e n=10

The Gateway to Computer Science Excellence

First time here? Checkout the FAQ!

x

+1 vote

Station $A$ uses $32-byte$ packets to transmit messages to Station $B$ using a sliding window protocol.

The round trip time delay between $A$ and $B$ is $40\,ms$ and the bottleneck bandwidth on the path

$A$ and $B$ is $64\, kbps.$What is the optimal window size that $A$ should use?

- $5$
- $10$
- $40$
- $80$

0

maximum bits transmited in Rtt = 64 Kbps * 40 msec = 2560

frame size = 32* 8 bits = 256

so size of sender window = = 2560 /256= 10

frame size = 32* 8 bits = 256

so size of sender window = = 2560 /256= 10

0

Anu007 Sir,

so size of sender window = = 2560 /256= 10

Here, units of denominator & numerator are not matching.

It should be

so size of sender window = = 2621.44 /256= 10.24

+5 votes

- In one second link can send 64 kb
- In RTT link can send 64kb*40ms = 64* 1000* 40/1000 = 2560 bits = 320 bytes
- Size of one packet =32 bytes
- Size of optimal window =320/32 =10

Answer is **B**

PS: k*bps** means 1000 bits per second, not 1024. Please refer *

* https://en.wikipedia.org/wiki/Data_rate_units#Decimal_multiples_of_bits*

- All categories
- General Aptitude 1.3k
- Engineering Mathematics 5.4k
- Digital Logic 2.1k
- Programming & DS 3.9k
- Algorithms 3.4k
- Theory of Computation 4.2k
- Compiler Design 1.6k
- Databases 3.1k
- CO & Architecture 2.7k
- Computer Networks 3.1k
- Non GATE 1.1k
- Others 1.4k
- Admissions 501
- Exam Queries 448
- Tier 1 Placement Questions 19
- Job Queries 62
- Projects 12

37,963 questions

45,466 answers

131,323 comments

48,379 users