When a computer sends a message to another computer over the Internet, which of the following is a possible outcome regarding the arrival of the message's packets?
Opening subject page...
Loading your content
AP Computer Science Principles Quiz
Practice The Internet in AP Computer Science Principles with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.
Question 1 / 20
0 of 20 answered
When a computer sends a message to another computer over the Internet, which of the following is a possible outcome regarding the arrival of the message's packets?
This quiz focuses on The Internet, giving you a quick way to practice the rules, question types, and explanations that matter most for AP Computer Science Principles.
Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.
When a computer sends a message to another computer over the Internet, which of the following is a possible outcome regarding the arrival of the message's packets?
Explanation: Due to the dynamic and decentralized nature of Internet routing, packets may take different paths of varying lengths and speeds. This can cause them to arrive out of order, and network congestion or errors can cause some packets to be lost entirely. (CSN-1.C.3)
In a computer network, what is the most accurate definition of a 'path' between two computers?
Explanation: A path in a network is the sequence of intermediate devices (like routers) and connections that data traverses to get from the source device to the destination device. It is not necessarily a single physical cable. (CSN-1.A.5)
When a packet of data travels across the Internet, it is passed from one computing device to another until it reaches its destination. What is the process of determining the path a packet takes from sender to receiver called?
Explanation: Routing is the process of finding a path from a sender to a receiver. Devices called routers examine packet metadata, such as the destination IP address, to decide where to forward the packet next. (CSN-1.A.6)
A user is watching a live video stream, but the connection is slow. The video player decides to lower the video quality to ensure the stream can continue without interruption. This decision is based on the current data transfer rate. What network characteristic is being measured to make this adjustment?
Explanation: Bandwidth refers to the maximum rate of data transfer across a network. When streaming video, if the available bandwidth is insufficient for high-quality video, the application may reduce the video's data rate (lower its quality) to match the available bandwidth and prevent buffering. (CSN-1.A.7)
Which of the following statements most accurately describes the relationship between the Internet and the World Wide Web (WWW)?
Explanation: The Internet is the global network of interconnected computers. The World Wide Web is a system of linked documents, images, and other resources that uses the Internet to be transmitted. The WWW is an application that runs on the Internet. (CSN-1.D)
When a large file is sent from one computer to another over the Internet, it is broken down into smaller pieces of data. Which of the following best describes these smaller pieces and their contents?
Explanation: The correct term for the smaller pieces of data is packets. Each packet contains a portion (or chunk) of the overall data, as well as metadata (like the destination IP address and sequence number) that is used by routers to direct the packet and by the destination computer to reassemble the file. (CSN-1.C.1, CSN-1.C.2)
The Internet uses protocols, such as TCP/IP, that are open and nonproprietary. What is the primary benefit of this design choice?
Explanation: The use of open protocols means that the rules for communication are publicly available. This allows any manufacturer to create hardware or software that is compatible with the Internet, fostering innovation and enabling the interconnection of diverse systems. (CSN-1.B.4)
A video is being streamed from a server to a user's device. The video data is encapsulated in packets for transmission. Which of the following best describes the information that is passed through the Internet during this process?
Explanation: Information, especially large files like videos, is passed through the Internet as a data stream. This stream consists of chunks of data, which are then placed into individual packets for transmission and reassembly. (CSN-1.C.1)
According to the text’s packet journey, why might packets arrive out of order, yet the message still succeeds?
Explanation: This question tests AP Computer Science Principles understanding of Internet concepts, specifically packet ordering and TCP's role in ensuring data integrity. In packet-switched networks, packets may take different routes and arrive out of order due to varying network conditions, but TCP includes sequence numbers that allow the receiving system to reassemble packets in the correct order regardless of arrival sequence. According to the text's packet journey description, this design allows for flexible routing while maintaining data integrity through TCP's sequencing and reassembly mechanisms. Choice A is correct because it accurately explains that packet switching allows different routes (causing potential out-of-order arrival) and TCP reorders data using sequence information, which is how the Internet maintains message integrity despite dynamic routing. Choice B incorrectly attributes ordering to HTTP; Choice C misunderstands encryption's purpose; and Choice D presents an impractical scenario about ISP behavior. Students should understand that the Internet's design separates routing flexibility (IP layer) from reliability guarantees (TCP layer), allowing both efficiency and accuracy. Practice analyzing how different protocol layers solve different aspects of the communication challenge.
According to the text, what cybersecurity measure best matches a firewall’s role on a home or school network?
Explanation: This question tests AP Computer Science Principles understanding of Internet concepts, specifically firewall functionality in cybersecurity. A firewall is a network security device that monitors and controls incoming and outgoing network traffic based on predetermined security rules, acting as a barrier between trusted internal networks and untrusted external networks. According to the text's description of cybersecurity measures, a firewall's role is to filter network traffic by examining packets and deciding whether to allow or block them based on configured rules. Choice B is correct because it accurately describes a firewall as filtering incoming and outgoing traffic using rules, allowing some connections and blocking others, which is the fundamental operation of firewall technology. Choice A describes encryption, not firewalls; Choice C describes DNS functionality; and Choice D makes unrealistic claims about network performance. Students should understand that firewalls provide access control and traffic filtering, distinct from other security measures like encryption or authentication. Practice differentiating between various cybersecurity tools and understanding how each contributes to a comprehensive security strategy.
For two computing devices to communicate with each other over the Internet, they must follow a set of agreed-upon rules for how data is formatted and transmitted. What is the term for this set of rules?
Explanation: A protocol is an agreed-upon set of rules that specify the behavior of a system. In networking, protocols like TCP/IP define how data is formatted, addressed, transmitted, routed, and received. (CSN-1.B.3)
The Internet has grown from a small academic network to a global system connecting billions of devices without requiring a complete overhaul of its core design. Which characteristic is most responsible for this ability to grow?
Explanation: Scalability is the capacity for a system to change in size and scale to meet new demands. The Internet was designed to be scalable, allowing new networks and devices to be added easily through the use of standardized protocols and a hierarchical structure. (CSN-1.B.6, CSN-1.B.7)
A user sends an email with a large attachment to a friend. The email is broken into 10 packets. It is observed that packet 1 travels through routers A, B, and C, while packet 2 travels through routers A, D, and C. Which principle of Internet architecture does this scenario best illustrate?
Explanation: Routing on the Internet is dynamic, meaning it is not specified in advance. The path for data is determined in real-time based on network conditions, so different packets in the same message can take different routes to the same destination. (CSN-1.B.5)
A user is choosing between two Internet service plans. Plan X has a bandwidth of 100 megabits per second, and Plan Y has a bandwidth of 500 megabits per second. What does the bandwidth of a network primarily measure?
Explanation: Bandwidth is the maximum amount of data that can be sent in a fixed amount of time, typically measured in bits per second. A higher bandwidth means more data can be transferred in the same amount of time. (CSN-1.A.7, CSN-1.A.8)
Which of the following statements best distinguishes between a computing device, a computer network, and a computing system?
Explanation: A computing device is a physical artifact that can run a program (e.g., a laptop or smartphone). A computer network is a group of these devices interconnected to send/receive data. A computing system is a group of devices and programs working together for a purpose, with a network being one type of system. (CSN-1.A.1, CSN-1.A.2, CSN-1.A.3)
The Internet is built on a suite of protocols, often referred to as TCP/IP. While the Internet Protocol (IP) is responsible for addressing and routing packets, what is a primary function of the Transmission Control Protocol (TCP)?
www.example.com into numerical IP addresses.Explanation: TCP is a protocol that works with IP to provide reliable, ordered, and error-checked delivery of a stream of data. It handles sequencing the packets correctly and managing the retransmission of any packets that get lost during transit. (CSN-1.C.4)
When a user accesses a website, their browser uses the Hypertext Transfer Protocol (HTTP). What is the primary role of HTTP in this context?
Explanation: HTTP is the application-layer protocol that forms the foundation of data communication for the World Wide Web. Web browsers act as HTTP clients, and web servers act as HTTP servers, exchanging requests and responses to deliver web content. (CSN-1.D.2)
Which of the following terms refers to a physical object that can run a program, such as a server, router, or tablet?
Explanation: A computing device is a physical artifact that can run a program. Examples include computers, tablets, servers, routers, and smart sensors. A system includes devices and programs working together, a protocol is a set of rules, and a program is software. (CSN-1.A.1)
Which of the following is an example of the World Wide Web using the Internet?
Explanation: The World Wide Web is a system of information that uses the Internet's infrastructure. Sending an HTTP request to get a webpage is a classic example of a WWW application (the browser) using the Internet's protocols (like TCP/IP) to function. (CSN-1.D.3)
A school's computer network is a collection of interconnected desktops, laptops, and servers used by students and staff. This network is, in turn, connected to the global Internet. Based on this, which statement is most accurate?
Explanation: The Internet is defined as a network of interconnected networks. The school's local network is one of these many networks that, when connected to others, forms part of the global Internet. (CSN-1.B.1)