AP® Computer Science A Practice Test

Mode
Tutor
Timed
Select Number of Questions
Test Personalization
Unused (0)
Incorrect (0)
Correct (0)
Saved (0)
Skipped (0)
Select Questions Type
Multiple Choice Questions (MCQs)
Free Response Questions (FRQs)
Practice by Topic
Expand All
Unit 1: Primitive Types (46) 4
  • Primitive data types including int; double and Boolean 10 1
  • Evaluating arithmetic expressions in program code 16 3
  • Using assignment operators to produce a value 10 0
  • How variables and operators are sequenced and combined in an expression to create a result 10 0
Unit 2: Using Objects (81) 7
  • Objects and classes as ways to describe instances; attributes and behaviors 10 1
  • Creating objects by calling constructors with and without parameters 11 1
  • Utilizing class libraries; including Integer and Double 15 0
  • Defining an object’s behavior using methods; including static and Math class 11 1
  • Calling non-static void methods with and without parameters 10 0
  • Using String objects and methods 13 4
  • Using application program interfaces (APIs) and libraries 11 0
Unit 3: Boolean Expressions and if Statements (61) 9
  • Finding Boolean values with expressions involving relational operators 13 4
  • Using conditional statements to execute different statements based on input values 15 3
  • Building on conditional statements to create multiple possible outcomes 10 0
  • Creating the same value using equivalent Boolean expressions 13 2
  • Referencing objects with aliases 10 0
Unit 4: Iteration (56) 15
  • Creating a loop to run an expression repeatedly until certain conditions are met 15 7
  • Standard arithmetic-based and String algorithms 11 0
  • Representing iterative processes in code using for and while loops 20 7
  • Nesting loop and iteration statements 10 1
Unit 5: Writing Classes (89) 9
  • The makeup of a class; including whether attributes are public or private 13 1
  • Setting an object’s attributes using constructors 13 0
  • Using comments to describe the functionality of code 10 0
  • Defining behaviors of an object using non-void; void and static methods 20 7
  • Where variables can be used in program code 10 0
  • Breaking problems into smaller parts by creating methods to solve individual subproblems 11 1
  • Intellectual property and ethical concerns in programming 12 0
Unit 6: Array (45) 13
  • Representing multiple related items as array objects 10 1
  • Traversing an array by accessing the elements using iteration statements 22 9
  • Standard algorithms that utilize array traversals to perform functions 13 3
Unit 7: ArrayList (59) 2
  • Representing collections of related object reference data using ArrayList objects 13 1
  • Traversing an ArrayList by accessing the elements using iteration statements 15 1
  • Standard algorithms that utilize ArrayList traversals to perform functions 10 0
  • Searching and sorting using standard algorithms 11 0
  • Ethical issues around data collections 10 0
Unit 8: 2D Array (21) 4
  • Representing collections of data as arrays of arrays or 2D arrays 10 1
  • Traversing a 2D array by accessing the elements using nested iteration statements 11 3
Unit 9: Inheritance (48) 4
  • Using common attributes and behaviors to group existing objects into superclasses 11 1
  • Defining and overriding methods within subclasses and superclasses 16 2
  • Creating references using inheritance hierarchies 11 1
  • Associating subclass objects with superclasses to create polymorphism 10 0
Unit 10: Recursion (31) 6
  • Executing recursive methods 18 6
  • Searching and sorting using binary search and merge sort algorithms 13 0
Prcatice by Year
Expand All
Previous Year Free Response Questions (0) 20
  • AP Computer Science A 2024 (0) 4
  • AP Computer Science A 2023 (0) 4
  • AP Computer Science A 2022 (0) 4
  • AP Computer Science A 2021 (0) 4
  • AP Computer Science A 2019 (0) 4