1 of 34

Responding to the AP CSP Writing Prompts

Tips & Tricks

2 of 34

Tips & Tricks

Simplify the Prompt:

Wordy prompts don't need to be overwhelming.

Don't Misjudge Your Code:

Remember, your submission is not perfect. That's ok.

Consider How to Explain Algorithms:

Writing code/pseudocode is often a good idea.

3 of 34

Complex Wording

How can this be simplified?

  1. Consider the first iteration statement included in the Procedure section of your Personalized Project Reference. Identify the number of times the body of your iteration statement will execute. Describe a condition or error that would cause your iteration statement to not terminate and cause an infinite loop. If no such condition or error exists, explain how the loop could be modified to cause an infinite loop.

4 of 34

Simplify the Prompt

Prompts need to be very specific, so they are often wordy.

  • Know the Common Phrases
    • "Consider the ____ identified in part __ of the ___ section of your Personalized Project Reference."
  • Focus on the Verbs
    • Capture, Demonstrate, Describe, Design, Explain, Identify, Implement/Write
  • Some Prompts will be a Scenario
    • "Suppose another programmer…" "Suppose you have been asked to..."

5 of 34

Common Phrases:

  • "Consider the procedure identified in part (i) of the Procedure section of your Personalized Project Reference."
  • "Consider the first conditional statement included in part (i) of the Procedure section of your Personalized Project Reference."
  • "Consider the list identified in the List Section of your Personalized Project Reference."

What does each of these mean?

6 of 34

Common Phrases:

  • "Consider the procedure identified in part (i) of the Procedure section of your Personalized Project Reference."
  • "Consider the first conditional statement included in part (i) of the Procedure section of your Personalized Project Reference."
  • "Consider the list identified in the List Section of your Personalized Project Reference."

Your List

Your Procedure

The First If-Statement

7 of 34

Complex Wording

  • Consider the procedure included in part (i) of the Procedure section of your Personalized Project Reference. Describe a change to your procedure that will result in a run-time error. Explain why this change will result in a run-time error.
  • Consider the first iteration statement included in the Procedure section of your Personalized Project Reference. Identify the number of times the body of your iteration statement will execute. Describe a condition or error that would cause your iteration statement to not terminate and cause an infinite loop. If no such condition or error exists, explain how the loop could be modified to cause an infinite loop.

8 of 34

Complex Wording

  • Consider your procedure included in part (i) of the Procedure section of your Personalized Project Reference. Describe a change to your procedure that will result in a run-time error. Explain why this change will result in a run-time error.
  • Consider the first iteration statement included in the Procedure section of your Personalized Project Reference. Identify the number of times the body of your iteration statement will execute. Describe a condition or error that would cause your iteration statement to not terminate and cause an infinite loop. If no such condition or error exists, explain how the loop could be modified to cause an infinite loop.

9 of 34

Simplify the Prompt

Prompts need to be very specific, so they are often wordy.

  • Know the Common Phrases
    • "Consider the ____ identified in part __ of the ___ section of your Personalized Project Reference."
  • Focus on the Verbs
    • Capture, Demonstrate, Describe, Design, Explain, Identify, Implement/Write
  • Some Prompts will be a Scenario
    • "Suppose another programmer…" "Suppose you have been asked to..."

10 of 34

Focus on the Verbs

  • Expect the prompts to have multiple parts.
    • "Identify… Explain… Describe…"
    • "...and…" "...and…" "...and…"
  • Remember: There's no partial credit available if you answer some but not all of a prompt.
  • Address each part separately and completely.
  • Write three sentences for each part of a prompt.
  • Remember: You have ~15 minutes for each Prompt.

11 of 34

Focus on the Verbs

  • Capture - Select a portion of program code that addresses the prompt(s).
  • Demonstrate - Provide sufficient evidence for an answer or point being made.
  • Describe - Provide the relevant features or characteristics of what the program code represents or is being used to accomplish.
  • Design - Develop a plan for how to accomplish the program specification or requirements.
  • Explain - Provide information about how or why a relationship, situation, or outcome occurs, listing detailed steps of the algorithm or using evidence and/or reasoning.
  • Identify - Provide a name for the specific topic, without elaboration or explanation.
  • Implement/Write - Recognize and use proper syntax to execute the program design.

12 of 34

Three Verbs : Three Parts

  • Consider the procedure and procedure call identified in parts (i) and (ii) of the Procedure section of your Personalized Project Reference. Describe the outcome that your procedure call is intended to produce. Write a new procedure call with at least one different argument value that will produce the same outcome, if possible, and explain why this procedure call produces the same outcome. If it is not possible to write a new procedure call that produces the same outcome, explain why this is not possible.

13 of 34

Two Verbs : Two Parts

  • Consider the first iteration statement included in the Procedure section of your Personalized Project Reference. Identify the number of times the body of your iteration statement will execute. Describe a condition or error that would cause your iteration statement to not terminate and cause an infinite loop. If no such condition or error exists, explain how the loop could be modified to cause an infinite loop.

14 of 34

Simplify the Prompt

Prompts need to be very specific, so they are often wordy.

  • Know the Common Phrases
    • "Consider the ____ identified in part __ of the ___ section of your Personalized Project Reference."
  • Focus on the Verbs
    • Capture, Demonstrate, Describe, Design, Explain, Identify, Implement/Write
  • Expect a Scenario
    • "Suppose another programmer…" "Suppose you have been asked to..."

15 of 34

Expect a Scenario

  • Sometimes the prompt includes a scenario.
  • This only makes the prompt look longer.

16 of 34

Example Scenario

  • Suppose another programmer provides you with a procedure called checkValidity(value) that returns true if a value passed as an argument is considered valid by the other programmer and returns false otherwise. Using the list identified in the List section of your Personalized Project Reference, explain in detailed steps an algorithm that uses checkValidity to check whether all elements in your list are considered valid by the other programmer. Your explanation must be detailed enough for someone else to write the program code for the algorithm that uses checkValidity.

17 of 34

Example Scenario

  • Suppose you have been asked to modify the procedure you identified in part (i) of the Procedure section of your Personalized Project Reference. Any time the procedure is called it should execute all of its existing code three times. Describe how you could use iteration to accomplish this. Include enough detail for someone else to create the program code.

18 of 34

Tips & Tricks

Simplify the Prompt:

Wordy prompts don't need to be overwhelming.

Don't Misjudge Your Code:

Remember, your submission is not infallible. That's ok.

Consider How to Explain Algorithms:

Writing code/pseudocode is often a good idea.

19 of 34

Don't Misjudge Your Code

"... If it is not possible to_____, explain why this is not possible."

  • Not meant as a trap, it is there because so many different projects were created, there has to be some option for some very unlikely of circumstances.
  • It is unlikely that you are that circumstance if you used Python, Javascript, Java, App Inventor, Scratch, or Snap.
  • It is further unlikely that you are that circumstance if you met all of the project requirements.
  • FYI: Your answer does not need to be practical or good, just true.

20 of 34

Example: Trap

What's the trap?

  • For the first parameter of the procedure included in part (i) of the Procedure section of your Personalized Project Reference, identify the limitations of the acceptable values that can be passed to it, and explain why these limits exist. If there are no limitations, explain why not.

21 of 34

Example: Trap

What's the trap?

There are limitations for everything on a computer.

  • For the first parameter of the procedure included in part (i) of the Procedure section of your Personalized Project Reference, identify the limitations of the acceptable values that can be passed to it, and explain why these limits exist. If there are no limitations, explain why not.

22 of 34

Example: Trap

What's the trap?

  • Consider the list identified in the List section of your Personalized Project Reference. Describe how your program could be written without the use of a list. If it is not possible for your program to work without the use of a list, describe how your program's functionality would be limited.

23 of 34

Example: Trap

What's the trap?

In 2022, many many many students got this wrong because there is almost always a way.

  • Consider the list identified in the List section of your Personalized Project Reference. Describe how your program could be written without the use of a list. If it is not possible for your program to work without the use of a list, describe how your program's functionality would be limited.

24 of 34

Tips & Tricks

Simplify the Prompt:

Wordy prompts don't need to be overwhelming.

Don't Misjudge Your Code:

Remember, your submission is not infallible. That's ok.

Consider How to Explain Algorithms:

Writing code/pseudocode is often a good idea.

25 of 34

Write Code!

  • There is a reason we don't write code in natural languages.
  • Code is a clear and specific way to describe instructions.
  • Your code doesn't need to be proper Python, JavaScript, etc.
  • Call it 'pseudo code'.

26 of 34

Example: When to write code

What part should be written in code?

  • Consider the Boolean expression in the first conditional statement included in part (i) of the Procedure section of your Personalized Project Reference. Write a modified expression with an additional logic operator that will change the conditions for executing the code in the body. Then, explain how the modification impacts whether the code in the body of the conditional statement executes.

27 of 34

Example: When to write code

  • Consider the Boolean expression in the first conditional statement included in part (i) of the Procedure section of your Personalized Project Reference. Write a modified expression with an additional logic operator that will change the conditions for executing the code in the body. Then, explain how the modification impacts whether the code in the body of the conditional statement executes.

28 of 34

Example: When to write code

What part should be written in code?

  • Consider the procedure included in part (i) of the Procedure section of your Personalized Project Reference. Describe a change to your procedure that will result in a run-time error. Explain why this change will result in a run-time error.

29 of 34

Example: When to write code

  • Consider the procedure included in part (i) of the Procedure section of your Personalized Project Reference. Describe a change to your procedure that will result in a run-time error. Explain why this change will result in a run-time error.

30 of 34

Example: When to write code

What part should be written in code?

  • Consider the list identified in the List section of your Personalized Project Reference. Describe how your program could be written without the use of a list. If it is not possible for your program to work without the use of a list, describe how your program's functionality would be limited.

31 of 34

Example: When to write code

  • Consider the list identified in the List section of your Personalized Project Reference. Describe how your program could be written without the use of a list. If it is not possible for your program to work without the use of a list, describe how your program's functionality would be limited.

32 of 34

Tips & Tricks

Simplify the Prompt:

Wordy prompts don't need to be overwhelming.

Don't Misjudge Your Code:

Remember, your submission is not infallible. That's ok.

Consider How to Explain Algorithms:

Writing code/pseudocode is often a good idea.

33 of 34

College Board Resources

34 of 34

Resources