The Internet - AP Computer Science Principles

  1. 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?
    Answer: They are called packets, each containing a portion of the data to be transmitted and metadata for routing. 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)
  2. What is the primary purpose of including metadata, such as a destination address and a sequence number, within each data packet transmitted over the Internet?
    Answer: To provide information for routing the packet to the correct destination and reassembling the message in the correct order. Packet metadata contains crucial information for the functioning of the network. The destination address is used by routers to forward the packet, and the sequence number is used by the receiving computer to reassemble the packets of a message in their original order. (CSN-1.C.2)
  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?
    Answer: The Internet is a computer network consisting of many interconnected networks, including the school's network. 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)
  4. 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?
    Answer: A protocol 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)
  5. 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?
    Answer: Packets may arrive out of order, arrive in order, or some packets may not arrive at all. 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)
  6. 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?
    Answer: Scalability 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)
  7. The Internet uses protocols, such as TCP/IP, that are open and nonproprietary. What is the primary benefit of this design choice?
    Answer: It allows devices and networks created by different manufacturers to connect and communicate with each other. 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)
  8. Which of the following scenarios best demonstrates the concept of network routing?
    Answer: A computer sends a packet to a local router, which then forwards the packet to another router closer to the destination. Routing is the process of finding a path and forwarding data along that path from a source to a destination. A router's core function is to receive an incoming packet and forward it to the next appropriate router on the path to its final destination. (CSN-1.A.6)
  9. In a computer network, what is the most accurate definition of a 'path' between two computers?
    Answer: A sequence of directly connected computing devices that begins at the sender and ends at the receiver. 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)
  10. 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?
    Answer: The maximum amount of data that can be sent in a fixed amount of time. 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)
  11. Which of the following statements most accurately describes the relationship between the Internet and the World Wide Web (WWW)?
    Answer: The World Wide Web is a system for accessing information that is built on top of the Internet's network infrastructure. 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)
  12. Which of the following terms refers to a physical object that can run a program, such as a server, router, or tablet?
    Answer: A computing device 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)
  13. Which of the following is an example of the World Wide Web using the Internet?
    Answer: A user's web browser sends an HTTP request to a server to retrieve a webpage. 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)
  14. Which of the following statements best distinguishes between a computing device, a computer network, and a computing system?
    Answer: A computing device is a physical object like a laptop, a network connects them, and a system is the group working together. 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)
  15. 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?
    Answer: Bandwidth 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)
  16. 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?
    Answer: A data stream, which contains chunks of the video data encapsulated in a sequence of packets. 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)
  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?
    Answer: It is a protocol used by the World Wide Web to request and deliver web pages and other resources. 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)
  18. 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)?
    Answer: Managing the reassembly of packets into their original order at the destination and requesting retransmission of lost packets. 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)
  19. 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?
    Answer: Routing 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)
  20. 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?
    Answer: The routing of data on the Internet is dynamic, and different packets may take different paths. 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)

Start this quiz