AP CSP Unit 7: The Internet and Computer Systems
32 multiple-choice questions on AP Computer Science Principles Unit 7, The Internet and Computer Systems, organized by topic. They are not tied to any one class or teacher: they follow the College Board course framework. Learn the 8 key terms with the flashcards first, then test yourself. Every answer comes with a short explanation.
Take the practice test · Flashcards · All study tools
What it covers
- 7.1 How the internet works
- 7.2 Fault tolerance
- 7.3 Parallel and distributed computing
Key terms
7.3 Parallel and distributed computing
- Internet
- A network of networks connected using open protocols
- Protocol
- An agreed-upon set of rules for communication
- Packet
- A small chunk of data with metadata for routing
- IP address
- A unique number identifying a device on the internet
- Routing
- Finding a path for data across a network
- Bandwidth
- Maximum data transferred per unit of time
- Fault tolerance
- Continuing to work despite failures, usually through redundancy
- Speedup
- Sequential time divided by parallel time
Sample practice questions
A computing device is
- a physical artifact that can run a program, such as a computer, tablet, router or smart sensor
- only a desktop or laptop computer, not phones, routers or other smaller electronic devices
- a program that runs on a computer, such as a web browser, a game or a word processor
- a protocol that sets the rules for how computers send and receive data over a network
Answer: A. a physical artifact that can run a program, such as a computer, tablet, router or smart sensor Computing devices include many kinds of hardware that run programs.
A system is fault-tolerant if
- it never has any failures in any of its components
- it can keep working even when some components fail
- it has only one path between any two of its devices
- it needs every component working in order to run
Answer: B. it can keep working even when some components fail Redundancy allows the system to keep working after failures.
Sequential computing means
- many operations are performed at once
- operations are performed in order, one at a time
- multiple computers share a task
- programs run only on servers
Answer: B. operations are performed in order, one at a time In sequential computing, total time is the sum of each step's time.
A computer network is
- a single computer that runs many programs at the same time for its users
- a type of software that lets one person control another person's computer
- a group of interconnected computing devices that can send or receive data
- a programming language used to write the code that runs on web servers
Answer: C. a group of interconnected computing devices that can send or receive data Networks connect devices so they can exchange data.
Redundancy in a network means
- extra components or paths, so the network still works if one fails
- repeating the same data in every packet so that none is ever lost
- removing unneeded routers so that data takes the shortest path
- using the same password on two devices so either can be used
Answer: A. extra components or paths, so the network still works if one fails Multiple paths between devices make the internet fault-tolerant.
Parallel computing
- runs every operation one at a time, in order, on a single processor
- requires only one processor, which switches between tasks very quickly
- is slower than sequential computing in every case, because of overhead
- breaks a program into smaller operations, some of them done at the same time
Answer: D. breaks a program into smaller operations, some of them done at the same time Using multiple processors at once can reduce running time.
The internet is best described as
- a network of networks that uses open, standard protocols
- a single computer owned by one company
- the same thing as the World Wide Web
- a private network for governments only
Answer: A. a network of networks that uses open, standard protocols Independent networks interconnect using shared protocols such as IP and TCP.
In a network where devices A and D are connected through two separate paths, A–B–D and A–C–D, what happens if the connection between B and D fails?
- A and D can no longer communicate
- A and D can still communicate through C
- All devices stop working
- Only A and B can communicate
Answer: B. A and D can still communicate through C A second, independent path provides redundancy.
A task has three steps that take 40, 30 and 50 seconds. Run sequentially on one processor, it takes
- 50 seconds
- 120 seconds
- 40 seconds
- 70 seconds
Answer: B. 120 seconds Sequential time is the sum: 40 + 30 + 50.
A protocol is
- a type of computer virus that spreads from one network to another
- an agreed-upon set of rules that specify the behavior of a system
- a physical cable that carries data between two computers
- a programming error that stops data from reaching its destination
Answer: B. an agreed-upon set of rules that specify the behavior of a system Protocols let devices from different makers communicate.
More AP Computer Science Principles
- Unit 1: Creative Development
- Unit 2: Binary and Data Representation
- Unit 3: Data Compression and Using Data
- Unit 4: Variables, Expressions, and Lists
- Unit 5: Iteration, Procedures, and Libraries
- Unit 6: Algorithms, Efficiency, and Simulations
- Unit 8: Impact of Computing
- Unit 9: Legal, Ethical, and Safe Computing
Studying for a test in your own class? Make a practice test from your class notes.