Bird
0
0

Consider a sliding window protocol with window size 4. If the sender has sent packets 1, 2, 3, and 4, but only packets 1 and 2 are acknowledged, which packets can the sender send next?

medium📝 Analysis Q13 of 15
Computer Networks - Physical and Data Link Layer
Consider a sliding window protocol with window size 4. If the sender has sent packets 1, 2, 3, and 4, but only packets 1 and 2 are acknowledged, which packets can the sender send next?
APackets 5 and 6
BPackets 3, 4, and 5
CPackets 5, 6, 7, and 8
DPackets 3, 4, 5, and 6
Step-by-Step Solution
Solution:
  1. Step 1: Understand sliding window acknowledgments

    Packets 1 and 2 are acknowledged, so the window slides forward by 2 packets.
  2. Step 2: Calculate new window range

    Window size is 4, so after acknowledging 1 and 2, sender can send packets 5 and 6 (next two packets).
  3. Final Answer:

    Packets 5 and 6 -> Option A
  4. Quick Check:

    Window slides by acknowledged packets = Packets 5 and 6 [OK]
Quick Trick: Window slides by acknowledged packets count [OK]
Common Mistakes:
MISTAKES
  • Trying to resend unacknowledged packets
  • Sending too many packets beyond window size
  • Not sliding window after acknowledgments

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Computer Networks Quizzes