CS FundamentalsModerateTCS NQT · Infosys pattern
A client's SYN carries initial sequence number 1000. After the handshake it sends one segment with 200 bytes of data. What sequence number does that segment carry, and what acknowledgement number does the server send back for it?
- A. Sequence 1000, ACK 1200
- B. Sequence 1001, ACK 1200
- C. Sequence 1000, ACK 1201
- D. Sequence 1001, ACK 1201
Correct answer: D. Sequence 1001, ACK 1201
The SYN consumes one sequence number, so the first data byte is 1001. The segment covers bytes 1001–1200, and TCP acknowledges the next byte it expects: 1201.
More Computer Networks questions
- Host A (192.168.1.10/24) sends a packet to 8.8.8.8 through its default gateway 192.168.1.1. Whose MAC address does A's ARP request ask for?
- How does traceroute learn the address of each router along the path?
- A router's table holds 10.0.0.0/8 → interface A, 10.1.0.0/16 → interface B, 10.1.128.0/17 → interface C and a default route → interface D…
- A token bucket has capacity 1 MB and fills at 2 MB/s; the output line can run at 10 MB/s. Starting with a full bucket, for how long can…
- A 3000 Hz telephone channel has a signal-to-noise ratio of 30 dB. What is its Shannon capacity, approximately?
- Which side of a TCP connection goes through the TIMEWAIT state, and for how long?