AP CSP Procedure Shop Game | Choosing Parameters | Topic 3.13

Procedure Shop

Three lines that nearly repeat. Decide what varies, because that and only that becomes a parameter

Job 1 / 7 Clean: 0 Score: 0

How to play: these call sites do nearly the same thing. Switch on the parts that CHANGE between them, since those are the parameters, and leave the parts that never change to be written once inside the procedure. Extract it and every call site is rebuilt from your procedure to see whether it still works.

Every call site, rebuilt from your procedure

Get in Touch

Whether you're a student, parent, or teacher — I'd love to hear from you.

Just want free AP CS resources?

Enter your email below and check the subscribe box — no message needed. Students get daily practice questions and study tips. Teachers get curriculum resources and teaching strategies.

Typically responds within 24 hours

Message Sent!

Thanks for reaching out. I'll get back to you within 24 hours.

🏫 Welcome, fellow educator!

I offer curriculum resources, practice materials, and study guides designed for AP CS teachers. Let me know what you're looking for — whether it's classroom materials, a guest speaker, or Teachers Pay Teachers resources.

Email

[email protected]

📚

Courses

AP CSA, CSP, & Cybersecurity

Response Time

Within 24 hours

Prefer email? Reach me directly at [email protected]