Skip to main content

AP Computer Science Principles, AP exams, 10–13%

Big Idea 1: Creative Development

Big Idea 1 covers how programs are designed, built, and debugged, and how collaboration improves the result. It maps most directly onto the Create performance task, since the same vocabulary of purpose, design process, and error correction appears in both. Understanding the difference between logic, syntax, runtime, and overflow errors is a recurring exam target.

Big Idea 1: Creative Development at a glance

Position
1 of 5 units
Published weighting
10–13% in the official framework
Topics covered
4 topics in this guide

What is covered

Topics inside this unit.

These topics describe the scope students most often review for this part of AP Computer Science Principles. Treat them as a study checklist rather than an exhaustive list of what a single exam form can sample.

Collaboration
Why diverse collaboration improves program design, and the practices that make it effective.
Program function and purpose
Describing what a program does, its inputs and outputs, and the problem it is meant to solve.
Program design and development
Investigating requirements, designing, implementing, and iterating, including using program documentation.
Identifying and correcting errors
Logic, syntax, runtime, and overflow errors, and the testing strategies that surface each.

Study tips

How to practice Creative Development.

Section-specific guidance that follows from how this material is usually tested.

  • Practice describing a program's purpose and function in two or three precise sentences, which is exactly what the written responses ask for.
  • Learn the four error types with an example of each; distinguishing them is a common multiple-choice item.
  • Keep notes on your own development process while building the performance task, since the written responses draw on it.

Where this fits

Big Idea 1: Creative Development is 1 of 5 units in the AP Computer Science Principles guide, and it carries a published weighting of 10–13% in the official framework. Use the full guide to balance it against everything else you have to review.

Sample Creative Development questions

Practice questions, not yet expert-reviewed

Original practice questions written to the published framework for this section. No expert has reviewed them, and they are not taken from any official exam. Try each one before you open the answer.

  1. Question 1Foundational

    A program runs to completion without stopping, but it reports the wrong average because it divides the total by the wrong count. What type of error is that?

    1. AA logic error
    2. BA syntax error
    3. CA runtime error
    4. DAn overflow error
    Show answer

    Answer: A. A logic error

    The program is valid code that executes fully, so the mistake is in the reasoning rather than the form: that is a logic error. A syntax error would stop the program from running at all, and a runtime error would interrupt it partway through.

    Key insight: If the program runs but the output is wrong, suspect a logic error rather than a syntax error.

  2. Question 2Foundational

    A program asks a user to enter the lengths of the two shorter sides of a right triangle and then displays the length of the hypotenuse. What are the program's inputs and its output?

    1. AThe two entered side lengths are the inputs and the displayed hypotenuse is the output
    2. BThe displayed hypotenuse is the input and the two entered side lengths are the outputs
    3. CThe program has no input, because it only performs a calculation
    4. DThe program has no output, because nothing is stored in a file
    Show answer

    Answer: A. The two entered side lengths are the inputs and the displayed hypotenuse is the output

    Input is the data a program receives while it runs, and output is what the program produces from that data, so the two entered lengths are the inputs and the displayed hypotenuse is the output. A calculation that depends on values the user supplies is not input-free, and displaying a value on the screen is output whether or not anything is saved.

    Key insight: Describe a program by what it takes in, what it produces, and the problem that transformation solves.

  3. Question 3Intermediate

    Is the following statement true or false: adding comments to a program changes how the program executes?

    1. ATrue
    2. BFalse
    Show answer

    Answer: B. False

    Comments are ignored when the program runs; they exist to document purpose and behavior for the people reading and maintaining the code. Good documentation makes collaboration and debugging faster, but it never alters the sequence of instructions the computer carries out.

    Key insight: Comments change what humans understand about a program, never what the machine does with it.

  4. Question 4Intermediate

    What is the main benefit of developing a program collaboratively with people who bring different backgrounds and perspectives?

    1. AIt surfaces requirements and errors that one developer alone might miss
    2. BIt guarantees that the finished program will run faster
    3. CIt removes the need to test the program
    4. DIt ensures the program contains no syntax errors
    Show answer

    Answer: A. It surfaces requirements and errors that one developer alone might miss

    Collaboration widens the set of users and situations the team thinks about, so needs and defects appear earlier in development. It says nothing about execution speed, and no amount of collaboration replaces testing or the tools that catch syntax errors.

    Key insight: Diverse collaboration improves what a program does and who it works for, not how fast it runs.

  5. Question 5Advanced

    While debugging, a programmer temporarily adds statements that display the values of variables at several points in the program. What is the main purpose of that technique?

    1. ATo find where the actual values first differ from the expected values
    2. BTo make the program run faster
    3. CTo correct syntax errors automatically
    4. DTo document the program for future developers
    Show answer

    Answer: A. To find where the actual values first differ from the expected values

    Displaying intermediate values narrows a fault to the region between the last correct value and the first incorrect one, which is how a logic error is located. Extra output slows a program slightly rather than speeding it up, and it corrects nothing on its own.

    Key insight: Debugging is a search: compare expected and actual values until the first divergence appears.

Continue through AP Computer Science Principles

Practice Creative Development deliberately.

Create your Arcade Academy workspace to turn this topic list into spaced-repetition reviews, linked notes, and progress you can act on.

Create your account