CS FundamentalsHardGATE CS · Product company CS fundamentals
Which statement about TCP's three-way handshake is correct?
- A. It negotiates the encryption keys for the connection
- B. It agrees on both initial sequence numbers; each SYN uses up one sequence number
- C. Only the client chooses an initial sequence number; the server reuses it
- D. The third segment (ACK) can never carry data
Correct answer: B. It agrees on both initial sequence numbers; each SYN uses up one sequence number
Each side picks a random ISN and the other acknowledges ISN + 1, so both directions agree on where the byte stream starts. The final ACK MAY carry data. Encryption is TLS's job.
More Computer Networks questions
- Two stations 2.5 km apart share a 10 Mbps bus (signals at 2 × 10⁸ m/s). What is the 'a' parameter (propagation time / transmission time)…
- Which statement about switches with VLAN trunks is correct?
- A server sends to a client over a 100 Mbps path with RTT 200 ms. The client's receive buffer is 64 KB and window scaling is unavailable…
- Ten stations use slotted ALOHA, each transmitting in a slot with probability 0.1. What is the probability that a slot is wasted (idle or…
- Host A's IP is 192.168.1.10/24 with gateway 192.168.1.1, but A is misconfigured with mask 255.255.0.0. What happens when A sends to…
- A router receives an IPv4 packet whose destination matches no route and there is no default route. What does it do?