AP CSP Day 50: API Integration
Share
Practice Question
A user types a URL into their browser. Which of the following correctly describes the sequence of events that occurs?
I. DNS converts the domain name into an IP address.
II. A TCP connection is established with the web server.
III. The server sends the requested page data back in packets.
The correct sequence is: (1) DNS lookup translates the domain name to an IP address so the browser knows where to connect. (2) TCP establishes a reliable connection with the server at that IP address. (3) The server sends the requested HTML data back through the established connection.
D) A TCP connection cannot be established without first knowing the server's IP address (which DNS provides). C) Data cannot be sent before a connection exists. B) These steps are sequential and depend on each other — they cannot happen simultaneously.
Students may think TCP establishes a connection before DNS resolves the domain, or they may not recognize the dependency chain: domain name → IP address → connection → data transfer.
The Internet communication sequence follows a logical dependency: you need an address (DNS) before you can connect (TCP), and you need a connection before you can transfer data.
Keep Practicing!
Consistent daily practice is the key to AP CSP success.
AP CSP Resources Get 1-on-1 Help