Tenth graders learn to reuse code with libraries and modules — collections of pre-written, tested code you can import instead of writing from scratch. Python’s standard library and installable packages save time and effort. They explore the ideas, then use a module.
Students will be able to…
Why reinvent the wheel when you can reuse code others wrote?
Project this and tap each. Have students explore libraries and modules.
Tap any phase to open the teacher moves and student actions.
Need a random number or a square root — do you really code that yourself?
Students learn.
Students practice.
Students apply.
Students close.
Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students.
Incorporate existing code and libraries.
Modify and remix using libraries.
Test programs that use modules.
Build on existing computational work.
Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.
Have students use a module function in a small program. A printable module sheet is in the CS 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.