Question 51
MediumWhat is Nagle's algorithm for?
- A.
Resolving names
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Computer Networks
What is Nagle's algorithm for?
Resolving names
Choosing routes
Combining many small writes into fewer segments to reduce overhead
Encrypting TCP
Sign up free to see the answer and a step-by-step explanation.
How is the TCP retransmission timeout (RTO) chosen?
It is always 1 second
From a smoothed estimate of the RTT and its variation
From the MSS
From the window size
Sign up free to see the answer and a step-by-step explanation.
Which TCP flag immediately aborts a connection?
SYN
PSH
FIN
RST
Sign up free to see the answer and a step-by-step explanation.
A UDP datagram is 520 bytes long including its header. How many bytes of application data does it carry?
512
508
500
520
Sign up free to see the answer and a step-by-step explanation.
A TCP sender's congestion window is 32 segments when a timeout occurs. Under classic TCP Tahoe, what happens next?
ssthresh becomes 16 and the window drops to 1 segment (slow start again)
Nothing changes
The window becomes 16 and grows linearly
The window doubles to 64
Sign up free to see the answer and a step-by-step explanation.
A TCP receiver advertises a window of 20 KB and the sender's congestion window is 12 KB. How much unacknowledged data can the sender have outstanding?
20 KB
8 KB
32 KB
12 KB
Sign up free to see the answer and a step-by-step explanation.
Which TCP state does the side that closes the connection first enter after the final ACK, waiting about 2 × MSL?
LISTEN
SYN_SENT
TIME_WAIT
CLOSE_WAIT
Sign up free to see the answer and a step-by-step explanation.
What triggers TCP fast retransmit?
The receiver window becoming zero
Three duplicate ACKs for the same segment
A single ACK
A connection reset
Sign up free to see the answer and a step-by-step explanation.
What is the maximum throughput of one TCP connection with a 64 KB window and a 100 ms round-trip time (without window scaling)?
About 640 kbps
About 64 Mbps
About 5.2 Mbps
About 52 Mbps
Sign up free to see the answer and a step-by-step explanation.
Why does QUIC (used by HTTP/3) run over UDP instead of TCP?
Because UDP is more reliable than TCP
Because UDP encrypts data
To implement its own reliable, multiplexed transport in user space without TCP's head-of-line blocking
Because TCP can't carry web traffic
Sign up free to see the answer and a step-by-step explanation.