Grade 5 Earth and Space Systems
Lesson Summary: Students will create a playable quiz game that demonstrates the impact of different forms of energy
and energy use on humans and the environment.
Curriculum Expectations: These expectations are intended to highlight the many ways in which this lesson could support
the curriculum. It is neither expected nor necessary for teachers to address all of these expectations at once. Teachers
are encouraged to select the most relevant expectations based on their unique context and intentions for the lesson.
Science & Technology
Mathematics
Language - Writing
Overall Expectations
A2. use coding in investigations and
to model concepts and assess the
impact of coding and of emerging
technologies on everyday life and in
STEM-related fields
A3. demonstrate an understanding of
the practical applications of science
and technology, and of contributions
to science and technology from
people with diverse lived experiences
E1. assess effects of energy and
resource use on society and the
environment, and suggest options for
conserving energy and resources
E2. Demonstrate an understanding of
the conservation of energy, and the
forms, sources, and uses of energy
and resources
Specific Expectations
A2.1 write and execute code in
investigations and when modelling
concepts, with a focus on using
different methods to store and
process data for a variety of
purposes
A2.2 identify and describe impacts of
coding and of emerging technologies
on everyday life
A3.3 analyse contributions to science
and technology from various
communities
E1.1 analyse long-term impacts of
human uses of energy and natural
resources, on society and the
environment, including climate
change, and suggest ways to mitigate
these impacts
E1.2 evaluate effects of various
technologies on energy consumption,
and describe ways in which
individuals can use technology to
reduce energy consumption
E1.3 analyse how First Nations, Métis,
and Inuit communities use their
Overall Expectations
C3. solve problems and create
computational representations of
mathematical situations using coding
concepts and skills
Specific Expectations
C3.1 solve problems and
create computational
representations of mathematical
situations by writing and executing
code, including code that
involves conditional statements and
other control structures
C3.2 read and alter existing code,
including code that involves
conditional statements and other
control structures, and describe how
changes to the code affect
the outcomes
Overall Expectations
1. Generate, gather, and organize
ideas and information to write for an
intended purpose and audience
2. draft and revise their writing, using
a variety of informational, literary,
and graphic forms and stylistic
elements appropriate for the purpose
and audience
Specific Expectations
1.1 identify the topic, purpose,
audience, and form for writing
1.2 generate ideas about a potential
topic, using a variety of strategies and
resources
1.3 gather information to support
ideas for writing in a variety of ways
and/or from a variety of sources
1.4 sort ideas and information for
their writing in a variety of ways
1.5 identify and order main ideas and
sup- porting details into units that
could be used to develop a short,
simple para- graph, using graphic
organizers
1.6 determine whether the ideas and
information they have gathered are
relevant and adequate for the
purpose, and gather new material if
necessary
2.1 write short texts using a variety of
forms
2.3 use words and phrases that will
help convey their meaning as
specifically as possible
2.4 vary sentence structures and
maintain continuity by using joining
words (e.g., and, or) to combine
simple sentences and using words
that indicate time and sequence to
link sentences
2.6 identify elements of their writing
that need improvement, using
feedback from the teacher and peers,
with a focus on specific features
knowledges and ways of knowing to
conserve energy and resources
E2.1 identify a variety of forms of
energy, and describe how each form
is used in everyday life
E2.2 demonstrate an understanding
of the law of conservation of energy,
including how energy cannot be
created or destroyed but can only be
transformed from one form to
another
E2.3 describe how energy is stored as
potential energy and transformed in
a given device or system
E2.4 demonstrate an understanding
that when energy is transformed
from one form to another, some
energy may dissipate into the
environment in the form of heat,
light, and/or sound energy
E2.5 identify renewable and non-
renewable sources of energy
E2.6 explain how the use of energy
derived from fossil fuels changes the
composition of the atmosphere and
how these changes contribute to
climate change
2.7 make revisions to improve the
content, clarity, and interest of their
written work, using several types of
strategies
3.4 use punctuation to help
communicate their intended
meaning, with a focus on the use of:
quotation marks to indicate direct
speech; commas to mark
grammatical boundaries within
sentences; capital letters and final
punctuation to mark the beginning
and end of sentences
3.8 produce pieces of published work
to meet identified criteria based on
the expectations related to content,
organization, style, use of
conventions, and use of presentation
strategies
Breaking Down the Coding Expectations in Science & Technology:
In the Grade 5 Science & Technology curriculum, there are 2 coding related expectations:
A2.1 write and execute code in investigations and when modelling concepts, with a focus on using different
methods to store and process data for a variety of purposes
A2.2 identify and describe impacts of coding and of emerging technologies on everyday life, including skilled
trades
To paraphrase these expectations and express them in plainer language, students are being asked to:
write code to demonstrate a science-related concept, focusing on using data to influence code
show how coding impacts our lives
Both expectations will be addressed through the project.
Learning Goals: We are learning to write code to create a playable quiz game to teach others about the impact of
different forms of energy and energy use on humans and the environment.
Success Criteria:
1. I can use a variety of event blocks to control the flow of my program
2. I can use conditionals to evaluate a player’s response
3. I can collect, store, and process data from the player to change the outcome of my program
4. I can describe different types of energy and their impacts
STEM Profile:
Dr. Rose Mutiso is a Kenyan energy researcher and activist who is trying to help solve
the energy crisis in developing countries.
Rose knows that access to renewable, sustainable, and affordable energy is important
for addressing the impacts of poverty without worsening the climate crisis. On top of
working for the U.S. Department of Energy and being the research director of the Energy
for Growth Hub, she also works with the Mawazo Institute to train more women in
research and engineering to support the energy sector in countries like Kenya. In 2020,
Rose was shortlisted for the Pritzker Emerging Environmental Genius Award.
If we want to be like Rose, then we will need to understand the impact of different forms
of energy so we can help ensure access to energy for all as well as protect our planet.
Let’s get started!
Minds On:
1. Students will have different experience levels when it comes to coding.
a. If students have never experienced coding before, please watch the “What is Coding?” video.
b. If students have experienced coding before, have a quick discussion in which students share their definition
of coding. Some responses to look for include:
i. Coding is the language that computers speak
ii. Coding is how we talk to computers or get computers to do what we want
iii. Coding is the instructions that we give to a computer
2. Introduce the idea of a conditional, a statement that allows the computer to respond to different situations (or
conditions) based on a certain set of criteria. There are two main types of conditionals.
a. If/then conditionals are only able to respond to one condition. You can create multiple conditionals to
respond to different data, but each conditional on its own is just able to respond to one condition. Some
real-life examples include:
If it is raining, then bring an umbrella
If you are hungry, then eat a snack
If it is cold outside, then wear a sweater
b. If/then/else conditionals are slightly different. The else can be thought of as a “none of the above” option,
similar to a multiple choice test. The else will only run if the condition for the if/then is false. Some real-
life examples include:
If it is raining, then bring an umbrella, else leave the umbrella at home
If you are hungry, then eat a snack, else don’t eat a snack
If it is cold outside, then wear a sweater, else wear a t-shirt.
Discussion: Can students think of other real-life examples of conditional statements?
3. Brainstorm with students to generate ideas for their game. For this project, students are encouraged to include a
mix of between three and ten questions about the impacts of energy on humans and the environment, as well as
strategies that can be used to reduce this impact. Some sample prompts include:
o What are different forms of energy?
o What do we use energy for?
o What are the effects of ____ energy on humans and the environment?
o Which forms of energy have the least or most impact on humans and the environment?
Planning Our Project:
Provide students with the animated story project planner and encourage students to create between three and ten
questions for their game. Students should outline of their questions by drawing pictures and writing a few words or
sentences, including any dialogue that will appear on screen, and starting to plan their code, if applicable. Teachers may
wish to provide a list of words from which to choose, a scribe, or other assistive technology to support students.
Creating Our Project:
Since every student’s project will be unique, there is no single, step-by-step set of instructions to follow; however, the
information below will support your students in the general process of creating a game, as well as key features that they
will likely want to include. This sample code further demonstrates how the project might work and please note that
there is code included for each of the sprites and the stage. For your reference, Scratch determines where to display
sprites and controls movement using a Cartesian coordinate system, with (0,0) being the center of the screen and it may
be helpful to pre-teach this concept, if it is one with which students are unfamiliar.
Part 1: Set Up
1. Use the Choose a Backdrop button and select the Paint Editor to create a series of backdrops that include the
answers to each question that will be asked. Each question should have its own backdrop that includes just the
answers for that question (i.e., the question will be included as part of your code) and be sure to name your
backgrounds clearly.
2. Choose a sprite to serve as the “host” of your game. All code written for this project will be in this sprite.
Part 2: Opening Scene & Score
1. Add the When Green Flag Clicked block and use the Go To X () Y () block to position your sprite
2. In the Variables menu, create a variable called Score and uncheck the variable so it does not appear on screen.
3. Use the Set () to () block to set the Score variable to 0.
4. Using as many Say () for () Seconds blocks as needed, provide information that the player needs to know at the start
of the game, including but not limited to:
a. Introduce the sprite as the host
b. Explain the goal of the game
c. Explain how the player will be presented questions and be able to answer them
5. Finally, add a Say () block and instruct the player to press the space bar to begin the game.
6. Use a Wait Until () block and drag a Key () Pressed? block from the blue Sensing menu into the empty space of the
Wait Until () block. Set it to the Space key.
7. Finally, add a Switch Backdrop To () block and set it to switch to the background that represents your first question.
Part 3: Setting Up Question 1
1. Add the When Backdrop Switches To () event block and set it to match your background that represents your first
question.
2. Use the Go To X () Y () block to reposition your sprite, if necessary.
3. Use the Ask () And Wait block from the blue Sensing menu to ask the question that the player is expected to answer.
The answer options should be shown as part of your background.
4. Drag out an If () Then, Else block add a () = () block from the green Operators menu to the black space of the If ()
Then, Else block.
5. In the first blank space of the () = () block, add the Answer block from the blue Sensing menu. In the second blank
space, add the letter that matches the correct answer for your quiz question.
6. The If Then section of the If () Then, Else block will run if the player inputs the correct answer. In this section, add:
a. A Change () By () block from the orange Variables menu. Set it to match the Score variable and to increase
by 1.
b. Use a Say () for () Seconds block to display a message to the player showing that they selected the correct
answer.
7. The Else section of the If () Then, Else block will run if the player inputs the incorrect answer. In this section, just
add a Say () for () Seconds block to display a message to the player showing that they selected the incorrect answer.
8. Finally, outside of the If () Then, Else block add a Switch Backdrop To () block and set it to the background for your
second question.
Part 4: Setting Up Additional Questions
1. Repeat the steps in Part 3 for all subsequent questions, using a new When Backdrop Switches To () event block to
trigger the code for that question and the final Switch Backdrop To () block being changed to move on to the
following question. Make sure that the Answer = () operator aligns with the correct answer.
2. To save time, you can right click on a section of code and select Duplicate in order to make an exact copy of code
that has already been written.
Part 5: Ending the Quiz Game
1. In the line of code for the final quiz question, ensure that the Switch Backdrop To () block is set up to change to the
background you created for your end game screen.
2. Use a When Backdrop Switches To () event block to trigger the end game screen.
3. Reposition your sprite using the Go To X () Y () block if necessary and add a Say () block.
4. Add a Join () () block from the green Operators menu to the blank space of the Say () block
5. In the first blank space of the Join () () block, write the beginning of a message that will tell the player what their
final score was (do not include any number for the score).
6. In the second blank space of the Join () () block, drag the round Score block that was created in Part 2 from the
orange Variables menu. This will ensure that the score displayed to the user represents the actual number of
questions they got correct and will change each time the game is played, depending on the player’s performance.