Unit 4: Computer Systems and Networks

AP Computer Science Principles: 48 practice questions with detailed explanations.

Unit Study Guide

Executive Summary

Devices form networks; the Internet routes packets through them; protocols set the rules; encryption and authentication keep data safe.

Devices and networks

A computing device runs a program. A computing system groups devices together; a network connects them so they can communicate. The Internet is a global network of networks with no single owner. Routers forward traffic; DNS translates domain names to IP addresses.

Fault tolerance and parallelism

Redundancy — multiple paths — makes the Internet fault tolerant: when a link fails, packets reroute. Parallel computing splits tasks across processors at once; distributed computing spreads work across networked machines; sequential runs one task at a time.

Packets and protocols

Messages split into packets that carry data plus addressing; packets can travel different routes and arrive out of order, then are reassembled (TCP handles reliability). Protocols like HTTP and TCP/IP set the rules for communication. HTTPS adds encryption via TLS; HTTP does not.

Security

Encryption scrambles data with a key; symmetric uses one key, public-key uses a pair. Malware (viruses, ransomware) and attacks (phishing, denial of service, man-in-the-middle) threaten systems. Authentication verifies identity; strong passwords and two-factor authentication help.

Exam traps

The Web is not the Internet — it is one service on it. HTTPS means encrypted transit, not a hack-proof site. Redundancy enables fault tolerance; a single path does not.

Top 5 Concepts to Master

  1. 1Explain how packets travel the Internet.
  2. 2Contrast parallel, distributed, and sequential computing.
  3. 3Describe symmetric and public-key encryption.
  4. 4Identify malware and attack types.

Key Terms & Definitions

Practice with Flashcards
Router

Device forwarding packets toward destinations.

DNS

Translates domain names to IP addresses.

Fault tolerance

System keeps working when parts fail.

Packet

Chunk of a message with routing information.

Protocol

Agreed standard for communication.

HTTPS

HTTP encrypted with TLS.

Encryption

Scrambling data so only key holders can read it.

Phishing

Tricking users into revealing secrets.

Denial of service

Flooding a server so users cannot reach it.

Common Misconceptions: Exam Traps

The Internet and the World Wide Web are the same.

Correct: The Web is one service running on the Internet.

Packets always arrive in order on one route.

Correct: They can take different paths and arrive out of order.

HTTPS means a site can never be hacked.

Correct: It protects data in transit only.

Redundancy means parts never fail.

Correct: Parts fail; redundancy keeps the system running.

Question Bank Breakdown

By difficulty

easy 18medium 20hard 10

By topic

Computing Devices 7Security 6Protocols 5HTTP and HTTPS 5The Internet 5Packets 4Fault Tolerance 4Parallel and Distributed Computing 4Authentication 3Encryption 3Malware 2

All Questions in this Unit