CS FundamentalsModerateTCS NQT · Infosys interview pattern
What is the shortest valid form of the IPv6 address 2001:0db8:0000:0000:0000:ff00:0042:8329?
- A. 2001:db8::ff:42:8329
- B. 2001:db8::ff00:42:8329
- C. 2001:db8:0:0:0:ff00:42:8329:
- D. 2001:db8::ff00::42:8329
Correct answer: B. 2001:db8::ff00:42:8329
Drop leading zeros in each group (0db8 → db8, 0042 → 42) and replace the single longest run of zero groups with ::. “ff00” keeps its trailing zeros; :: may appear only once, so the last option is invalid.
More Computer Networks questions
- Starting from 172.16.32.0/23, subnets are allocated largest first, each at the next aligned boundary, for LANs needing 200, 100 and 50…
- A web server listens on TCP port 443. Three browsers on the same client machine connect to it at the same time. How does the server’s…
- A TCP sender has cwnd = 12 KB. The receiver last advertised a window of 8 KB, and 3 KB of data is already sent but not yet acknowledged…
- For the host 200.1.1.100/28, what are the first and last usable host addresses of its subnet?
- A TCP Reno sender starts transmission round 1 with cwnd = 1 MSS and ssthresh = 32 MSS. In slow start cwnd doubles every round but is never…
- A TCP sender must deliver a file of exactly 100 segments. It starts with cwnd = 1 segment and ssthresh = 8 segments; cwnd doubles per…