AP Computer Science Principles · Study guide

Big Idea 4: Internet, Networks, Protocols & URLs

Big Idea 4 · Computer Systems & Networks · Part 1 of 3

Internet, Networks,
Protocols & URLs

What the Internet actually is, how networks stay fault-tolerant, the protocols that make it all work, and what every part of a URL means.

§1 What Big Idea 4 Covers

Big Idea 4 (CSN) is about how computers talk to each other and how work gets divided among them. It accounts for 11–15% of the exam and tests three clusters:

  • The Internet — what it is, how data moves, why it's fault-tolerant.
  • Protocols — the open, standardized rules that let any device join.
  • Parallel and distributed computing — splitting work across processors or devices.

Part 1 covers the Internet, networks, protocols, and URLs. Part 2 covers packets, routing, and a full Netflix streaming scenario. Part 3 covers parallel computing.

§2 The Internet vs. the World Wide Web

These are not the same thing.

The InternetThe World Wide Web
What it isA global network of interconnected networksA system of linked documents and resources
LayerHardware + protocols (infrastructure)An application that runs on top of the Internet
ExamplesCables, routers, Wi-Fi, TCP/IPWebsites, hyperlinks, browsers, HTTP
Common pitfall

"Internet" and "Web" are not interchangeable. Email, video calls, and online games use the Internet but are not part of the Web. The Web is one of many services that run over the Internet.

§3 Network Fundamentals

3.1 Bandwidth

Bandwidth is the maximum amount of data a connection can transmit per unit time (e.g., bits per second). Higher bandwidth = more data per second, not faster individual bits.

Key rule

Bandwidth does not improve security, reduce errors, fix routing, or prevent interception. It only increases how much data can flow per unit time. If an answer claims bandwidth solves any of these, it's wrong.

3.2 Latency

Latency is the delay between when data is sent and when it arrives. Bandwidth and latency measure different things:

  • Bandwidth = how much data can flow per second (width of a pipe).
  • Latency = how long a single piece of data takes to arrive (length of the pipe).

A connection can have high bandwidth but high latency, or vice versa. For a video call, low latency is essential. For downloading a big file, high bandwidth matters more.

3.3 Redundancy and Fault Tolerance

Redundancy means having multiple paths between devices. A network is fault-tolerant if it continues working when some connections or devices fail.

More independent paths = more fault-tolerant. Mesh > ring > star > linear.

3.4 Scalability & Moore's Law

The Internet is scalable: it keeps working as more devices join. This works because protocols are open and decentralized.

Moore's Law is the observation that the number of transistors on a chip roughly doubles every two years, leading to exponential growth in computing power at roughly constant cost. It's an empirical trend, not a physical law, and it helped explain why computing devices became dramatically faster, smaller, and cheaper — fueling the growth of the Internet.

Exam note

Moore's Law has appeared on the exam despite not being in the official curriculum. It explains why computing power has grown quickly — not network speed, bandwidth, or storage.

§4 Protocols and Open Standards

A protocol is an agreed-upon set of rules for how devices exchange data.

ProtocolWhat it does
IPAssigns addresses to devices; routes packets between networks
TCPBreaks data into packets, guarantees delivery, reassembles in order
UDPFaster alternative to TCP; no delivery guarantee (streaming, games)
HTTP / HTTPSProtocol for requesting and sending web pages (S = secure/encrypted)
DNSTranslates domain names (google.com) into IP addresses
Common pitfall

Open standards do not make the network secure. Security comes from encryption (HTTPS, public-key). Openness enables interoperability and scaling — separate from security.

4.1 IPv4 vs. IPv6

IPv4 uses 32-bit addresses (2³² ≈ 4.3 billion — not enough). IPv6 uses 128-bit addresses (2¹²⁸ — practically unlimited). The switch was needed to scale the Internet.

§5 URL Structure

A URL (Uniform Resource Locator) is the address for a specific page on the Web. Each part has a meaning:

https://blog.example.com/articles/2024/tips.html

PartExampleWhat it means
Protocolhttps://Communication method (HTTPS = encrypted)
Subdomainblog.Optional prefix identifying a section of the site
Domain nameexampleMain name of the website (what DNS translates to an IP)
Top-level domain.comSuffix: .com, .org, .edu, .gov, .net, country codes (.uk, .kr)
Path / subpage/articles/2024/tips.htmlSpecific page or resource on the server

§6 Key Terms

TermDefinition
BandwidthMaximum data per unit time a connection can carry
DNSTranslates domain names to IP addresses
Fault toleranceA network's ability to keep working when parts fail
LatencyDelay between sending and receiving data
Open standardA protocol whose specification is public and free to use
ProtocolAgreed-upon rules for how devices communicate
RedundancyMultiple paths enabling fault tolerance
ScalabilityAbility of a system to keep working as it grows

§7 Self-Check

  1. What is the difference between the Internet and the World Wide Web?
  2. A network has 6 devices in a ring. If one connection fails, can all devices still communicate? What about two non-adjacent failures?
  3. True or false: increasing bandwidth makes a network more secure.
  4. What is the difference between bandwidth and latency?
Show Answers
  1. The Internet is the global network of interconnected networks (infrastructure). The Web is a system of linked documents accessed over the Internet (one of many services).
  2. One failure: yes — messages travel the other way around. Two non-adjacent failures: the ring splits, so some pairs can't communicate.
  3. False. Bandwidth only affects data throughput. Security comes from encryption.
  4. Bandwidth = how much data per second (pipe width). Latency = how long it takes to arrive (pipe length). High bandwidth doesn't mean low latency.