Please enable JavaScript to use CodeHS

New Mexico Tech Apps and Coding

Lesson 1.8 Functions

Description

In this lesson, students are introduced to functions. They start with the basics of defining a function and why we need them and will revisit a program they coded earlier in the unit to rewrite it using functions.


Objective

Students will be able to:

  • Define a function
  • Call a function
  • Explain why functions are used