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

  1. 7.1 How the internet works
  2. 7.2 Fault tolerance
  3. 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

  1. A computing device is

    1. a physical artifact that can run a program, such as a computer, tablet, router or smart sensor
    2. only a desktop or laptop computer, not phones, routers or other smaller electronic devices
    3. a program that runs on a computer, such as a web browser, a game or a word processor
    4. 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.

  2. A system is fault-tolerant if

    1. it never has any failures in any of its components
    2. it can keep working even when some components fail
    3. it has only one path between any two of its devices
    4. 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.

  3. Sequential computing means

    1. many operations are performed at once
    2. operations are performed in order, one at a time
    3. multiple computers share a task
    4. 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.

  4. A computer network is

    1. a single computer that runs many programs at the same time for its users
    2. a type of software that lets one person control another person's computer
    3. a group of interconnected computing devices that can send or receive data
    4. 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.

  5. Redundancy in a network means

    1. extra components or paths, so the network still works if one fails
    2. repeating the same data in every packet so that none is ever lost
    3. removing unneeded routers so that data takes the shortest path
    4. 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.

  6. Parallel computing

    1. runs every operation one at a time, in order, on a single processor
    2. requires only one processor, which switches between tasks very quickly
    3. is slower than sequential computing in every case, because of overhead
    4. 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.

  7. The internet is best described as

    1. a network of networks that uses open, standard protocols
    2. a single computer owned by one company
    3. the same thing as the World Wide Web
    4. 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.

  8. 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?

    1. A and D can no longer communicate
    2. A and D can still communicate through C
    3. All devices stop working
    4. Only A and B can communicate

    Answer: B. A and D can still communicate through C A second, independent path provides redundancy.

  9. A task has three steps that take 40, 30 and 50 seconds. Run sequentially on one processor, it takes

    1. 50 seconds
    2. 120 seconds
    3. 40 seconds
    4. 70 seconds

    Answer: B. 120 seconds Sequential time is the sum: 40 + 30 + 50.

  10. A protocol is

    1. a type of computer virus that spreads from one network to another
    2. an agreed-upon set of rules that specify the behavior of a system
    3. a physical cable that carries data between two computers
    4. 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.

Practice all 32 questions

More AP Computer Science Principles

Studying for a test in your own class? Make a practice test from your class notes.