1. Early-unit written response practice: three short tasks using a supplied example program. This adapts tracing, testing, and data reasoning from the written-response task family. It does not assess the full Create/PPR requirements for lists, iteration, or student-developed procedures. No personal project, code file, or video is required.
A school club wants a sign-in kiosk to display a greeting containing the visitor’s entered name. The following program is its prototype. INPUT reads the entered text, ← assigns a value to a named variable, + joins text, and DISPLAY shows text on the screen. The visitor enters Maya.
</>TEXTname ← INPUT() message ← "Hello, " + name DISPLAY(message)
Describe the sequence of actions the program performs and identify its displayed output for the supplied input.
Propose a different name as test input and state the exact expected output. Explain how this test checks the kiosk’s stated design requirement.
Suppose the first line is changed to name ← "Maya" so that it no longer reads input. Explain one limitation this change would create for visitors other than Maya and why the original input variable avoids that limitation.
Your Program Code
For the AP CSP Create Performance Task, you need to submit your program code along with your written responses. Generate sample code to practice with, or paste your own code here.
00:00