Program Function and Purpose FRQ Practice

Responses receive AI feedback against a rubric after submission. Scores are practice estimates.

Question 1 of 5

A maker club builds ButtonLights: pressing Button 1 lights a red LED; pressing Button 2 lights a green LED.

(a) Identify the program's purpose.

(b) Name the events that drive the program.

(c) Explain one way you could test that the purpose is met.

Question 2 of 5

Consider:

score ← 0
REPEAT 3 TIMES
{
    points ← INPUT()
    score ← score + points
}
DISPLAY(score)

A coach uses this during three practice drills.

(a) Trace the output if inputs are 2, 5, and 4.

(b) State the program's purpose for the coach.

(c) Describe one change that would better match a purpose of "show the average drill score."

Question 3 of 5

Marketing text for PathFind says "the friendliest map." The app only shows latitude/longitude numbers with no map graphic.

(a) Explain the mismatch between claimed purpose tone and actual function.

(b) Propose a purpose statement that matches the current function.

Question 4 of 5

An accessibility office needs software whose purpose is describing images for screen-reader users.

(a) List two program behaviors that would support that purpose.

(b) List one behavior that would not support it even if popular.

Question 5 of 5

A hospital wristband printer's intended purpose is producing correct patient ID bands before procedures.

(a) Identify two outputs that should exist if the purpose is met.

(b) Describe a scenario where the program runs without error messages yet still fails its purpose.

(c) Explain how a stakeholder walk-through could reveal that failure.