CS FundamentalsEasyTCS NQT · Infosys interview pattern

What are the minimum header sizes of a UDP datagram and a TCP segment?

  1. A. UDP 8 bytes, TCP 20 bytes
  2. B. UDP 20 bytes, TCP 20 bytes
  3. C. UDP 8 bytes, TCP 60 bytes
  4. D. UDP 4 bytes, TCP 20 bytes

Correct answer: A. UDP 8 bytes, TCP 20 bytes

UDP has a fixed 8-byte header (ports, length, checksum). TCP needs at least 20 bytes and up to 60 bytes with options. 60 bytes is TCP’s maximum, not minimum.

More Computer Networks questions

Exams that ask this topic