Lesson 4

Survival meters

In this lesson, students are introduced to variables. Students will create three variables that will be used as health meters for their characters, such as wisdom, happiness, hunger, etc. They will learn how to set the value of a variable, determine the initial values of their variables, how their survival items will increase their variables, and ultimately add code to their program to continually decrease the value of their variables while the program is running.

school
Grade 4
local_library
Subject Language Arts
schedule
Length of lesson 50 minutes

Learning objective

Students will use commands to modify the value of variables.

Standards

🌐 CSTA Standards

  • 1B-AP-09: Create programs that use variables to store and modify data.
  • 1B-AP-10: Create programs that include sequences, events, loops, and conditionals

🇺🇸 Common Core Standards

  • CCSS.ELA-LITERACY.W.4.3: Write narratives to develop real or imagined experiences or events using effective technique, descriptive details, and clear event sequences.

Multi-lesson projects

Students will use the same project across multiple lessons.

Lesson contents

Scratch projects

Logic and lore

Student resource

Multi-lesson project

Students will use the same project across multiple lessons