CS FundamentalsVery hardGATE CS
A client's SYN carries ISN = 4,294,967,000. After the handshake it sends a 500-byte segment and then an 800-byte segment. What is the sequence number of the 800-byte segment, and what acknowledgement number does the server send after receiving both?
- A. 204 and 1004
- B. 4294967501 and 4294968301
- C. 205 and 1004
- D. 205 and 1005
Correct answer: D. 205 and 1005
Data starts at ISN + 1 because the SYN consumes one number. The second segment starts at ISN + 501 = 4,294,967,501, which wraps modulo 2³² to 205; the ACK is ISN + 1301 mod 2³² = 1005.
More Computer Networks questions
- A Selective Repeat receiver uses 3-bit sequence numbers and a window of 4; it currently expects frames 6, 7, 0, 1 (6 is the next in-order…
- A (15, 11) Hamming code uses even parity with check bits at positions 1, 2, 4 and 8 (positions numbered 1–15 from the left). The word…
- A CRC uses the generator x³ + 1 (1001). Which of these error patterns (bits written from the highest power down) would go UNDETECTED?
- After its 4th consecutive collision on a frame, a 10 Mbps Ethernet station picks K uniformly from {0, …, 2⁴ − 1} and waits K slot times…
- An ISP holds 200.30.0.0/16 and allocates, in address order and without gaps: 32 customers with 512 addresses each, then 64 customers with…
- Which group of four consecutive /24 networks can be advertised as exactly one /22 with no extra address space?