1. Home
  2. Explore
  3. Computer Science
  4. TCP Concepts Overview

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

TCP Concepts Overview

  • 22Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Handshake Basics
The primary purpose of the TCP three-way handshake is to establish a connection and synchronize
numbers between client and server.

22 questions

  1. 1
    The primary purpose of the TCP three-way handshake is to establish a connection and synchronize
    _____
    numbers between client and server.
    Hint

    Think about what numbers need to be agreed upon before data transfer can begin.

    Answer

    sequence

  2. 2
    The acronym SYN in the TCP handshake stands for
    _____
    .
    Hint

    It describes the action performed on sequence numbers.

    Answer

    synchronize

  3. 3
    The sequence number in a SYN packet is known as the
    _____
    number (ISN).
    Hint

    This is the starting point for counting data bytes in one direction.

    Answer

    initial sequence

  4. 4
    When Wireshark displays a sequence number as zero, it is called a
    _____
    sequence number.
    Hint

    This makes it easier for humans to read instead of the raw large number.

    Answer

    relative

  5. 5
    In the three-way handshake, the server acknowledges the client's SYN by sending a SYN-ACK with an acknowledgment number set to the client's ISN plus
    _____
    .
    Hint

    This accounts for the SYN flag itself consuming a byte (ghost byte).

    Answer

    one

  6. 6
    The third packet of the three-way handshake is an ACK that acknowledges the server's SYN by setting the acknowledgment number to the server's ISN plus
    _____
    .
    Hint

    The server's SYN also consumes a ghost byte.

    Answer

    one

  7. 7
    After the handshake, the sequence number increases by the number of
    _____
    sent in the TCP segment.
    Hint

    Think about what the TCP segment carries as payload.

    Answer

    bytes

  8. 8
    The acknowledgment number in a TCP segment indicates the next expected
    _____
    in the opposite direction.
    Hint

    It tells the sender what byte the receiver is expecting next.

    Answer

    sequence number

  9. 9
    An ACK packet that has a TCP segment length of zero is called an
    _____
    ACK.
    Hint

    It carries no data, only acknowledges.

    Answer

    empty

  10. 10
    In the TCP handshake, the only packet that does not have the ACK flag set is the first
    _____
    packet.
    Hint

    This packet carries no acknowledgment because it's the start of the connection.

    Answer

    SYN

  11. 11
    The five most commonly used TCP flags for analysis are: ACK, PUSH, RESET, SYN, and
    _____
    .
    Hint

    This flag is used to gracefully close a connection.

    Answer

    FIN

  12. 12
    The TCP window size field is
    _____
    bytes long, limiting the raw maximum value to 65535.
    Hint

    Count the bytes in the TCP header for this field.

    Answer

    two

  13. 13
    The window scale option allows the window size to be multiplied by a factor of 2 raised to the power of the
    _____
    value.
    Hint

    This value is specified in the option field.

    Answer

    shift count

  14. 14
    When Wireshark displays the calculated window size, it multiplies the window size by the
    _____
    factor exchanged in the handshake.
    Hint

    This option is only shared during SYN and SYN-ACK.

    Answer

    window scale

  15. 15
    A zero window occurs when the receiver's buffer is full, indicating that the sender must
    _____
    sending data until further notice.
    Hint

    Think about what happens when there's no room.

    Answer

    stop

  16. 16
    The TCP option that advertises the maximum payload size per segment is called
    _____
    (MSS).
    Hint

    This value is typically around 1460 bytes for Ethernet.

    Answer

    maximum segment size

  17. 17
    The TCP option that allows a receiver to acknowledge non-contiguous blocks of data is called
    _____
    (SACK).
    Hint

    It helps recover from multiple packet losses efficiently.

    Answer

    selective acknowledgment

  18. 18
    The TCP header length field is
    _____
    bits wide, limiting the maximum header size to 60 bytes.
    Hint

    This field indicates the header size in 32-bit words.

    Answer

    four

  19. 19
    The four tuple that uniquely identifies a TCP conversation consists of two IP addresses and two
    _____
    numbers.
    Hint

    These are the transport layer identifiers.

    Answer

    port

  20. 20
    The column in Wireshark that measures the time between packets is called
    _____
    time.
    Hint

    It shows the interval from one packet to the next.

    Answer

    delta

  21. 21
    Common starting TTL values in IP packets are 64, 128, and
    _____
    .
    Hint

    This is the maximum possible TTL value.

    Answer

    255

  22. 22
    If a server's SYN-ACK has a SYN bit set and an ACK bit set, the packet is commonly called a
    _____
    .
    Hint

    It combines two TCP flags.

    Answer

    SYN-ACK

1 of 22
Question 1 of 22

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent