Lesson 4

What is your question?

In this lesson, students explore how user input can be stored within a program through a variable. They will learn how to automatically add a user’s question to a new list. From there, they will test their program and discuss how they might modify their program to ensure that users receive a random response after asking a question. They will use a pick random block to randomly select an item from a list. To conclude the lesson, students will test a partner’s program.

school
Grade 5
local_library
Subject Science, Math
schedule
Length of lesson 50 minutes

Learning objective

Students will store user data in a list.

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
  • 1B-AP-15: Test and debug (identify and fix errors) programs.
  • 1B-AP-16: Take on varying roles, with teacher guidance, when collaborating with peers during the design, implementation, and review stages of program development
  • 1B-DA-06: Organize and present collected data visually to highlight relationships and support a claim

Multi-lesson projects

Lesson contents

Scratch projects

What are the odds?

Student resource

Multi-lesson project

Students will use the same project across multiple lessons