Free practice test — no login required

AP Computer Science Principles Practice Test (2026)

17 AP-style multiple-choice questions covering Unit 1 of AP Computer Science Principles. Pick an answer to get instant feedback with a full explanation — including why each wrong choice is wrong. Questions follow the College Board exam format for this subject.

0 / 17 answered0 correct

Question 1

1.2 Creating Digital Artifacts

What is the primary purpose of an iterative development process in creating digital artifacts?

Question 2

1.1 Introduction to Creative Expression

Which of the following best describes a "digital artifact" in the context of computer science principles?

Question 3

1.3 Collaborating on Innovations

A team is developing a new mobile application. They hold daily stand-up meetings to discuss progress, roadblocks, and next steps. Which aspect of collaborative development does this practice primarily support?

Question 4

1.4 Exploring and Analyzing Data
A data visualization shows the average daily temperature in a city over the past 100 years, represented by a line graph. The line shows a clear upward trend.

Based on this visualization, what conclusion can most reasonably be drawn?

Question 5

1.5 Computing Innovations and Society

A new social media platform introduces a feature that uses an algorithm to personalize the news feed for each user, showing content similar to what they have previously engaged with. While this can enhance user experience, what is a potential negative societal impact of such an algorithm?

Question 6

1.3 Collaborating on Innovations

Which of the following is a benefit of pair programming?

Question 7

1.6 Responsible Innovation

A company develops an AI-powered facial recognition system for public safety. While it could help identify criminals, what is a significant ethical concern regarding its widespread deployment?

Question 8

1.4 Exploring and Analyzing Data
A dataset contains information about customer purchases, including item ID, price, and timestamp. A retail company wants to use this data to identify patterns in customer buying behavior to optimize inventory and marketing strategies.

Which of the following analytical approaches would be most effective for identifying *seasonal trends* in customer purchases from this dataset?

Question 9

1.1 Introduction to Creative Expression

What does it mean for a digital artifact to be "interactive"?

Question 10

1.2 Creating Digital Artifacts
A development team is building a weather-tracking app following an iterative process. The team finishes a sprint in which they added a new "Save Location" button that stores a user's favorite city. During the testing phase, a tester runs through the usual scenarios and discovers that pressing the "Save Location" button causes the entire app to crash, returning the user to the home screen with no error message. The project manager asks the team what should happen next before the next sprint can begin. The team must decide how to handle the defect while staying faithful to the iterative development cycle they have been using throughout the project.

According to the iterative development cycle described in the scenario, what is the most appropriate next step for the team to take?

Question 11

1.5 Computing Innovations and Society

The widespread availability of computing innovations like smartphones and social media has led to an increase in "digital divide" concerns. Which of the following best describes the digital divide?

Question 12

1.3 Collaborating on Innovations
A software development team uses a version control system like Git. Before making changes to the main codebase, each developer creates a new "branch" for their feature, works on it independently, and then "merges" their changes back into the main branch after review.

What is the primary benefit of using this branching and merging strategy in collaborative development?

Question 13

1.4 Exploring and Analyzing Data

When analyzing a large dataset, a data scientist might choose to create a "summary statistic" like the mean or median. What is the main purpose of using summary statistics?

Question 14

1.6 Responsible Innovation
TalentFinder Corporation has built an AI system to screen job applications. The model was trained on a decade of historical hiring data from the company's own records, including which applicants were interviewed, hired, and promoted. After deployment, HR notices the tool consistently rates applicants from certain universities and certain zip codes higher than others, and it rarely recommends women for senior engineering roles even when their resumes are comparable to those of male applicants. An independent reviewer suggests the problem traces back to patterns embedded in the training data itself. The leadership team asks you to explain why this kind of outcome is an ethical concern rather than merely a technical limitation.

Based on the scenario, which statement best describes the central ethical concern about bias in the TalentFinder system?

Question 15

1.1 Introduction to Creative Expression
A student uses a block-based programming language to create an animation where a character moves across the screen and changes color when clicked.

In this scenario, what role does the block-based programming language play in the creative process?

Question 16

1.5 Computing Innovations and Society

Which of the following is an example of a beneficial impact of computing innovations on communication?

Question 17

1.6 Responsible Innovation
A smart home device company collects anonymous data on user interactions (e.g., voice commands, device usage patterns) to improve its AI assistant's performance and develop new features. Users are informed about this data collection in the terms of service.

While the data is anonymized, what is a potential *long-term ethical concern* regarding the aggregation and analysis of such user data, even if it's not directly identifiable?

Want the full exam experience?

Unlock all 5 units of AP Computer Science Principles 100 quiz questions, 5 full-length practice exams with real timing, rubric-graded FRQs, and a 24/7 Socratic AI tutor. $7.99/month, 3-day free trial.