Seventh graders learn about functions — reusable, named blocks of code that do a specific job — and how parameters and return values let one function work for many situations, keeping programs shorter and cleaner.
Students will be able to…
Great coders don’t repeat themselves. Instead of writing the same code over and over, they package it into a function they can reuse. What is a function, and why is it so powerful?
Project this and tap each idea. Have students explore what a function is, why to use one, and how it works.
Tap any phase to open the teacher moves and student actions.
Great coders don’t repeat code — they package it. 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/functions to organize code and hide detail.
Incorporate existing code and functions.
Use variables and functions together.
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 write (in plain language or code) a simple function like “greet(name)” and show how calling it with different names works. 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.