How to Use This Practice Hub
AP CSP Unit 1 practice diagnostic and questions
Start with the 5-question diagnostic to find your weak topics first. Each wrong answer gives you a one-click link back to the right concept page. After reviewing, return here for the full 15-question practice with answer explanations.
The study path
- Take the diagnostic — don't rush
- Note which topics you missed
- Click the routing link to review that concept
- Come back and try the full 15-question set
- Repeat here until your score is 12+ out of 15
What this hub covers
| Topic | Questions in diagnostic | Questions in full practice |
|---|---|---|
| Collaboration in Computing | 1 | 3 |
| Program Development Process | 1 | 3 |
| Iterative Development | 1 | 3 |
| Program Testing | 1 | 3 |
| Program Documentation | 1 | 3 |
Official Big Idea 1 standards on College Board AP Central describe how computing innovations are developed through collaboration, iteration, and testing — this hub mirrors those skills in quiz form.
How the loop-closer works on this page
When you miss a diagnostic question, you are one click away from the concept guide for that topic — not a generic unit page. After you review, return here and run the full 15-question set. Each correct answer on the full practice increases your topic score in the sidebar skill tracker. The tracker combines diagnostic results, full-practice results, and whether you have visited each concept page, up to five points per topic.
Most students improve fastest when they resist retaking quizzes immediately. Read the concept page, try one small example on paper, then come back. Scores stored in sessionStorage clear when you close the tab; use Reset all scores in the sidebar when you want a fresh attempt without closing the browser.
Diagnostic Quiz — Find Your Weak Topics Not started
Instructions: 5 questions, one per topic. Take your time. After you finish, you'll see which topics need review. Plan about three minutes if you read each explanation carefully.
Questions load one at a time with instant feedback. Wrong answers show a link to the matching concept guide so you can review before the full 15-question set.
Question 1 of 5
Quick tip: Press A–D or 1–4 to answer · Enter for next
Full Practice — 15 AP-Style Questions Not started
Instructions: 15 questions across all 5 Unit 1 topics. Each has an explanation. Pace yourself — about 1 minute per question. Wrong answers show a review link to the matching concept guide so you can fix gaps before retaking.
Topics appear in order: collaboration (3), program development (3), iteration (3), testing (3), documentation (3). Your topic scores update the skill tracker in the sidebar as you go.
Wrong answers on the full practice also show a routing link to the matching concept page, the same way the diagnostic does. Explanations are written for AP CSP wording — read them even when you answer correctly so you recognize paraphrased stems on exam day.
Question 1 of 15
Quick tip: Press A–D or 1–4 to answer · Enter for next
Your Score
Complete a quiz to see your score cards here.
Your diagnostic and full-practice results feed the Unit 1 readiness tracker in the sidebar. Open Your Unit 1 readiness (skill tracker) to see dot scores per topic, your overall total out of 25, and a suggested review link for your weakest area.
Scores save in this browser tab's sessionStorage. Use Reset all scores in the sidebar study path when you want a clean start.
The overall score out of 25 is the sum of all five topic scores. A topic at 5/5 means you answered the diagnostic question correctly, got all three full-practice questions right for that topic, and have visited the concept page at least once. That is the closest this hub gets to saying you are exam-ready on that slice of Unit 1.
Mixed Scenario Questions Bonus
For students who want extra challenge — these blend multiple Unit 1 topics. Try them after the main 15-question practice, especially if you are scoring 12+ out of 15. They mirror Create Task pressure: fix bugs, clarify feedback, and iterate instead of adding features blindly.
Question 1 of 2
Create Task style: Read the full scenario, then pick the best first move.
Score Yourself
| Score (out of 15) | What it means | Next step |
|---|---|---|
| 0-5 | Needs review | Review weak concept pages, then retake |
| 6-9 | Developing | Re-read Iterative Development + Program Testing, retake |
| 10-12 | Strong | Move to Vocabulary + flashcards on the unit hub, then practice again |
| 13-15 | Excellent | You're ready for the Create Task — start your project! |
If you are between 6 and 9, prioritize the two topics where you scored 0 or 1 on the full-practice breakdown before retaking the whole set. If you are at 10-12, use the Unit 1 vocabulary list and the mixed scenarios above, then retake for a 13+.
Between full practice sessions, short daily AP missions keep vocabulary and MCQ skills warm without another 15-question block.
All Practice Questions (Reference)
Use the interactive diagnostic and full practice above for scored feedback. This reference lists every question and explanation in one place for review sessions and teachers. Expand any row when you want to reread a stem without restarting the timed flow.
Pair this bank with the concept guides for collaboration, program development, iteration, testing, and documentation when a topic score stays below 3.
Diagnostic questions (5)
Collaboration — classmate finds a bug
Question: A student is building a study app and asks a classmate to test it. The classmate finds a bug that the student missed. What is the main benefit of this collaboration?
Choices: A) The student doesn't have to do any work · B) Two people working together catches errors one person missed ✓ · C) The classmate gets credit for the project · D) The student's code becomes longer
Explanation: Fresh eyes on a program often spot logic gaps the author no longer notices. Testing with a partner is collaboration because both people contribute observations, not because work disappears. On the AP exam, collaboration items reward feedback loops and shared debugging rather than dividing credit. The correct answer focuses on catching mistakes early, which saves time before the Create Task deadline.
Program development — test only at the end
Question: A student writes all their code first, then tests it once at the end. They find 5 bugs at the same time. Which step of the program development process did they skip or shorten?
Choices: A) Investigate · B) Design · C) Iterating and testing throughout development ✓ · D) Document
Explanation: The development cycle is meant to loop: build a slice, test it, fix issues, then continue. Saving every test for the last hour stacks failures and makes each bug harder to trace. College Board language calls that shortened iteration and testing — not skipping documentation alone. Students who test continuously usually finish with fewer surprise crashes on submission day.
Iterative development — version 1 then 2
Question: A student builds version 1 of their program (one feature, working), tests it, then adds a second feature for version 2. Which process is the student following?
Choices: A) One-time development · B) Iterative development ✓ · C) Documentation · D) Debugging
Explanation: Each version adds capability while keeping the program runnable — that is the hallmark of iteration. Debugging might happen inside a cycle, but the overall pattern here is planned growth across versions. One-time development would mean no structured retest between features. AP prompts often describe version numbers or “first working build” language when they want iterative development as the answer.
Program testing — only expected inputs
Question: A student tests their program only with the inputs they expect users to enter. What is the main weakness of this strategy?
Choices: A) The program will run slower · B) It may not catch errors caused by edge or invalid inputs ✓ · C) The program won't work · D) Documentation gets harder
Explanation: Happy-path testing proves the program works when users behave perfectly — real users rarely do. Blank fields, zero values, and out-of-range numbers are common on Create Task demos and exam scenarios. Edge and invalid cases are where crashes and wrong scores usually hide. A strong test plan lists those cases before coding the fix, not after the teacher finds them.
Documentation — weak comment
Question: A student writes a procedure called checkAnswer and adds the comment // This adds 1. What's the problem with this comment?
Choices: A) Comments shouldn't be added to code · B) The comment is too long · C) The comment doesn't explain the purpose — it just describes one line ✓ · D) The comment is in the wrong place
Explanation: Comments should help a reader understand intent: why the score changes, what rule is enforced, or what state is updated. Repeating the syntax (“adds 1”) adds no insight beyond reading the line itself. Graders and future teammates cannot tell whether the increment is for streaks, penalties, or partial credit. Purpose-driven comments also make Create Task written responses easier because you already named the design decision in code.
Full practice questions (15)
Collaboration Q1 — best example of collaboration
Question: Which action is the best example of collaboration in computing?
Choices: A) Copying a classmate's code · B) Submitting a tutorial project · C) Asking a classmate to test your app and explain what confused them ✓ · D) Ignoring user feedback
Explanation: Collaboration requires communication and shared improvement of the product, not shared answers on paper. Usability testing with a partner surfaces confusion you normalized while building. Copying bypasses the thinking the AP course measures. When you can describe what your tester struggled with, you have evidence of a real collaborative loop.
Collaboration Q2 — team of four on a quiz app
Question: A team of 4 students is building a quiz app. Which division of work best shows healthy collaboration?
Choices: A) One student writes all the code; the others wait · B) Each student writes a separate piece, then they combine ✓ · C) All four type at the same keyboard · D) Each student writes the same code
Explanation: Healthy teams split modules — scoring, question bank, UI — then integrate and test together. Waiting on one author creates bottlenecks and hides who understands which part. Pairing at one keyboard can help for short bursts but is not a full project plan for four people. The AP course rewards clear roles plus combined review before submission.
Collaboration Q3 — responding to a bug report
Question: A classmate finds a bug in your program. What's the strongest response from a collaboration standpoint?
Choices: A) Get defensive and ignore them · B) Thank them, ask exactly what they saw, and fix the bug ✓ · C) Delete the bug-finder's comment · D) Submit the program anyway
Explanation: Specific reproduction steps turn a vague “it's broken” into a fix you can verify. Thanking the reporter keeps feedback coming on the next iteration. Ignoring or deleting feedback breaks trust and leaves the defect in production. Strong collaborators treat bug reports as data, not criticism.
PDP Q4 — design flaw found in testing
Question: A programmer realizes during testing that their original design had a flaw. What is the best next step?
Choices: A) Add documentation explaining the flaw · B) Submit the project as-is · C) Return to the design step and fix the layout ✓ · D) Start over from scratch
Explanation: The program development process is explicitly non-linear: testing informs design. Documenting a flaw without fixing it leaves users stuck with the same bad flow. Starting from scratch wastes working pieces that still function. Returning to design to adjust structure is normal professional practice and matches AP wording on iteration.
PDP Q5 — step students rush past
Question: Which step of program development is usually skipped or shortened when students rush?
Choices: A) Writing code · B) Investigating user needs ✓ · C) Submitting the project · D) Naming variables
Explanation: Investigation asks who the user is, what problem matters, and what success looks like. Without that clarity, code solves the wrong task elegantly. Students under time pressure often open the editor first because it feels productive. Exam prompts about “purpose” or “target user” are testing whether investigation happened at all.
PDP Q6 — “my program is finished”
Question: A student says "my program is finished." What step should still happen before they can fully say it's done?
Choices: A) Documentation ✓ · B) Investigation · C) Buying the program · D) Erasing the code
Explanation: Documentation captures how the program works, why choices were made, and how to maintain it. Investigation and design already happened earlier in the cycle for a finished feature set. Erasing code would destroy the artifact. Create Task rubrics expect you to explain segments clearly — that is much faster when documentation exists from development.
Iteration Q7 — best demonstrates iteration
Question: Which approach best demonstrates iterative development?
Choices: A) Write the whole program perfectly on the first try · B) Build version 1 (one feature), test it, then add more features one at a time ✓ · C) Skip testing to save time · D) Write all code first, then test at the end
Explanation: Iteration means each pass leaves you with something testable, not a pile of untested code. Option D is the anti-pattern the course warns against. Perfect first drafts are unrealistic on timed tasks. Versioned feature adds give you checkpoints for screenshots, test evidence, and written responses.
Iteration Q8 — “I don't like it” feedback
Question: A classmate gives feedback: "I don't like it." How can the programmer make this feedback useful for the next iteration?
Choices: A) Ignore the feedback · B) Ask the classmate to be specific about what they didn't like ✓ · C) Delete the program · D) Add a new feature unrelated to the feedback
Explanation: Vague dislike does not tell you whether the layout, wording, or logic failed. Follow-up questions turn opinion into a change list you can implement and retest. Random new features may ignore the actual pain point. AP scenarios about user feedback assume you can refine based on concrete observations.
Iteration Q9 — counting completed cycles
Question: A programmer builds, tests, finds a bug, fixes the bug, and tests again. Then they add a new feature and repeat the cycle. How many iterations have they completed?
Choices: A) 1 · B) 2 ✓ · C) 3 · D) 0
Explanation: One iteration is a full build-test-refine pass on the current feature set. The first cycle ends after the bug fix is verified; the second begins when a new feature is added and tested. Counting partial edits inside a single cycle as separate iterations is a common trap on MCQs. Watch for “add a new feature and repeat” as the signal for a second iteration.
Testing Q10 — blank answer crash
Question: A program crashes when the user enters a blank answer. What type of test case revealed this bug?
Choices: A) Normal case · B) Edge case · C) Invalid case ✓ · D) Repeated case
Explanation: A blank response is not a typical “happy path” input the designer expected. Invalid cases probe inputs outside allowed rules — empty strings, letters in numeric fields, etc. Edge cases sit at boundaries of valid data (first question, max score). Naming the case type correctly helps you write Row 6 test descriptions on the Create Task.
Testing Q11 — edge case on a 20-question quiz
Question: Which of the following is the best example of an edge case for a quiz with 20 questions?
Choices: A) The user answers question 10 correctly · B) The user answers question 1 (the first one) ✓ · C) The user types a normal answer · D) The user closes the app
Explanation: Edge cases stress boundaries: first index, last index, minimum score, maximum score. Question 10 is mid-range, not a boundary. Closing the app might be an interruption scenario but not an input-boundary test. Lists and loops often fail at index 0 or length − 1, which is why question 1 matters.
Testing Q12 — vague “I tested it” on Create Task
Question: A student writes "I tested my program and it worked" in their Create Task response. Why does this lose points on the rubric?
Choices: A) The student didn't actually test · B) The rubric requires two specific procedure calls with different arguments and outputs ✓ · C) Testing isn't important · D) The response is too long
Explanation: Row 6 asks for evidence: procedure name, arguments passed, and observed results. A blanket claim gives graders nothing to verify against your video. Testing absolutely matters — the rubric just demands precision. Write tests the way you would teach a partner to reproduce a bug: concrete inputs and outputs.
Docs Q13 — comment after correct answer
Question: Which is the better comment for a line that increases a score after a correct answer?
Choices: A) // This adds 1 · B) // Increase score after a correct answer ✓ · C) // Score code · D) // Numbers
Explanation: Option B states the rule the reader needs: score rises when the answer is correct. Option A only restates the arithmetic the line already shows. Labels like “score code” or “numbers” do not explain behavior. On exam day you may need to quote comments when describing abstractions — write them so they stand alone.
Docs Q14 — documentation and Create Task
Question: Why does documentation matter for the AP CSP Create Task?
Choices: A) It makes the program run faster · B) It helps the student write stronger exam-day responses about their code ✓ · C) It changes the rubric · D) Documentation doesn't matter
Explanation: Written responses ask you to identify procedures, parameters, and logic in your own project. If you documented while building, you already named those pieces in plain language. Documentation does not change scoring rules or execution speed. Skipping it forces you to reverse-engineer your code under time pressure in May.
Docs Q15 — ten obvious comments
Question: A student adds 10 comments to their code, but each one just repeats what the line does ("this is a loop", "this is a variable"). What's wrong with this approach?
Choices: A) There are too many comments · B) The comments are clutter — they don't explain decisions or purpose ✓ · C) Comments are not allowed · D) The code won't run
Explanation: Noise comments make real warnings harder to spot when you skim before submitting. The AP course wants rationale: why this loop, why this variable scope, why this threshold. Comments never affect whether code compiles. Quality beats quantity — two purposeful notes outperform ten redundant ones.
Mixed scenarios (2)
Scenario — Quiz App Crisis (score won't reset)
Question: A student is 6 hours into their Create Task with a quiz app. During final testing, the score doesn't reset when a new round starts. They have 3 hours left. What should the student do first?
Choices: A) Submit the project as-is · B) Investigate the score reset bug and refine the program ✓ · C) Add 10 more questions · D) Delete the score feature entirely
Explanation: A broken core loop undermines the whole demo even if questions look polished. Three hours is enough to trace variables, reset state on “new round,” and re-test edge cases. Adding questions expands scope while the bug remains. Removing scoring avoids the problem instead of solving it — graders still expect working behavior.
Scenario — vague “it's confusing” feedback
Question: A classmate says the program is "confusing." What's the most useful next step?
Choices: A) Ignore the feedback · B) Ask the classmate what specifically confused them ✓ · C) Add documentation · D) Submit the project
Explanation: “Confusing” might mean hidden buttons, unclear instructions, or inconsistent scoring — you cannot guess which. A two-minute follow-up interview targets the next iteration. Documentation helps after you know what to explain, not before. Shipping without clarification risks the same usability failure on review day.
What You Can Now Do
Tick each line when it is true for you. Your checks save in this browser session.
0 of 5 ready
Frequently Asked Questions
What does AP CSP Unit 1 cover?
AP CSP Unit 1 is Creative Development — the first big idea on the AP Computer Science Principles exam. It covers collaboration, program design and development, iterative development, testing, debugging, and documentation. The unit also connects directly to the Create Task performance task.
How long should I spend on AP CSP Unit 1 practice?
Most students need 1-2 hours total on Unit 1 practice — about 30 minutes for the diagnostic plus review, then another 30-60 minutes on the full 15 questions. Don't try to do it all in one sitting. Spreading practice across 3-4 sessions improves retention more than one long session.
What's the diagnostic quiz for?
The diagnostic is 5 questions covering all 5 Unit 1 topics. Its job is to identify which topic you're weakest on, so you know exactly which concept page to review. Without a diagnostic, students often re-read content they already know — and skip content they don't.
What if I'm getting most of the questions wrong?
If you're scoring 5 or below out of 15, the right move is to slow down and review the concept pages — don't grind through more questions. Start with the topic you missed in the diagnostic, read that concept page carefully, then retake the diagnostic. Most students improve fast once they review.
How do I know if I'm ready for the AP CSP Create Task?
A consistent score of 12+ out of 15 on this practice means your Unit 1 foundation is strong. From there, the next step is the Create Task Guide — pick a project idea, plan your iterations, and start building. Practice doesn't stop, though — keep checking back in between iterations.
Should I memorize the answers or focus on understanding?
Always focus on understanding. The AP CSP exam rewords questions and changes scenarios, so memorized answers don't transfer. If you can explain why an answer is right (not just which answer it is), you're learning in a way that will hold up on test day.
Why does my score reset when I close the browser?
Your score is saved in your browser's sessionStorage, which clears when you close the browser tab. If you want a fresh start, the "Reset" button on each quiz clears your score. If you want to save progress longer, sign up for a free APScore5 account to track scores across sessions.
What's the best order to study Unit 1?
Start with the diagnostic to find your weak spot. Then review concepts in this order: Program Development Process → Iterative Development → Program Testing → Program Documentation → Collaboration. Most students find collaboration easier than the other four, so save it for last.