Answer: 5
To find the minimum number of bits required for the sequence number field in Selective Repeat (SR), we first calculate the transmission time (Tt) and the round-trip time (RTT).
1. Calculate Transmission Time (Tt):
Frame size, L=1 KB=1024×8 bits=8192 bits
Bandwidth, B=1.5 Mbps=1.5×106 bps
Tt=BL=1.5×1068192≈5.46 ms
2. Calculate Round-Trip Time (RTT):
One-way latency (Tp) = 50 ms
RTT=2×Tp=100 ms
3. Determine Sender Window Size (Ws):
For a link utilization of η=60%=0.6:
η=Tt+2TpWs×Tt≥0.6
Ws≥0.6×(1+Tt2Tp)=0.6×(1+5.46100)≈0.6×19.31=11.59
Since the window size must be an integer, the minimum sender window size is Ws=12.
4. Calculate Sequence Number Bits (n):
In the Selective Repeat protocol, to avoid ambiguity, the sender window size Ws and receiver window size Wr must satisfy:
Ws+Wr≤2n
Since Ws=Wr in Selective Repeat:
2Ws≤2n⟹2n−1≥Ws
2n−1≥12⟹n−1≥4⟹n≥5
Thus, the minimum number of bits required to represent the sequence number field is 5.