AP CSP Day 50: API Integration

Big Idea 4: Computing Systems & Networks
Cycle 2 • Day 50 Practice • Hard Difficulty
Focus: Internet Protocols

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.

Why This Answer?

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.

Why Not the Others?

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.

Common Mistake
Watch Out!

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.

AP Exam Tip

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
Back to blog

Leave a comment

Please note, comments need to be approved before they are published.