How data moves through the Internet (College Board AP® Computer Science Principles): Study Guide
Packet transmission
How is information sent through the Internet?
Information is passed through the Internet as a data stream
Data streams contain chunks of data, which are encapsulated in packets
Each packet contains a chunk of data plus metadata used for routing the packet between the origin and destination, and for data reassembly
The metadata includes information such as the source address, the destination address, and the order of the packet within the original data stream
How do packets travel across the Internet?
When a file or message is sent, it is broken into multiple packets that may each take a different path through the network
Packets may arrive at the destination in order, out of order, or not at all
At the destination, the packets are reassembled into the original data using the metadata included in each packet
If packets arrive out of order, the metadata allows them to be rearranged correctly
What protocols are used for packet transmission?
IP, TCP, and UDP are common protocols used on the Internet
These protocols define the rules for how packets are formatted, addressed, transmitted, and received
Examiner Tips and Tricks
The most commonly tested CED point on this topic is that packets may arrive in order, out of order, or not at all. Memorize this exact phrasing — questions often hinge on recognizing that "not at all" is a valid outcome.
Questions about packet transmission focus on the process (chunks of data → packets with metadata → multiple paths → reassembly at destination), not on the technical behavior of specific protocols. You don't need to memorize what TCP, UDP, or IP do individually.
For the AP Create Performance Task, when discussing how your program sends or receives data over the Internet in your written response, focus on the packet-based model — that data is broken into packets, sent through the network, and reassembled at the destination.
Worked Example
A user sends a large file from one computer to another over the Internet. Which of the following best describes how the file is transmitted?
(A) The file is sent as a single block of data along one fixed path
(B) The file is broken into packets that may take different paths and arrive in any order, then reassembled at the destination using metadata
(C) The file is encrypted and decrypted at every router along the path
(D) The file is duplicated and sent along every possible path simultaneously
[1]
Answer:
(B) The file is broken into packets that may take different paths and arrive in any order, then reassembled at the destination using metadata [1 mark]
When a file is sent over the Internet, it is broken into packets, each containing a chunk of data plus metadata used for routing and reassembly. Packets may arrive in order, out of order, or not at all — the metadata allows them to be reassembled correctly at the destination.
Unlock more, it's free!
Was this revision note helpful?