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.
Included Curriculum:
5 Lessons
Minimum Time Commitment:
(11) 60-Minute Class Periods
Grade Level:
6th - 8th
Lessons
Repeat Loops
![8141](/sites/default/files/styles/large/public/media/8141.jpg?itok=dxx1SCSx)
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.
Lesson Time:
120 Minutes
STEM Lab: STEM Pathways Lab
While Loops
![8142](/sites/default/files/styles/large/public/media/8142.jpg?itok=-TbzLeUO)
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.
Lesson Time:
120 Minutes
STEM Lab: STEM Pathways Lab
Integer Variables
![](/sites/default/files/styles/large/public/media/8142-b.jpg?itok=fc5-8We6)
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.
Lesson Time:
120 Minutes
STEM Lab: STEM Pathways Lab
Boolean Variables
![](/sites/default/files/styles/large/public/media/8143.jpg?itok=h_pzGEab)
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.
Lesson Time:
120 Minutes
STEM Lab: STEM Pathways Lab
Free Build Challenge
![](/sites/default/files/styles/large/public/media/coverdesign.jpg?itok=7jHXt5UU)
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.
Lesson Time:
60 - 120 Minutes
STEM Lab: STEM Pathways Lab
Unit Assessment
![cover_assesment](/sites/default/files/styles/large/public/media/coverassesment_0.jpg?itok=bHu4Imfm)
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.
STEM Lab: STEM Pathways Lab