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.

Repeat Loops
In this lesson, students will learn how repeat loops can be used to repeat a set of commands in a program. Then, students will build and program a custom design that utilizes a repeat loop.

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.

Integer Variables
In this lesson, students will learn how integer variables can be used in a program as they create a simple counting device. Then, students will build and program a custom design that includes an integer variable.

Boolean Variables
In this lesson, students will learn how to use boolean variables in a program to create a toggle switch. Then, students will build and program a custom design that includes a boolean variable and a toggle switch.