Unit 5.3

What are the odds?

Will you pass your math test? Will it rain tomorrow? What if there was a program that could answer these questions for you? In this unit, students will learn how to create a program that provides users with a response to a yes or no question. The twist, they get to decide if users will most likely receive a positive, negative or neutral response. They will examine the ethics of storing user data and ensure that their program gives users the ability to opt out of having their personal data stored. To conclude the unit, students will conduct an experiment where their classmates will trial their program and record what type of response they are given. They will compare their expected results with trial data.

school
Grade 5
local_library
Subject Math, Science
schedule
Length of unit 5 hours

Overview documents

1

Developing a plan

Students are introduced to the final project. They will discuss the importance of clear designs and begin developing their program by creating a plan. To conclude the lesson, students will begin implementing their design in Scratch.

2

Without a doubt

Students are introduced to data and discuss how data sets can be written to ensure that users get a certain type of answer. They will create a list of responses and learn how to store these responses in a list in Scratch.

3

When button pressed

Students are introduced to broadcasting. They code their button sprite to send a message to their character sprite. They will learn about different types of inputs and use sensing commands to ask users a question.

4

What is your question?

Students will explore how data inputted by a user can be stored in a variable and added to a list. They will modify their program to store a user’s response in a list. To conclude the lesson, they will test a partner’s program to ensure it runs as intended.

5

Definitely...yes?

Students discuss the importance of transparency when storing personal data in a program. Using a conditional statement students add code to their program so personal data is only stored if a user indicates yes.

6

Experimenting with data

Students, using their program, will have classmates complete trials and record the type of response their program outputs. They will compare their calculations of likelihood to their results before discussing their results and reflections as a class.