In this lesson, students learn about functions and parameters in the context of Python which builds on their prior knowledge of working with functions in Karel. This lesson focuses specifically on defining and calling functions, and passing simple, single parameters to functions.
Students will be able to:
In this lesson, students will work with and will define and call their own functions that take in multiple parameters as input and print out output.
Students will be able to:
In this lesson, students continue working with multiple parameters that create graphics as output which is very useful, since creating several different graphical objects involves writing the same code over and over again (set the size, set the color, set the location, etc).
Students will be able to:
In this lesson, students learn about return values so they can write functions that do some work and send the result back or use later in the program.
Students will be able to:
In this lesson, students work with and define functions with return values and more than one parameter.
Students will be able to…
In this lesson we explore the scoping of a variable, which is where the variable is “defined” or where it exists.
Students will be able to:
In this lesson, students explore Python’s way of handling errors with exceptions.
Students will be able to:
In this lesson, students will apply what they learned during the Functions and Parameters module to create their own Ghost drawings.
Students will be able to…
This lesson is a summative assessment of the unit’s learning objectives.
Assess student achievement of the learning goals of the unit