0
0
Computer Networksknowledge~5 mins

Three-way handshake in Computer Networks - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the purpose of the three-way handshake in networking?
The three-way handshake is used to establish a reliable connection between two devices before data transfer begins. It ensures both sides are ready and agree on communication parameters.
Click to reveal answer
beginner
Name the three steps involved in the three-way handshake.
1. SYN: The client sends a synchronization request.<br>2. SYN-ACK: The server acknowledges and sends its own synchronization.<br>3. ACK: The client acknowledges the server's response, completing the connection setup.
Click to reveal answer
intermediate
Why is the three-way handshake important for TCP connections?
It helps synchronize sequence numbers and confirms both devices are ready, which prevents data loss and ensures reliable communication.
Click to reveal answer
intermediate
What could happen if the three-way handshake is skipped?
Skipping the handshake can cause data to be sent before the connection is ready, leading to lost or corrupted data and unreliable communication.
Click to reveal answer
beginner
In the three-way handshake, what does SYN and ACK stand for?
SYN stands for Synchronize, which is a request to start communication.<br>ACK stands for Acknowledgment, which confirms receipt of a message.
Click to reveal answer
What is the first message sent in the three-way handshake?
ASYN-ACK
BACK
CSYN
DFIN
What does the server send in response to the client's SYN message?
AACK
BSYN
CFIN
DSYN-ACK
Which protocol commonly uses the three-way handshake?
ATCP
BIP
CUDP
DHTTP
What is the main goal of the three-way handshake?
ATo establish a reliable connection
BTo send data
CTo close a connection
DTo encrypt data
What happens after the client sends the final ACK in the handshake?
AConnection is closed
BConnection is established and data transfer begins
CServer sends FIN
DClient waits for timeout
Explain the three steps of the three-way handshake and why each step is necessary.
Think about how two devices agree to communicate reliably.
You got /5 concepts.
    Describe what could go wrong if the three-way handshake did not happen before data transfer.
    Consider what happens if devices start talking without agreeing first.
    You got /4 concepts.