0
0
Computer Networksknowledge~10 mins

TCP flow control (sliding window) in Computer Networks - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the sentence to describe the purpose of TCP flow control.

Computer Networks
TCP flow control uses a [1] to manage the amount of data sent before receiving an acknowledgment.
Drag options to blanks, or click blank then click option'
Achecksum
Brouting table
Csliding window
DIP address
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing flow control with error checking methods like checksum.
Thinking routing tables are involved in flow control.
2fill in blank
medium

Complete the sentence to explain what the window size represents in TCP flow control.

Computer Networks
The window size in TCP flow control represents the [1] of data the sender can transmit without waiting for an acknowledgment.
Drag options to blanks, or click blank then click option'
Amaximum amount
Bminimum amount
Caverage amount
Dtotal amount
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing maximum with minimum or average.
Thinking the window size is the total data to be sent.
3fill in blank
hard

Fix the error in the statement about sliding window movement.

Computer Networks
The sliding window moves forward when the sender receives a [1] from the receiver.
Drag options to blanks, or click blank then click option'
Anegative acknowledgment
Bpositive acknowledgment
Ctimeout
Dreset signal
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking the window moves on timeout or negative acknowledgment.
Confusing reset signals with acknowledgments.
4fill in blank
hard

Fill both blanks to complete the explanation of how the sliding window adjusts.

Computer Networks
The sender adjusts the window size based on the [1] value sent by the receiver and [2] network conditions.
Drag options to blanks, or click blank then click option'
Aadvertised window
Bpacket loss
Ccongestion
Dtimeout
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up advertised window with timeout or packet loss.
Ignoring network congestion effects.
5fill in blank
hard

Fill all three blanks to complete the dictionary comprehension representing TCP window updates.

Computer Networks
window_updates = [1]: [2] for [3] in packets if packets[[3]] > 0
Drag options to blanks, or click blank then click option'
Aseq_num
Bwindow_size
Dpacket
Attempts:
3 left
💡 Hint
Common Mistakes
Using packet as key instead of sequence number.
Not filtering packets with positive size.