🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: TCP vs UDP: all 10 questions

Quiz: TCP vs UDP · Question 6 of 10

How big is a UDP header?

How big is a UDP header?

  1. A.4 bytes
  2. B.8 bytes
  3. C.20 bytes
  4. D.40 bytes
Answer & explanation

Correct answer: 8 bytes

UDP carries only ports, length and checksum, so its header is 8 bytes; TCP's is at least 20.

Can you get the rest right without peeking?

Take the timed Quiz: TCP vs UDP quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →