2. Preparation
This helps the teacher prepare for the lesson before the class session
B. Background Knowledge (Optional)
C. Lesson Tips (Optional)
Add tips for the educator that don't fit into Direct Instruction or Student Practice. You can always return to this page to add more.
- Students are not expected to fully understand how functions work by the lesson’s conclusion. Students should leave this lesson understanding that functions are a way to create groupings of code that will be executed in the same way each time. While this lesson does not cover the full aspects of functions, it serves as a scaffold and launching point for students to understand the concept.
- During this lesson, clarify the difference between loops and functions. Loops consecutively repeat bits of code, while functions repeat bits of code in many different places and must be “called”.
- The objective of this lesson is to have students take a “high level” action and break it down into “low level” actions. They will be able to execute the function, but won’t necessarily be able to place it and call it within a larger context of code. They will build on their learning in the next lessons when they build functions and include them in their code.
4. Student Practice (Student-Facing Instructions)
These are step-by-step instructions delivered directly to the students as they work independently or in groups
Student Instructions
Instruction
Look at the “Racecar” function. Record a behavior and three color codes.
Please upload any student resources, videos, etc. (Max. size: 512 MB videos, 10 MB all other files)
Goal
Instruction
Draw your color code and execute the function.
Please upload any student resources, videos, etc. (Max. size: 512 MB videos, 10 MB all other files)
Goal
Instruction
Look at the “Baby” function. Record a behavior and three color codes.
Please upload any student resources, videos, etc. (Max. size: 512 MB videos, 10 MB all other files)
Goal
Instruction
Draw your color code and execute the function.
Please upload any student resources, videos, etc. (Max. size: 512 MB videos, 10 MB all other files)
Goal
Instruction
Look at the “Snake” function. Record a behavior and three color codes.
Please upload any student resources, videos, etc. (Max. size: 512 MB videos, 10 MB all other files)
Goal
Instruction
Draw your color code and execute the function.
Please upload any student resources, videos, etc. (Max. size: 512 MB videos, 10 MB all other files)
Goal
Instruction
Look at the “Dog” function. Record a behavior and three color codes.
Please upload any student resources, videos, etc. (Max. size: 512 MB videos, 10 MB all other files)
Goal
Instruction
Draw your color code and execute the function.
Please upload any student resources, videos, etc. (Max. size: 512 MB videos, 10 MB all other files)
Goal
Lesson Extension (Optional)
Add student instructions for a lesson extension.
Instruction
Using the blank Student Practice Worksheet, create your own function. List its name, behavior, and color codes.
Please upload any student resources, videos, etc. (Max. size: 512 MB videos, 10 MB all other files)
Goal
Instruction
Draw the color code and execute the function.
Please upload any student resources, videos, etc. (Max. size: 512 MB videos, 10 MB all other files)
Goal
5. Supplements
A. Lesson Closure (Optional)
Give tips for how to wrap up the lesson and assess student learning. (Want to add an attachment? Use Part C, below.)
A. Initiate a discussion by asking, “How did you use a color code to create a function?” and “Give an example of a color code you used. How did that color code mimic the behavior you were attempting to display?”
B. Optional: For students that created their own “pop star” functions, have their Ozobot perform in a “Pop Star” Competition.
B. Academic Standards (At least one standard required)
Choose a category from the dropdown on the left. In the blank on the right, begin typing the number of the standard.
csta-1b-ap-11 ✖
C. Add Other Attachments (Optional)
Please upload any student handouts, videos, sample solutions, etc. (Max. size: 1 GB videos, 10 MB all other files)
Add Cover Image