Home

Tutoring

Subjects

Live Classes

Study Coach

Essay Review

On-Demand Courses

Colleges

Games


Sign up

Log in

Opening subject page...

Loading your content

Practice

  • All Subjects
  • Algebra Flashcards
  • SAT Math Practice Tests
  • Math Question of the Day
  • Live Classes
  • On-Demand Courses

Varsity Tutors

  • Find a Tutor
  • Test Prep
  • Online Classes
  • K-12 Learning
  • College Search
  • VarsityTutors.com

© 2026 Varsity Tutors. All rights reserved.

← Back to quizzes

AP Computer Science Principles Quiz

AP Computer Science Principles Quiz: The Internet

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?

Select an answer to continue

What this quiz covers

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.

How to use this quiz

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.

All questions

Question 1

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?

  1. All packets are guaranteed to arrive, and they will always arrive in the order they were sent.
  2. Packets may arrive out of order, arrive in order, or some packets may not arrive at all. (correct answer)
  3. All packets from a single message are combined into one larger packet before transmission to ensure they arrive together.
  4. Packets are held at each router until all previous packets from the same message have passed through.

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)

Question 2

In a computer network, what is the most accurate definition of a 'path' between two computers?

  1. The amount of time it takes for data to travel from the sender to the receiver.
  2. The software application, such as an email client or web browser, used to send the data.
  3. A sequence of directly connected computing devices that begins at the sender and ends at the receiver. (correct answer)
  4. A single, unbroken physical connection, like a fiber-optic cable, between the 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)

Question 3

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?

  1. Broadcasting
  2. Encrypting
  3. Routing (correct answer)
  4. Compressing

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)

Question 4

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?

  1. Path
  2. Bandwidth (correct answer)
  3. Protocol
  4. Scalability

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)

Question 5

Which of the following statements most accurately describes the relationship between the Internet and the World Wide Web (WWW)?

  1. The Internet and the World Wide Web are two different names for the exact same system of interconnected computers.
  2. The Internet is a system of linked pages and files, while the World Wide Web is the physical network that carries the data.
  3. The World Wide Web is a system for accessing information that is built on top of the Internet's network infrastructure. (correct answer)
  4. The World Wide Web is an older, text-based system that was replaced by the modern, graphical Internet.

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)

Question 6

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?

  1. They are called packets, each containing a portion of the data to be transmitted and metadata for routing. (correct answer)
  2. They are called bits, each representing a single binary digit that is sent independently to the destination.
  3. They are called streams, each containing the entire file's data but sent through different network paths.
  4. They are called segments, each containing only metadata that establishes a direct connection before data is sent.

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)

Question 7

The Internet uses protocols, such as TCP/IP, that are open and nonproprietary. What is the primary benefit of this design choice?

  1. It prevents any single government or corporation from owning or controlling the entire Internet.
  2. It allows devices and networks created by different manufacturers to connect and communicate with each other. (correct answer)
  3. It guarantees that all data transmitted over the Internet is automatically encrypted and secure from interception.
  4. It ensures that all users experience the same connection speed regardless of their location or service provider.

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)

Question 8

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?

  1. A single, large packet containing the entire video file and routing information.
  2. A data protocol that contains the software needed to play the video on the user's device.
  3. A data server which is a copy of the original server temporarily created on the user's device.
  4. A data stream, which contains chunks of the video data encapsulated in a sequence of packets. (correct answer)

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)

Question 9

According to the text’s packet journey, why might packets arrive out of order, yet the message still succeeds?

  1. Packet switching allows different routes, and TCP reorders data using sequence information. (correct answer)
  2. HTTP forces packets to arrive alphabetically, preventing any rearrangement errors.
  3. Encryption duplicates packets randomly, so order becomes irrelevant to meaning.
  4. ISPs store packets until all networks worldwide are completely uncongested.

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.

Question 10

According to the text, what cybersecurity measure best matches a firewall’s role on a home or school network?

  1. It scrambles messages into ciphertext so eavesdroppers cannot read them.
  2. It filters incoming and outgoing traffic using rules, allowing some connections and blocking others. (correct answer)
  3. It assigns IP addresses by translating domain names into numbers.
  4. It guarantees every packet arrives instantly by removing congestion from networks.

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.

Question 11

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?

  1. An algorithm
  2. A protocol (correct answer)
  3. A bandwidth
  4. A data path

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)

Question 12

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?

  1. Scalability (correct answer)
  2. High bandwidth
  3. Centralized control
  4. Data encryption

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)

Question 13

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?

  1. The routing of data on the Internet is dynamic, and different packets may take different paths. (correct answer)
  2. The Internet requires all packets from a single message to follow the same, predetermined path.
  3. The Internet prioritizes smaller packets, sending them through faster, more direct routers.
  4. The bandwidth of the connection determines the number of routers a packet must pass through.

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)

Question 14

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?

  1. The maximum amount of data that can be sent in a fixed amount of time. (correct answer)
  2. The average time it takes for a single bit of data to reach its destination.
  3. The number of devices that can be connected to the network simultaneously.
  4. The strength of the encryption used to secure data on the network.

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)

Question 15

Which of the following statements best distinguishes between a computing device, a computer network, and a computing system?

  1. A computing device is software, a network is hardware, and a system is a combination of both.
  2. A computing device is a physical object like a laptop, a network connects them, and a system is the group working together. (correct answer)
  3. A computing system is a single computer, a network is the Internet, and a computing device is a peripheral like a printer.
  4. A computer network is another term for the Internet, a computing system refers to a server, and a device is a tablet.

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)

Question 16

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)?

  1. Converting human-readable domain names like www.example.com into numerical IP addresses.
  2. Managing the reassembly of packets into their original order at the destination and requesting retransmission of lost packets. (correct answer)
  3. Defining the electrical signals and physical connections used by network hardware like cables and routers.
  4. Determining the single best physical path that all packets for a message will follow from source to destination.

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)

Question 17

When a user accesses a website, their browser uses the Hypertext Transfer Protocol (HTTP). What is the primary role of HTTP in this context?

  1. It is a protocol used by the World Wide Web to request and deliver web pages and other resources. (correct answer)
  2. It is a protocol that assigns a unique, permanent address to the user's computer on the Internet.
  3. It is a protocol that encrypts all network traffic to ensure privacy and security for the user.
  4. It is a protocol that manages the physical transmission of data over network cables or wireless signals.

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)

Question 18

Which of the following terms refers to a physical object that can run a program, such as a server, router, or tablet?

  1. A computing device (correct answer)
  2. A computing system
  3. A computer protocol
  4. A computer program

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)

Question 19

Which of the following is an example of the World Wide Web using the Internet?

  1. A user connects a computer to a local network using an Ethernet cable.
  2. A user's web browser sends an HTTP request to a server to retrieve a webpage. (correct answer)
  3. Two routers exchange information to determine the best path for data packets.
  4. An Internet Service Provider (ISP) assigns a new IP address to a customer's modem.

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)

Question 20

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?

  1. The school's network is a computing system, and the Internet is a separate, unrelated computing system.
  2. The school's network is a computing device that is part of the larger computing system known as the Internet.
  3. The Internet is a computer network consisting of many interconnected networks, including the school's network. (correct answer)
  4. The school's network and the Internet are both computing devices that follow the same set of protocols.

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)