CS FundamentalsVery hardGATE CS

A TCP header begins (hex): 01 BB C3 50 00 00 00 00 7A 3F 10 01 50 12 FA F0. Which statement is correct?

  1. A. It is a SYN-ACK from port 443 to port 50000, acknowledging 0x7A3F1001
  2. B. It is a SYN from port 50000 to port 443
  3. C. It is a SYN-ACK from port 443 to port 50000 with a 40-byte header
  4. D. It is a FIN-ACK from port 443 to port 50000

Correct answer: A. It is a SYN-ACK from port 443 to port 50000, acknowledging 0x7A3F1001

Source port 0x01BB = 443, destination 0xC350 = 50000. Byte 12 = 0x50 gives data offset 5 (20-byte header); byte 13 = 0x12 sets ACK (0x10) and SYN (0x02). The ACK field 0x7A3F1001 is meaningful because ACK is set; FIN would be 0x01.

More Computer Networks questions

Exams that ask this topic