CS FundamentalsVery hardGATE CS
A TCP sender's first data byte has sequence number 4,294,966,296 (that is, 2³² − 1000). It sends five 512-byte segments back to back. What is the sequence number of the third segment, and what ACK number acknowledges all five?
- A. 4294967320 and 4294968856
- B. 23 and 1559
- C. 536 and 1560
- D. 24 and 1560
Correct answer: D. 24 and 1560
The third segment starts 2 × 512 = 1024 bytes later: 2³² − 1000 + 1024 = 2³² + 24 → 24 after wrapping modulo 2³². All five cover 2560 bytes, so the ACK is 2³² − 1000 + 2560 = 1560 (mod 2³²). Sequence arithmetic must always be done modulo 2³².
More Computer Networks questions
- A host is configured as 172.31.200.77/21. What are the network address and the broadcast address of its subnet?
- The block 10.20.0.0/14 is used as one flat subnet. Which of these addresses can be assigned to a host in it?
- An organisation holds 150.20.0.0/16 and needs at least 50 subnets, each with at least 1000 usable host addresses, all of one size. Which…
- A router's table has 131.23.0.0/16 → A, 131.23.128.0/17 → B, 131.23.144.0/20 → C, 131.23.148.0/22 → D and a default route → E. Where does…
- An ISP wants to advertise the four customer networks 200.10.8.0/24, 200.10.9.0/24, 200.10.10.0/24 and 200.10.12.0/24 as a single CIDR…
- A firewall rule must match exactly the addresses 192.168.1.20 to 192.168.1.75 (inclusive) and nothing else, using CIDR blocks. What is the…