Free high school question bank

AP Computer Science Principles Practice Questions

Bilingual AP Computer Science Principles practice by unit, topic, and difficulty.

1575practice questions
5topics or practice sets
Freefrom a 501(c)(3) nonprofit

What each unit covers

Unit 1 Creative Development

Study how developers share ideas, design a program for users, and improve it through feedback. Practice describing what a program does and choosing tests that can uncover errors.

Knowledge points:

  • Collaboration
  • Program Function and Purpose
  • Program Design and Development
  • Identifying and Correcting Errors

Unit 2 Data

Learn how computers represent data with bits and why compression changes storage needs. Then use patterns, visualization, and programs to draw conclusions from data.

Knowledge points:

  • Binary Numbers
  • Data Compression
  • Extracting Information from Data
  • Using Programs with Data

Unit 3 Algorithms and Programming

Read and write pseudocode for decisions, loops, lists, and procedures. Then compare searching, simulation, and efficiency and recognize when a problem has no general algorithmic solution.

Knowledge points:

  • Variables and Assignments
  • Data Abstraction
  • Mathematical Expressions
  • Strings
  • Boolean Expressions
  • Conditionals
  • Nested Conditionals
  • Iteration
  • Developing Algorithms
  • Lists
  • Binary Search
  • Calling Procedures
  • Developing Procedures
  • Libraries
  • Random Values
  • Simulations
  • Algorithmic Efficiency
  • Undecidable Problems

Unit 4 Computer Systems and Networks

Follow data as it travels through the Internet and see how alternate paths improve reliability. Compare what happens when computer tasks run in sequence, at once, or on multiple machines.

Knowledge points:

  • The Internet
  • Fault Tolerance
  • Parallel and Distributed Computing

Unit 5 Impact of Computing

Evaluate who benefits or faces risks when computing tools are adopted. Use examples of unequal access, bias, ownership, and privacy to explain how design choices affect people.

Knowledge points:

  • Beneficial and Harmful Effects
  • Digital Divide
  • Computing Bias
  • Crowdsourcing
  • Legal and Ethical Concerns
  • Safe Computing