Technology & computer science
Be the Computer: Tracing Variables and Loops
Students trace short programs by hand, tracking how variables change inside for loops, while loops and an if statement.
THE LESSON LIBRARY
Find a lesson that fits your subject, your students, and the time you have.
Students trace short programs by hand, tracking how variables change inside for loops, while loops and an if statement.
Students trace short Python-style functions on paper, match key vocabulary, and write two small functions of their own.
Students read and trace Python-style lists, use index numbers starting at zero, and predict what happens when a list changes.