0
0
Computer Networksknowledge~5 mins

Flow control (stop-and-wait, sliding window) in Computer Networks - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the main purpose of flow control in data communication?
Flow control ensures that the sender does not overwhelm the receiver by sending data faster than it can be processed, preventing data loss.
Click to reveal answer
beginner
Explain the Stop-and-Wait flow control method.
In Stop-and-Wait, the sender sends one frame and waits for an acknowledgment before sending the next frame. This ensures reliable delivery but can be slow.
Click to reveal answer
intermediate
What is the main disadvantage of Stop-and-Wait flow control?
It is inefficient for high-speed or long-distance networks because the sender must wait for an acknowledgment after each frame, causing delays.
Click to reveal answer
intermediate
Describe the Sliding Window flow control technique.
Sliding Window allows the sender to send multiple frames before needing an acknowledgment, using a 'window' size to control how many frames can be sent at once, improving efficiency.
Click to reveal answer
intermediate
How does the Sliding Window method improve over Stop-and-Wait?
Sliding Window increases data flow by allowing multiple frames to be sent without waiting for individual acknowledgments, reducing idle time and increasing throughput.
Click to reveal answer
What does the sender do in Stop-and-Wait flow control after sending a frame?
ASends all frames at once
BWaits for an acknowledgment before sending the next frame
CSends the next frame immediately
DSends a negative acknowledgment
Which flow control method allows sending multiple frames before receiving acknowledgments?
ASliding Window
BChecksum
CStop-and-Wait
DParity Check
Why is Stop-and-Wait inefficient for long-distance communication?
ABecause it sends too many frames at once
BBecause it uses too large a window size
CBecause it waits for acknowledgment after each frame, causing delays
DBecause it does not check for errors
In Sliding Window, what controls how many frames can be sent before acknowledgment?
ATimeout value
BFrame size
CPacket priority
DWindow size
Which of the following is a benefit of Sliding Window over Stop-and-Wait?
AHigher throughput
BLower memory usage
CSimpler implementation
DNo need for acknowledgments
Explain how Stop-and-Wait flow control works and mention one advantage and one disadvantage.
Think about sending one message at a time and waiting for a reply.
You got /4 concepts.
    Describe the Sliding Window flow control method and how it improves data transmission efficiency.
    Imagine sending several letters before waiting for a reply.
    You got /4 concepts.