CS FundamentalsVery hardGATE CS · networking placement
An NTP client sends a request at t1 = 100 ms (client clock); the server receives it at t2 = 150 ms and replies at t3 = 152 ms (server clock); the reply arrives at t4 = 120 ms (client clock). What are the clock offset (server minus client) and the round-trip delay?
- A. Offset 50 ms, delay 20 ms
- B. Offset 41 ms, delay 20 ms
- C. Offset 41 ms, delay 18 ms
- D. Offset 32 ms, delay 18 ms
Correct answer: C. Offset 41 ms, delay 18 ms
θ = ((t2 − t1) + (t3 − t4)) / 2 = (50 + 32) / 2 = 41 ms and δ = (t4 − t1) − (t3 − t2) = 20 − 2 = 18 ms. Using t4 − t1 alone for the delay forgets the server's 2 ms of processing.
More Computer Networks questions
- An IPv6-only phone uses DNS64 and NAT64 with the well-known prefix 64:ff9b::/96 to reach an IPv4-only server at 192.0.2.33. What AAAA…
- Which split of the 16-bit port space matches IANA's registry?
- A switch port is set to 100 Mbps full duplex, but the attached server auto-negotiates and falls back to half duplex. Under load, what is…
- A router's output queue uses RED instead of drop-tail. What problem does RED mainly address?
- An 802.11 station uses CWmin = 15, doubling the contention window (as 2ᵏ(CWmin + 1) − 1) after each failed attempt, with a 9 µs slot…
- An alternating-bit (stop-and-wait) sender sets its timeout to 0.75 × RTT by mistake; there is no loss. What happens?