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?
- A. It is a SYN-ACK from port 443 to port 50000, acknowledging 0x7A3F1001
- B. It is a SYN from port 50000 to port 443
- C. It is a SYN-ACK from port 443 to port 50000 with a 40-byte header
- 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
- A 2024-byte IPv4 datagram has a 24-byte header (4 bytes of options that are copied into every fragment). It must cross a link with MTU…
- Stop-and-wait with 1-bit sequence numbers: the receiver gets frame 0 and its ACK is lost. What happens next?
- Go-Back-N with cumulative ACKs sends frames 0–9 with a window of 5. Only the ACK for frame 2 is lost; every frame and every other ACK…
- A 10 Gbps path has an RTT of 100 ms. With 1500-byte frames, at least how many frames must be outstanding to keep it fully busy?
- A client downloads a 64 KB file (MSS = 1 KB, so 64 segments) over a fast link with RTT = 100 ms. TCP starts with cwnd = 1 MSS, slow start…
- A TCP sender has cwnd = 20 MSS but the receiver's window is only 12 MSS, so 12 segments are in flight when a retransmission timeout…