Answer: 4
To achieve 100% utilization, the sender must be able to transmit continuously during the round-trip time. This requires a minimum sender window size (Ws).
1. Calculate Transmission Delay (Tt):
Using 1 kilobyte=1024 bytes:
Tt=BandwidthFrame Size=128×103 bps1024×8 bits=64 ms
2. Calculate Minimum Sender Window Size (Ws):
With propagation delay Tp=150 ms:
Ws≥TtTt+2Tp=1+64300=5.6875
Since the window size must be an integer, the minimum Ws=6.
3. Calculate Sequence Number Bits (n):
In the Selective Repeat protocol, the sequence number space size (N) must satisfy:
N≥Ws+Wr
Since Ws=Wr in Selective Repeat:
N≥2Ws=12
The minimum number of bits n required is:
n=⌈log2(12)⌉=4