Trick-or-Treat Tracker: Loops and Conditionals

A full lesson on tracing Python by hand. It teaches variables, lists, for and while loops, if and else with two worked traces and hinted practice, then students trace three Halloween programs, predict the output and write their own.

First page of the worksheet “Trick-or-Treat Tracker: Loops and Conditionals”
Download PDF

For members. Join for $119.88 a year to download every Grade 6 worksheet.

Grade
Grade 6
Subject
Technology
Skill
Trace a program that combines loops and conditionals and predict its output
Time
About 60 minutes
Includes
11 questions, answer key, teaching notes
Occasion
Halloween

Standards

  • CSTA 2-AP-12

    Design and iteratively develop programs that combine control structures, including nested loops and compound conditionals.