2025 Set2 Prompts
Set 2 Set 2 Scores Set 2 Chief Reader Report Samples#1 Samples#2
Set 2 Set 2 Scores Set 2 Chief Reader Report Samples#1 Samples#2
1. Identify an unexpected or invalid input that a user could provide to your program. Describe the behavior of your program after it receives this input. If it is not possible for your program to accept an unexpected or invalid input, explain why this is the case.
The written response:
identifies an invalid or unexpected input to the program.
describes the behavior of the program after it receives the identified input.
OR
explains why it is not possible for the program to accept invalid or unexpected input.
Consider the Video, or Program Code if necessary, and Response 1 when scoring this point.
If the video is not available, consider the full program code file when scoring this point.
Either a specific example of the input or a description of the input can meet this criteria.
If the response identifies more than one invalid or unexpected input, it only needs to correctly describe the behavior of the program for one of these inputs.
Do NOT award a point if any of the following is true:
The identified invalid or unexpected input is implausible, inaccurate, or inconsistent with the program.
The response does not provide details of the behavior of the program after it receives an invalid or unexpected input (e.g., by stating that it just doesn’t work) or does not give a plausible explanation why the program cannot accept invalid or unexpected input.
2a. Refer to your Personalized Project Reference when answering this question.
Consider the first selection statement included in the Procedure section of your Personalized Project Reference. Identify the Boolean expression in this selection statement. Identify a specific value or set of values that will cause this expression to evaluate to false. Explain why the specified value(s) will cause this expression to evaluate to false.
The written response:
identifies the Boolean expression in the first selection statement.
identifies a specific value or set of values that will cause the Boolean expression of the selection statement to evaluate to false.
explains why the specified value or set of values will cause the expression to evaluate to false.
Consider the PPR and Response 2a when scoring this point.
If multiple selection statements are included in the Procedure section of the PPR, use the first selection statement to determine whether the point is earned.
The selection statement does not need to be contained in a procedure to earn this point.
The response does not have to explicitly state the Boolean expression as long as it is described.
The identified Boolean expression can include the header of the selection statement (e.g., if (x > 2) instead of x > 2).
The response may earn this point for a selection statement that either does or does not contain an else clause.
Do NOT award a point if any of the following is true:
The Procedure section of the PPR does not contain a selection statement.
The identified Boolean expression does not match the code in the first selection statement.
The identified value or set of values that will cause the expression to evaluate to false does not match the code in the first selection statement.
The response identifies a Boolean expression or value (or set of values) that is implausible, inaccurate, or inconsistent with the program.
2b. Refer to your Personalized Project Reference when answering this question.
Consider the code segment in part (ii) of the List section of your Personalized Project Reference. Suppose another programmer modifies this code segment. Describe a modification the other programmer could make to this code segment that would result in a logic error. Explain why this modification would result in a logic error.
The written response:
describes a modification another programmer could make to the code that would result in a logic error.
explains why this modification would result in a logic error.
Consider the PPR and Response 2b when scoring this point.
The modification can be changing code, adding code, and/or deleting code.
The modification does not need to be to the list itself; it can be to any part of the code included in part (ii) of the List section of the PPR.
A logic error is a mistake in an algorithm or program that causes it to behave incorrectly or unexpectedly. Responses that describe a modification that would lead to the program crashing may earn this point.
The response may describe more than one modification that leads to a logic error. If the response describes more than one modification, every modification must be explained correctly.
Do NOT award a point if any of the following is true:
A list (or other collection type) is not included in part (ii) of the List section of the PPR.
The response does not apply to the code in part (ii) of the List section of the PPR.
The response states only that the program will not run without further explanation.
The response describes a modification or change in behavior that is implausible, inaccurate, or inconsistent with the program.
The response includes an explanation that is implausible, inaccurate, or inconsistent with the program or the described modification.
2c. Refer to your Personalized Project Reference when answering this question.
Consider the procedure identified in part (i) of the Procedure section of your Personalized Project Reference. Describe the functionality provided by this procedure. Explain how implementing this functionality as a procedure results in your program being easier to maintain than if the functionality were not implemented as a procedure.
The written response:
describes the functionality provided by the identified procedure.
explains how implementing this functionality as a procedure results in the program being easier to maintain than if the functionality were not implemented as a procedure.
Consider the PPR and Response 2c when scoring this point.
If multiple procedures are included in part (i) of the Procedure section of the PPR:
Use the procedure referenced in the written response to determine whether the point is earned.
If no procedure is referenced in the written response, then use the first procedure to determine whether the point is earned.
The written response does not need to reference a parameter; however, if it does reference a parameter, the parameter can be explicit or implicit.
Do NOT award a point if any of the following is true:
A procedure is not included in part (i) of the Procedure section of the PPR.
The response does not apply to the procedure in part (i) of the Procedure section of the PPR.
The response includes an explanation that is implausible, inaccurate, or inconsistent with the procedure.