Eighth graders learn to write functions — named, reusable blocks of code — and to pass in parameters so one function can handle different inputs, a key step toward organized, powerful programs.
Students will be able to…
Copying the same code over and over is a nightmare. Functions let you write it once and reuse it — and parameters make each use flexible. How do functions and parameters work?
Project each item and have students answer about functions. The tool explains functions, parameters, and reuse.
Tap any phase to open the teacher moves and student actions.
Copying code over and over is a nightmare — functions fix that. How?
Students practice.
Students use.
Students modify.
Students conclude.
Aligned to the CSTA K-12 Computer Science Standards and ISTE Standards for Students.
Create procedures with parameters.
Create clearly named variables.
Incorporate existing code into programs.
Computational Thinker.
Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.
Have students describe a function with one parameter they could write for a program. A printable functions sheet is in the Computer Science library.
Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.
A quick self-check with instant feedback, drawn from this lesson’s key terms.
A print-and-go review sheet with a built-in answer key. Tap “Show answer key” to reveal answers, or print the clean version for students.