Bug Hunt: Debugging Printed Code
Students read six short Python-style programs, match each to a type of bug, and write a corrected line.
THE LESSON LIBRARY
Find a lesson that fits your subject, your students, and the time you have.
Students read six short Python-style programs, match each to a type of bug, and write a corrected line.
Students read an original passage on conditionals and comparison operators, then answer 11 questions (two multiple choice) that ask them to trace if, elif and else code by hand, spot an ordering…
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.
Students read an original passage on variables and the four basic data types, then answer 11 questions (two multiple choice) that ask them to classify values, pick valid variable names and trace…