Loops & Variables
In this unit, students will build upon previous Kid Spark robotics and coding experiences as they explore how to use different types of loops and variables in a program/sketch.
Included Curriculum:
5 Lessons
Minimum Time Commitment:
(11) 60-Minute Class Periods
Grade Level:
6th - 8th
Lessons
While Loops
In this lesson, students will learn how to use while loops to control a simple mechanism. Then, students will build and program a custom design that utilizes a while loop.
For Loops
In this lesson, students will learn how For Loops can be used to repeat a set of commands in a sketch. Then, students will build and program a custom design that utilizes a for loop.
Integer Variables
In this lesson, students will learn how integer variables can be used in a sketch as they create a simple counting device. Then, students will build and program a custom design that includes an integer variable.
Digital Variables
In this lesson, students will learn how to use digital variables in a sketch to create a toggle switch. Then, students will build and program a custom design that includes a digital variable and a toggle switch.
Free Build Challenge
In this lesson, students will apply the knowledge and skills they have acquired throughout the Loops & Variables unit to develop a custom design or invention.
Unit Assessment
In this performance-based assessment, students will complete a series of tasks as they demonstrate their understanding of the core ideas and concepts that were covered throughout this unit.