This lesson is intended to extend the use of custom methods by teaching the use of parameters. This should be used in conjunction with or after the lesson on making procedural methods. Using parameters on custom methods both procedural and functional is an important way to extend their functionality and for teaching how to pass data inside of a program. This lesson makes use of an understanding of data types so can be supplemented with the short lesson materials on data types. This lesson also touches on the concept of variables so can be supplemented with some of the content included in the variables lesson.
*This lesson is under development with the facilitation guide, tutorials, exercises, and assessments still to come.
Learning Objectives Covered in this Lesson
• What is a Parameter?
• How is a parameter used to pass data
The Skills addressed in this lesson are:
How to add a parameter to a custom method
How to use a method with a parameter
Other helpful lessons that can help understand terms used in this lesson are data types and arithmetical expressions.