8-10 yrs old
11-13 yrs old
14-18 yrs old
Computer Science
Explore the concept of a function, tasks or procedures that are used frequently within the same program.
October 2, 2020
Lesson Plan
My Notes
Classroom Presentation
Coding with Minecraft 6-Functions-Presentation
Educator guide
Coding with Minecraft 6-Functions-Educator guide
Overview Video
Functions Overview Video
Student Workbook
All of the following lessons are approximately 45-60 minutes, depending on how much time you give students to explore the coding activities.
Lesson A: Introduction to functions
Lesson B: Coding with functions (Please note that depending on time, this lesson may be broken into two parts by separating the coding activities into separate sessions.)
Lesson C: Building on functions
Lesson D: Get creative with functions
Please review the Coding With Minecraft Educator Preparation Video and Educator Guide attached for additional details.
In this unit, we’ll explore the concept of a function. Often in programming, there are tasks or procedures that are used frequently within the same program. Rather than rewrite the lines of code that perform a particular task each time you need it, you can group that set of instructions together as a function. Grouping frequently used instructions as a function makes your code more efficient. You can write the set of instructions once as a function and from then on simply ‘call’ the function from inside your program whenever you need that task done. A function is usually given a name that describes the task it will perform when called, making your code easier to read, too!
By the end of this unit, students will be able to:
Please review the Assessment Guide for additional details.
Sign up for the Minecraft: Education Edition newsletter. We promise to respect your inbox.