View All Materials

Lesson:

Fireplace Variables

Coding

Experience Level

Grades 3-5

Grades 6-9

Duration

10-15 minutes

Group Size

Individual

Small Groups (2-4)

Compatible Robots

Root SimBot

Root rt0 Coding Robot

Root rt1 Coding Robot

Details

Use variables to code Root to glow and flicker different colors like a flame in a fireplace.

Downloads & Resources

Fireplace Demonstration Fireplace Variables Activity Guide Fireplace Example Project
Educational Standards

CSTA K-12 CS Standards

1B-AP-10

Create programs that include sequences, events, loops, and conditionals.

1B-AP-11

Decompose (break down) problems into smaller, manageable subproblems to facilitate the program development process.

1B-AP-12

Modify, remix, or incorporate portions of an existing program into one's own work, to develop something new or add more advanced features.

1B-AP-15

Test and debug (identify and fix errors) a program or algorithm to ensure it runs as intended.

2-AP-11

Create clearly named variables that represent different data types and perform operations on their values.