Course D (2020) : ! Sequencing
Course D (2020) : ! Sequencing
Students develop their understanding of loops, conditionals, and events. Beyond coding, students learn about digital
citizenship.
! Teacher resources
Current section
LL1-1-C + Assigned
! Sequencing
By "programming" one another to draw pictures, students get an opportunity to - Send to students
experience some of the core concepts of programming in a fun and accessible way.
The class will start by having students use symbols to instruct each other to color . Visible , Hidden
squares on graph paper in an effort to reproduce an existing picture. If there’s time,
the lesson can conclude with images that the students create themselves.
Unplugged Activity
In this set of puzzles, students will begin with an introduction (or review depending - Send to students
on the experience of your class) of Code.org's online workspace. There will be
videos pointing out the basic functionality of the workspace including the Run , . Visible , Hidden
Reset , and Step buttons. Also discussed in these videos: dragging Blockly
blocks, deleting Blockly blocks, and connecting Blockly blocks. Next, students will
practice their sequencing and debugging skills in maze. From there, students will
see new types of puzzles like Collector, Artist, and Harvester when they learn the
very basics of loops.
2 3 4 5 6 7
' 8 Challenge
9 10
This activity will begin with a short lesson on debugging and persistence, then will - Send to students
quickly move to a race against the clock as students break into teams and work
together to write a program one instruction at a time. . Visible , Hidden
Unplugged Activity
In this online activity, students will practice debugging in the "collector" - Send to students
environment. Students will get to practice reading and editing code to fix puzzles
with simple algorithms, loops and nested loops. . Visible , Hidden
2 3 4 5 6
' 7 Challenge
8 9
! Events
In this online activity, students will learn what events are, and how computers use - Send to students
them in programs like video games. Students will work through puzzles making the
program react to events (like arrow buttons being pressed.) At the end of the . Visible , Hidden
puzzle, students will have the opportunity to customize their game with different
speeds and sounds.
1 2 3 4 5 6 7
In this lesson, students will practice using events to build a game that they can - Send to students
share online. Featuring R2-D2 and other Star Wars characters, students will be
guided through events, then given space to create their own game. . Visible , Hidden
# 1-9 Practice
1 2 3 4 5 6 7 8 9
In this lesson, students will program their own interactive dance party. This activity - Send to students
requires sound as the tool was built to respond to music.
. Visible , Hidden
# 1 Warm Up
' 2 Practice
# 3-5 Events
3 4 5
# 6-9 Measures
6 7 8 9
# 10-13 Properties
10 11 12 13
# 14 Wrap-up
! Loops
As a quick update (or introduction) to using loops, this stage will have students - Send to students
using the repeat block to get Scrat to the acorn more efficiently.
. Visible , Hidden
1 2
4 5 6 7 8 9
' 10 Challenge
11 12
This lesson builds on the understanding of loops from previous lessons and gives - Send to students
students a chance to be truly creative. This activity doubles as a debugging
exercise for extra problem-solving practice. . Visible , Hidden
2 3
5 6 7 8 9
' 10 Challenge
' 11 Practice
In this online activity, students will have the opportunity to push their - Send to students
understanding of loops to a whole new level. Playing with the Bee and Plants vs
Zombies, students will learn how to program a loop to be inside of another loop. . Visible , Hidden
They will also be encouraged to figure out how little changes in either loop will
affect their program when they click Run .
1 2
' 4 Prediction
5 6 7 8 9
' 10 Challenge
11 12
' 13 Prediction
! Conditionals
This lesson demonstrates how conditionals can be used to tailor a program to - Send to students
specific information. We don’t always have all of the information we need when
writing a program. Sometimes you will want to do something different in one . Visible , Hidden
situation than in another, even if you don't know what situation will be true when
your code runs. That is where conditionals come in. Conditionals allow a computer
to make a decision, based on the information that is true any time your code is run.
Unplugged Activity
Up until this point students have been writing code that executes exactly the same - Send to students
way each time it is run - reliable, but not very flexible. In this lesson, your class will
begin to code with conditionals, allowing them to write code that functions . Visible , Hidden
differently depending on the specific conditions the program encounters.
# 1 Conditionals: If Statements
' 2 Prediction
3 4 5 6 7
' 9 Practice
' 10 Prediction
' 11 Challenge
12 13
By the time students reach this lesson, they should already have plenty of practice - Send to students
using repeat loops, so now it's time to mix things up. While loops are loops that
continue to repeat commands while a condition is met. While loops are used . Visible , Hidden
when the programmer doesn't know the exact number of times commands need to
be repeated, but does know what condition needs to be true in order for the loop
to continue repeating. For example, students will be working to fill holes and dig
dirt in Farmer. They will not know the size of the holes or the height of the
mountains of dirt, but the students will know they need to keep filling the holes and
digging the dirt as long as the ground is not flat.
1 2 3
' 5 Prediction
6 7 8 9
' 10 Challenge
11 12
' 13 Prediction
In this lesson, students will learn about until loops. Students will build programs - Send to students
that have the main character repeat actions until they reach their desired
stopping point. . Visible , Hidden
' 1 Practice
' 3 Prediction
4 5 6 7 8
' 9 Challenge
' 10 Practice
' 11 Prediction
Students will practice while loops, until loops, and if / else statements. All - Send to students
of these blocks use conditionals. By practicing all three, students will learn to write
complex and flexible code. . Visible , Hidden
# 1 The Harvester
2 3 4 5 6 7
' 8 Challenge
9 10
' 11 Prediction
! Binary
Though many people think of binary as strictly zeros and ones, students will be - Send to students
introduced to the idea that information can be represented in a variety of binary
options. This lesson takes that concept one step further as it illustrates how a . Visible , Hidden
computer can store even more complex information (such as images and colors) in
binary, as well.
Unplugged Activity
This series of online lessons will have students learning to make images using on - Send to students
and off.
. Visible , Hidden
1 2 3 4 5 6 7 8 9
' 10 Prediction
! Digital Citizenship
This lesson was originally created by Common Sense Education. Online tools are - Send to students
empowering for kids, and they also come with big responsibilities. But do kids
always know what to do when they encounter cyberbullying? Show your students . Visible , Hidden
appropriate ways to take action and resolve conflicts, from being upstanders to
helping others in need.
Unplugged Activity
This capstone lesson takes students through the process of designing, developing, - Send to students
and showcasing their own projects!
. Visible , Hidden
© Google Inc. used with permission. Google Classroom is a trademark of Google Inc.
Privacy Policy | Volunteer to translate our content | Help and support | Terms English
© Code.org, 2021
Engineers from Amazon, Google, and Microsoft helped create these materials.
Minecraft™ © 2021 Microsoft. All Rights Reserved. Star Wars™ © 2021 Disney and Lucasfilm. All Rights
Reserved. Frozen™ © 2021 Disney. All Rights Reserved. Ice Age™ © 2021 20th Century Fox. All Rights
Reserved. Angry Birds™ © 2009-2021 Rovio Entertainment Ltd. All Rights Reserved. Plants vs.
Zombies™ © 2021 Electronic Arts Inc. All Rights Reserved. The Amazing World of Gumball is trademark
and © 2021 Cartoon Network. © Google Inc. used with permission. Google Classroom is a trademark of
Google Inc. Amazon Web Services and the “Powered by AWS” logo are trademarks of Amazon.com, Inc.
or its affiliates in the United States and/or other countries.
Built on GitHub from Microsoft