🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: TCP Connection in Detail: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. The client's ISN is 7000. What acknowledgement number does the server put in its SYN-ACK?
  2. Q2. A segment has sequence number 2171 and carries 500 bytes. What ACK will the receiver send if everything arrived?
  3. Q3. What does an acknowledgement number of 1201 mean?
  4. Q4. Why is a two-way handshake not enough for TCP?
  5. Q5. Which side of a connection enters TIMEWAIT?
  6. Q6. What is one purpose of TIMEWAIT?
  7. Q7. After the client's FIN is ACKed but before the server sends its FIN, the connection is:
  8. Q8. What does this print? (code)
  9. Q9. How long is a TCP header without options?
  10. Q10. How do SYN cookies defend against a SYN flood?