CompSci.rocks

AP CSA Practice Questions

Free AP Computer Science A multiple-choice practice, organized by unit and topic. Answer five random questions at a time and review the essential knowledge behind each one.

The AP Computer Science A exam opens with 42 multiple-choice questions, and the best way to get comfortable with them is to answer a lot of them. This series gives you 1138 practice questions split into 20 short sets, each one covering a few consecutive topics from the course.

How the practice sets work

  • Every set has its own page, named for the topics it assesses.
  • Each visit loads five random questions from that set's bank. Reload or press New questions for a different five.
  • Pick an answer and press Check answer. You'll see whether you were right and why every choice is right or wrong.
  • Once you've checked a question, a table lists the essential knowledge (EKS) statements it assesses. Each one links to the full list at the bottom of the page.

What the codes mean

The AP Computer Science A course is organized into 4 units, and each unit into numbered topics (1.1, 1.2, and so on). Every topic has learning objectives (1.1.A) and each learning objective has essential knowledge statements (1.1.A.1). These statements are what the exam can ask about, so each question here is tagged with the ones it tests.

The questions use the same Java conventions as the exam, so keep the College Board's Java Quick Reference handy as you practice.

Unit 1: Using Objects and Methods

Unit 2: Selection and Iteration

Unit 3: Class Creation

Unit 4: Data Collections