A sender is transmitting data using a sliding window protocol with a window size of 4. If the sender has sent 8 packets, how many packets can it send before receiving an ACK?
Q1. A sender is transmitting data using a sliding window protocol with a window size of 4. If the sender has sent 8 packets, how many packets can it send before receiving an ACK?
Answer: 4
Explanation: The sender can send packets up to the window size (4) before receiving an ACK. Since it has already sent 8 packets, it can send 4 more packets (but it has to wait for ACK for the first 4).