Multiple choice

In TCP checksum, ___ field is used for error detection.

  1. 32 bits

  2. 16 bits

  3. 4 bits

  4. 6 bits

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The checksum field is the 16 bit one's complement sum of all 16 bit words in the header and text. If a segment contains an odd number of header and text octets to be checksummed, the last octet is padded on the right with zeros to form a 16 bit word for checksum purposes. The source port and destination port also have 16 bits.