CSF Curriculum Guide 2018 Smaller
CSF Curriculum Guide 2018 Smaller
CSF Curriculum Guide 2018 Smaller
Table of Contents
Table of Contents 1
Curriculum Introduction 2
Lesson and Course Structure 4
Student Practices and Skills 7
Curriculum Values 8
Appendix A:
Unplugged Lesson Plans 35
Appendix B:
Glossary of Vocabulary 293
Appendix C:
Student Skills and Strategies for Tackling Difficult Challenges 299
1
CS Fundamentals Curriculum Guide
Welcome to Computer Science Fundamentals, the Code.org® curriculum designed for students in grades K-5!
This guide has been created to help you navigate the lessons in Courses A-F. It begins with an introduction to
the CS Fundamental curriculum, provides a look into our core values and methods, and closes with a detailed
overview of each course offering. After this valuable information, you will find customized implementation
solutions for many different classroom situations.
All Code.org curriculum resources are free to use under a Creative Commons
Attribution-NonCommercial-ShareAlike 4.0 International License. Our technology is developed as an
open source project.
Curriculum Introduction
Who Made This Suite?
Launched in 2013, Code.org is a non-profit organization
dedicated to expanding access to computer science,
and increasing participation by women and
underrepresented students of color. Our vision is that
every student in every school has opportunity to learn
computer science. We believe computer science should
be part of core curriculum, alongside other courses such
as biology, chemistry, or algebra.
At Code.org, we believe in teamwork. That’s why we’ve partnered up with some of the most innovative
elementary computer science educators in the country to create CS Fundamentals. Our curriculum kick-off
crew included Alana Aaron and Lionel Bergeron from the New York City Department of Education, as well as
Bryan Twarek from the San Francisco Unified School District, Grant Smith of Emerald Data Solutions, Joel
Spencer from the Little Rock School District, and Michael Harvey from Falmouth Elementary School...and that
was only the beginning!
Over the course of one year we successfully designed, implemented, and piloted six modified courses. Our
pilot was open to our dedicated Computer Science Fundamentals Facilitators, as well as thousands of
engaged educators from around the world. With their help, we were able to create this course in a way that
benefits schools of all different shapes and sizes.
2
CS Fundamentals Curriculum Guide
The CS Fundamentals curriculum continue to include lessons on Internet Safety and Digital Citizenship, thanks
to our friends at Common Sense Education.
As always, it is thanks to our generous donors that we were able to develop and offer this curriculum at no cost
to schools, teachers, or students: Microsoft, Infosys Foundation USA, Facebook, Omidyar Network, Google,
Ballmer Family Giving, Ali and Hadi Partovi, Bill Gates, The Bill and Melinda Gates Foundation, BlackRock,
Jeff Bezos, John and Ann Doerr, Mark Zuckerberg and Priscilla Chan, Quadrivium Foundation, Amazon Web
Services, The Marie-Josee and Henry R. Kravis Foundation, Reid Hoffman, Drew Houston, Salesforce, Sean
N. Parker Foundation, Smang Family Foundation, Verizon.
The lessons in CS Fundamentals are presented with the understanding that many teachers will not have any
previous computer science training, and educators are therefore encouraged to learn along with their students.
Designed for Designed for Designed for Designed for Designed for Designed for
Kindergarten 1st Grade 2nd Grade 3rd Grade 4th Grade 5th Grade
Ideal entry points exist at kindergarten, first, and second grades. Suitable entry points have been created in
grades 3, 4, and 5 with the addition of age-appropriate introduction lessons that present content from previous
courses at an accelerated pace (called “ramp up” lessons).
The core content of these courses range from approximately 12 lessons in A & B, to nearly 20 lessons in
Course F, with additional lessons available on the Code.org website to further support specific concepts.
3
CS Fundamentals Curriculum Guide
Lessons in CS Fundamentals are written for a wide variety of classrooms. An individual lesson might take one
classroom between 30-45 minutes, while another classroom will choose to complete it over several days. Many
lessons include time estimates, the usefulness of those estimates will vary based on the age of your students,
their background with the material, and their interests.
In Code.org curriculum, we refer to activities where students are not on the computer as “unplugged” lessons.
Lessons where they are on the computer are called “plugged”, or online puzzles. When writing the curriculum,
we planned the progression of unplugged and plugged lessons to build on each other. Often something that is
done in an unplugged environment is setting the stage for or reviewing a concept done in a plugged
environment. Both are vital pieces of the curriculum as they build student knowledge and understanding in
different ways.
4
CS Fundamentals Curriculum Guide
Unplugged Lessons
Unplugged activities are more than just an alternative
for the days when the computer lab is full. They are
intentionally-placed kinesthetic opportunities that help
students digest complicated concepts in ways that
relate to their own lives. Unplugged lessons can help
you build and maintain a collaborative environment in
your classroom, and can be a good way to check for
student understanding. While these lessons sometime
involve more advance preparation, they provide a
shared and concrete context that can be referenced
during plugged lessons. For a list of all unplugged
activities covered in the CS Fundamentals curriculum
(plus a few extras!) visit:
https://code.org/curriculum/unplugged
Bridging Activities
In the Computer Science Fundamentals curriculum,
we refer to activities that mix online and offline
elements as “bridging activities.” Bridging activities
connect our unplugged activities to our online
lessons in a real and concrete way. They often exist
as a method of turning an abstract concept or idea
learned through unplugged play into an actionable
tool for the plugged puzzles.
Plugged Lessons
Most of our online or “plugged” lessons are designed with an overarching lesson architecture where concepts
are carefully introduced using a structure that has been tailored to set classrooms up for success. These
puzzle progressions start by introducing ideas in a step-by-step manner, then proceed to a brain-bending
challenge before setting students gently back into a puzzle that perfectly represents the level of understanding
that was intended for that series.
5
CS Fundamentals Curriculum Guide
See the diagram below to get a better idea of how complexity changes over the course of an online lesson.
Once a topic has been introduced, it might be further explored through additional lessons that focus less on
skill building and more on creative problem solving using the concept. As an example, these lessons might
include puzzles with less obvious pathways, a complex use of concepts, or multiple correct solutions.
Conceptual Chunks
The unplugged and online puzzle lessons are chunked together by shared concepts, where the unplugged
lesson serves as a fun and gentle introduction to a computing concept that is further explored through coding
exercises. This allows each “chunk” to be separated into groups of lessons that can be taught within a defined
time period or as a sub-unit.
See this example from Course C in which the unplugged lesson, Getting Loopy, precedes three online lessons:
6
CS Fundamentals Curriculum Guide
● Value and expect mistakes as a natural and productive part of problem solving
● Continue working towards solutions in spite of setbacks
Persistence ● Iterate and continue to improve partial solutions
● Keep track of elements that worked and elements that did not to avoid repeating
mistakes
7
CS Fundamentals Curriculum Guide
Curriculum Values
While Code.org offers a wide range of curricular materials across a wide range of ages, the following values
permeate and drive the creation of every lesson we write.
Teachers in Classrooms
We believe students learn best with the help of
an empowered teacher. We design our
materials for a classroom setting and provide
teachers robust supports that enable them to
understand and perform their critical role in
supporting student learning. Because teachers
know their students best, we empower them to
make choices within the curriculum, even as we
recommend and support a variety of
pedagogical approaches. Knowing that many of
our teachers are new to computer science
themselves, our resources and strategies
specifically target their needs.
Equity
We believe that acknowledging and shining a light on the historical inequities within the field of computer
science is critical to reaching our goal of bringing computer science to all students. We provide tools and
strategies to help teachers understand and address well-known equity gaps within the field. We recognize that
some students and classrooms need more supports than others, and so those with the greatest needs should
be prioritized. All students can succeed in computer science when given the right supports and opportunities,
regardless of prior knowledge or privilege. We actively seek to eliminate and discredit stereotypes that plague
computer science and lead to attrition of the very students we aim to reach.
8
CS Fundamentals Curriculum Guide
Curriculum as a Service
We believe that curriculum is a service, not just a product. Along with producing high quality materials, we seek
to build and nourish communities of teachers by providing support and channels for communication and
feedback. Our products and materials are not static entities, but a living and breathing body of work that is
responsive to feedback and changing conditions. To ensure ubiquitous access to our curriculum and tools,
they are web-based and cross-platform, and will forever be free to use and openly licensed under a Creative
Commons license.
9
CS Fundamentals Curriculum Guide
When we design learning experiences, we draw from a variety of teaching and learning strategies all with the
goal of constructing an equitable and engaging learning environment.
10
CS Fundamentals Curriculum Guide
Lead Learner
What is it?
The curriculum has been written with the idea that the
instructor will act as the lead learner. As the lead learner
your role shifts from being the source of knowledge to being
a leader in seeking knowledge. The lead learner’s mantra is:
“I may not know the answer, but I know that together we can
figure it out.” The philosophy of the lead learner is that you
don’t have to be an expert on everything; you can start
teaching CS Fundamentals knowing what you already know,
and learn alongside your students. To be successful with
this style of teaching and learning, the most important things
are modeling and teaching how to learn.
We believe that the lead learner technique represents good teaching practice in general. Acting as the lead
learner is an act of empathy toward your students and the challenges they face in learning material for the first
time. One important job of the teacher in the CS Fundamentals classroom is to model excitement about
investigating how things work by asking motivating questions about why things work the way they do, or why
they are the way they are. With your guidance, students will learn how to hypothesize; ask questions of peers;
test, evaluate, and refine solutions collaboratively.
11
CS Fundamentals Curriculum Guide
Pair Programming
What is it?
Pair programming is a technique in which two
programmers work together at one computer. The
“driver” writes code while the “navigator” directs the
design and setup of the code. The two programmers
switch roles often. Pair programming has been shown
to:
● improve computer science enrollment, retention,
and students' performance
● increase students' confidence
● develop students' critical thinking skills
● introduce students to a "real world" working
environment
It can be hard to introduce pair programming after students have worked individually for a while, so we
recommend that teachers start with pair programming in the first few plugged lessons. Just like any other
classroom technique, you may not want to use this all the time as different types of learners will respond
12
CS Fundamentals Curriculum Guide
differently to working in this context. Once you have established pair programming as a practice early on, it will
be easier to come back to later.
The National Center for Women & Information Technology (NCWIT) has a great resource about the benefits of
pair programming. Check it out at:
www.ncwit.org/resources/pair-programming-box-power-collaborative-learning
Authentic Choice
What is it?
Authentic choice is the practice of allowing students to decide
on the focus of their creation when they are working on a
project. This can be scoped in different ways with different
projects, but the central point is to allow students to work on
something they are personally invested in.
In addition, we encourage teachers to help students utilize their new skills in creative ways at the end of each
lesson, using the Lesson Extras option. There, students will find challenge puzzles and open-canvas projects
to use for deeper learning and self-expression.
Journaling
What is it?
In CS Fundamentals, students are encouraged to keep a journal nearby to write down thoughts and answer
questions.
catalog strategies and solutions, so do we ask our budding computer scientists to take notes on their trials and
achievements. Journals are useful as scratch paper for building, debugging, and strategizing, and they offer a
fantastic resource for referencing previous answers when struggling with more complex problems.
In addition to the strategies above, consider the following tips for keeping your CS Fundamentals course active
and engaging:
Students learn at different rates. They also come into technology with vastly
different skills. Trying to keep everyone on the same page will alienate both
the bottom third and top third of learners. Take the pressure off of everyone
Ditch the Uniformity by having a list of “approved” activities to focus on when they’ve finished
their class exercise. These should include the Lesson Extras at the end of
each CS Fundamentals lesson.
Teachers are used to helping their class get very focused and encouraging
students to work quietly until an activity is done. In computer science,
students often benefit from small and frequent breaks, even if it’s just
Frequent Breaks switching to a new activity for a few minutes. Try having a student write a
sentence or two about what they’re trying to do or keep a notebook, like a
biologist or chemist might.
14
CS Fundamentals Curriculum Guide
Core concepts:
● Sequencing
● Loops
● Events
● Digital Citizenship
Attitudinal goals:
● Programming is fun
● It’s okay not to get it right the first time
● I can solve problems if I keep trying
15
CS Fundamentals Curriculum Guide
This activity will help students gain experience reading and writing in
5 Happy Maps
shorthand code.
Students find out that they can go exciting places online, but they
8 Going Places Safely
need to follow rules to remain safe. [Common Sense Education]
Here, students use loops to create patterns. At the end of this stage,
12 Ocean Scene with Loops students will be given the opportunity to create their own images
using loops.
This shows that events are a great way to add variety to a sequential
13 The Big Event
algorithm.
Students will have the opportunity to learn how to use events in Play
14 On the Move with Events
Lab and apply their coding skills to create an animated game.
16
CS Fundamentals Curriculum Guide
Course B: Overview
Course B was developed with first-graders in mind. Tailored to a novice reading level, this course also
assumes limited knowledge of shapes and numbers.
While the concepts in Course B parallel those in Course A, students will be exposed to more sophisticated
unplugged activities and greater variety in puzzles. Students will learn the basics of programming, collaboration
techniques, investigation and critical thinking skills, persistence in the face of difficulty, and internet safety. At
the end of this course students will create their very own custom game in Play Lab.
Core concepts:
● Sequencing
● Loops
● Events
● Copyright and Creativity
● Digital Citizenship
Attitudinal goals:
● Programming is fun
● It’s okay not to get it right the first time
● I can solve problems if I keep trying
17
CS Fundamentals Curriculum Guide
This lesson will work to prepare students mentally for the coding
1 Move It, Move It
exercises that they will encounter over the length of this course.
Students will learn that the information they put online leaves a
3 Your Digital Footprint digital footprint or “trail.” [Common Sense Education]
Programming with Rey and In this lesson, students will use their newfound programming skills in
7
BB-8 more complicated ways to navigate a tricky course with BB-8.
Using the language from ‘My Robotic Friends’. Students find that
8 My Loopy Robotic Friends Jr.
they can build big structures faster using loops.
9 Loops with Scrat This lesson builds on the idea of using loops in a program.
Here, students use loops to create patterns. At the end of this stage,
11 Drawing Gardens with Loops students will be given the opportunity to create their own images
using loops.
This lesson shows that events are a great way to add variety to a
12 The Big Event
pre-written algorithm.
In this online activity, students will have the opportunity to learn how
13 A Royal Battle with Events to use events in Play Lab and apply all of the coding skills that
they've learned to create an animated game.
18
CS Fundamentals Curriculum Guide
Course C: Overview
Course C was developed for students in and around the second grade. Lessons in this course may assume a
limited understanding of shapes and elementary math concepts.
Students will create programs with sequencing, loops, and events. They will translate their initials into binary,
investigate problem-solving techniques, and develop strategies for building positive communities both online
and off. By the end of the course, students will create interactive games that they can share. Each concept in
Course C is taught from the beginning, graduating toward experiences that allow for growth and creativity to
provide all students a rich and novel programming experience.
Core concepts:
● Sequencing
● Loops
● Events
● Digital Citizenship
● Binary
Attitudinal goals:
● I can read code and predict the outcome
● Programming can make repetitive tasks easy
19
CS Fundamentals Curriculum Guide
Students will build a structure with common materials. Most students will not get
1 Building a Foundation
this right the first time, but it's important they push through and keep trying.
Students will develop sequential algorithms to move a bird from one side of the
2 Coding with Angry Birds
maze to a pig at the other side.
Debugging with Angry Students will step through the existing code to identify errors, including incorrect
3
Birds loops, missing blocks, extra blocks, and blocks that are out of order.
4 Paper Planes Students will relate the concept of algorithms back to everyday activities.
Collecting Treasure with Students will continue to develop their understanding of algorithms and debugging
5 by creating sequential algorithms to pick up treasure with a Laurel the Adventurer.
Laurel
This Artist stage will allow students to create images of increasing complexity using
6 Creating Art with Code
new blocks like `move forward by 100 pixels` and `turn right by 90 degrees.`
7 Getting Loopy Students will dance their way to a better understanding of how to use repeat loops.
This lesson builds on the understanding of loops from previous lessons and gives
9 Sticker Art with Loops
students a chance to be truly creative.
Harvesting Crops with Students will loop new actions to help the harvester collect multiple veggies
10
Loops growing in large bunches.
11 The Big Event Students will learn that events are a great way to make their program interactive.
In this special stage, students get to build their own Flappy Bird game by using
12 Build a Flappy Game
event handlers to detect mouse clicks and object collisions.
This helps children recognize that it is essential to tell a trusted adult if something
13 Screen Out the Mean
online makes them feel angry, sad, or scared. [Common Sense Education]
Looking Ahead with Students will get the chance to practice ideas that they have learned up to this
15
Minecraft point, as well as getting a sneak peek at conditionals!
This lesson helps demonstrate how it is possible to take something from real life
16 Binary Bracelets
and translate it into a series of ons and offs.
20
CS Fundamentals Curriculum Guide
Course D: Overview
Course D was created for students who read at roughly a third grade level. Angles and mathematical concepts
are introduced with helpful videos and hints.
The course begins with a review of the concepts found in Courses A, B, and C. This review can be used to
introduce or refresh basic ideas such as loops and events. Afterward, students will develop their understanding
of algorithms, nested loops, while loops, conditionals, and events. Lessons on digital citizenship are also
included. This course is crafted to build a strong foundation of basic concepts before opening up to a wide
range of new and exciting topics.
Core concepts:
● Events
● Nested Loops
● While/Until Loops
● If/Else Conditionals
● Digital Citizenship
Attitudinal goals:
● Struggle is good, and a sign that I’m growing
● I can read programs and predict their outcomes
● Programs can be written to make simple choices
21
CS Fundamentals Curriculum Guide
2 Introduction to Coding Students will practice sequencing and debugging before adding new skills.
Students will race against the clock as they break into teams and work
3 Relay Programming
together to write a program one instruction at a time.
4 Debugging with Laurel Students will practice debugging in the Collector environment.
5 Bounce Students will work through puzzles making the program react to events.
6 Loops in Ice Age This stage will have students using the repeat block to get Scrat to the acorn.
7 Drawing Shapes with Loops This gets students thinking about why loops are better than longhand.
8 Nested Loops in Maze Using Bee and Plants vs Zombies, students will learn to nest loops.
Snowflakes with Anna and Students will get practice nesting loops while creating images that they will be
10
Elsa excited to share.
11 While Loops with the Farmer Students will develop a beginner's understanding of condition-based loops.
Students will build programs that have the main character repeat actions until
12 Until Loops in Maze
they reach their desired stopping point.
14 If/Else with Bee The if / else blocks will allow for a more flexible program.
15 Harvesting with Conditionals It's time to get creative and make a game in Play Lab!
Students learn the difference between what is and is not safe to share online.
16 Digital Citizenship
[Common Sense Education]
17 Ninjas vs. Pirates Game It's time to get creative and make a game in Play Lab!
This lesson illustrates how a computer can store complex information (such as
18 Binary Images
photos and colors) in binary.
In this lesson, students will build binary images in Artist by translating 0s and
19 Binary Images with Artist
1s to offs and ons (or black and white).
22
CS Fundamentals Curriculum Guide
The approach to the ramp-up section depends on your classroom. If your students have no prior experience,
then it’s essential that you use the ramp-up to provide your students with a solid introduction to the core
concepts that will be built upon later in the course. Pay particular attention to the unplugged lessons, as they
give students the real-life foundations that they will need to connect these concepts together later.
If students are already familiar with the concepts presented in the ramp-ups, you can pick and choose from the
lessons to keep the ramp-up experience slim. As long as students are confident using the various
programming environments present to program sequences, loops, and nested loops, they will have what they
need to be successful in later lessons.
Core concepts:
● Sequencing
● Debugging
● Loops
● Nested Loops
● Conditionals
Attitudinal goals:
● I’m comfortable with basic programming concepts
23
CS Fundamentals Curriculum Guide
This lesson teaches students the connection between symbols and actions, as
1 My Robotic Friends
well as the difference between an algorithm and a program.
Coding with Students will be guided through an introduction (or review depending on the
2
Comments experience of your class) of Code.org's online workspace.
Building a Students will build a structure with common materials. Most students will not get it
3
Foundation right the first time, and should be encouraged to keep trying.
In this lesson, students will encounter puzzles that have been solved incorrectly.
4 Debugging with Scrat
They will then work to identify and fix errors.
Creating Art with This Artist stage will allow students to create images of increasing complexity using
5
Code new blocks.
My Loopy Robotic Students learn the simplicity and utility of loops by “programming” their friends
6
Friends using the language from ‘My Robotic Friends’.
Drawing Shapes with This lesson builds on the understanding of loops from previous lessons and gives
7
Loops students a chance to be truly creative.
In this online activity, students will have the opportunity to push their
Nested Loops in
8 understanding of loops to a whole new level. Playing with Bee and Plants vs
Maze
Zombies, students will learn how to nest loops.
Now that students know how to layer their loops, they can create many beautiful
Nested Loops with
9 things. This lesson will take students through a series of exercises to help them
Frozen
create their own portfolio-ready images.
Conditionals with This lesson demonstrates how conditionals can be used to tailor a program to
10
Cards specific information.
Conditionals with the This lesson briefly covers the conditional concepts, including `while` loops, `until`
11
Farmer loops, and `if/else` statements.
24
CS Fundamentals Curriculum Guide
Course E: Overview
Course E in CS Fundamentals was tailored to the needs of students in the fourth grade.
At this point students should be growing in their confidence using basic programming concepts, and are ready
to start using them to solve more novel problems. Throughout this course students will learn to identify when to
apply and combine the many concepts they’ve learned in previous courses. Students will begin with some light
review, followed by a deep dive into the idea of functions. For many, the lessons in Course E will provide the
first puzzles where difficult concepts are mixed together, making it one of the most challenging courses in the
series.
Because of the complexity of Course E, it is important to be consistent with expectations from the very
beginning. With fourth graders, it is advised that students be encouraged to work together to find solutions,
rather than relying on help from the teacher or other experienced supervisor. Students should be empowered
to try multiple techniques and should be given praise for persistence and for helping others.
Ultimately, Course E will be setting the foundation for Course F in the fifth grade. This means that it is as
critical for students to understand the ideas behind each puzzles as it is for them to successfully solve the
puzzle. For this reason, you might want to show students how to use peer interaction or journaling to help with
difficult puzzles. Mainly, they should mention four things:
● What does the puzzle want me to do?
● What did I try to make that happen?
● Where did it go wrong?
● What might be the next thing I could try?
Core concepts:
● Events
● Conditionals
● Functions
● Digital Citizenship
● Copyright and Creativity
Attitudinal goals:
● There are often many ways to solve a problem
● Reflecting on past problems helps me solve new ones
● Programming is creative
25
CS Fundamentals Curriculum Guide
Private and Personal [Common Sense Education] Developed by Common Sense Education, this lesson is
12
Information about the difference between information that is safe to share online and info that is not.
13 Build a Star Wars Game Students will learn events before creating their own event-driven games.
This lesson will help students intuitively understand why combining chunks of code into
14 Songwriting
functions can be such a helpful practice.
15 Functions with Minecraft Students will be taught that functions are helpful in this interactive Minecraft adventure!
Functions with the This lesson will push students to use functions in the new ways by combining them with
16
Harvester while loops and if / else statements.
17 Digital Sharing Students will learn the proper way to handle the use of content that is not their own.
For more complicated patterns, students will learn about nesting functions by calling
18 Functions with Artist
one function from inside another.
This lesson gives students a chance to think critically about how they would solve each
19 Determine the Concept
problem, but without telling them which concept to apply.
This lesson is designed to introduce students to the core vocabulary of Sprite Lab and
20 Learning Sprite Lab
allow them to apply concepts they learned in other environments to this tool.
This lesson features Sprite Lab, a platform where students can create their own alien
21 Alien Dance Party
dance party with interactions between characters and user input.
Students will use events, behaviors, and custom code to create their very own pet
22 Pet Giraffe
giraffe that gets hungry, playful, and even filthy!
23 Explore Project Ideas Students will play with examples of projects in both Artist and Sprite Lab for inspiration.
24 The Design Process Students will learn about the design process and how to implement it in their projects.
Students will be given their own space to create their project with either Artist or Sprite
25 Build Your Project
Lab. This will be the longest portion of the project.
Finally, students will be able to present their finished work to their peers or share with
26 Present Your Project
their loved ones with a special link.
In this lesson, students will pretend to flow through the internet, all the while learning
27 Internet
about connections, URLs, IP Addresses, and the DNS.
28 Crowdsourcing This lesson will show students how helpful teamwork can be in the industry of CS.
26
CS Fundamentals Curriculum Guide
The approach to the ramp-up section depends on your classroom. If your students have no prior experience,
then it’s essential that you use the ramp-up to provide your students with a solid introduction to the core
concepts that will be built upon later in the course. Pay particular attention to the unplugged lessons, as they
give students the real-life foundations that they will need to connect these concepts together later.
If students are already familiar with the concepts presented in the ramp-ups, you can pick and choose from the
lessons to keep the ramp-up experience slim. As long as students are confident using the various
programming environments present to program sequences, loops, and nested loops, they will have what they
need to be successful in later lessons.
Core concepts:
● Sequencing
● Debugging
● Loops
● Nested Loops
● Conditionals
● Functions
Attitudinal goals:
● I’m comfortable with basic programming concepts
27
CS Fundamentals Curriculum Guide
This lesson teaches students the connection between symbols and actions, as
1 My Robotic Friends
well as the difference between an algorithm and a program.
Coding with Students will be guided through an introduction (or review depending on the
2
Comments experience of your class) of Code.org's online workspace.
Building a Students will build a structure with common materials. Most students will not get it
3
Foundation right the first time, and should be encouraged to keep trying.
In this lesson, students will encounter puzzles that have been solved incorrectly.
4 Debugging with Scrat
They will then work to identify and fix errors.
Creating Art with This Artist stage will allow students to create images of increasing complexity using
5
Code new blocks.
My Loopy Robotic Students learn the simplicity and utility of loops by “programming” their friends
6
Friends using the language from ‘My Robotic Friends’.
Drawing Shapes with This lesson builds on the understanding of loops from previous lessons and gives
7
Loops students a chance to be truly creative.
In this online activity, students will have the opportunity to push their
Nested Loops in
8 understanding of loops to a whole new level. Playing with Bee and Plants vs
Maze
Zombies, students will learn how to nest loops.
Now that students know how to layer their loops, they can create many beautiful
Nested Loops with
9 things. This lesson will take students through a series of exercises to help them
Frozen
create their own portfolio-ready images.
Conditionals with This lesson demonstrates how conditionals can be used to tailor a program to
10
Cards specific information.
Conditionals with the This lesson briefly covers the conditional concepts, including `while` loops, `until`
11
Farmer loops, and `if/else` statements.
Functions with Students will begin to understand how functions can be helpful in this fun and
12
Minecraft interactive Minecraft adventure!
28
CS Fundamentals Curriculum Guide
Course F: Overview
The final course in CS Fundamentals is tailored to the needs of students in the fifth grade.
In this course, students will investigate problem-solving techniques and discuss societal impacts of computing
and the internet. By the end of the course, students will have created interactive stories and games that they
can share with their friends and family.
In Course F students are begin to understand how the concepts that they have learned impact the world
around them, and how they can be applied to solve interesting and personally relevant problems. By this point
students should be cognitively mature enough to think about plans that they want to bring to life, and have the
skills to start down that path.
Starting with the first few lessons students are given greater autonomy and creative freedom in programming,
which also necessitates an increased emphasis on debugging and problem solving. Students in the fifth grade
should be expected to take the first steps in solving all of their own coding problems as they arise, and when
solving problems they should be encouraged to work with peers to overcome obstacles rather than relying on
the teacher to do so.
Remember, solving a puzzle is not as important as understanding a puzzle, so when students are stuck,
encourage them to look at several angles until a solution begins to appear.
Core concepts:
● Variables
● For-loops
● Functions
● Digital Citizenship
Attitudinal goals:
● I can use computer science to solve real and meaningful problems
● Programming is creative
29
CS Fundamentals Curriculum Guide
[Common Sense Education] Students explore ways to handle cyberbullying and how to
13 The Power of Words
respond in the face of upsetting language online.
14 Envelope Variables This lesson explains what variables are and how to use them in different ways.
15 Variables with Artist Students explore the creation of repetitive designs using variables in Artist.
Changing Variables
16 Students will get further practice with variables by gathering honey and nectar.
with Bee
Changing Variables
17 This artist level takes variables to new heights.
with Artist
18 For Loop Fun `For` loops have extra structures built-in to create more powerful & dynamic code.
19 For Loops with Bee This focuses on `for` loops and using the increment to solve more complicated puzzles.
20 For Loops with Artist Students continue to practice `for` loops, this time with Artist.
This lesson is designed to introduce students to the core vocabulary of Sprite Lab and
21 Learning Sprite Lab
allow them to apply concepts they learned in other environments to this tool.
This lesson features Sprite Lab, a platform where students can create their own alien
22 Alien Dance Party
dance party with interactions between characters and user input.
Students will use events, behaviors, and custom code to create their very own pet giraffe
23 Pet Giraffe
that gets hungry, playful, and even filthy!
24 Explore Project Ideas Students will play with pre-built examples to prepare for the creation of their own projects.
25 The Design Process Students will learn about the design process and how to use it for their own projects.
26 Build Your Project Students will be given their own space to create a project of their own design.
27 Revise Your Project Students are given the opportunity to get feedback from peers and revise their projects.
28 Present Your Project Students will present their finished work to their peers and/or share with their loved ones.
30
CS Fundamentals Curriculum Guide
Course A
❏ Marble Run [Lessons 1 & 2] - Tape, cardboard, other misc. supplies for building, kid friendly marbles
(or round cereal)
❏ Real-Life Algorithms: Plant a Seed [Lesson 3] - Dirt, seeds, paper cups
❏ Big Event (K-1 Version) [Lesson 13] - Printouts
Course B
❏ Move It, Move It [Lessons 1] - Printouts, blank paper
❏ My Robotic Friends [Lesson 4] - Plastic cups, index cards
❏ My (Loopy) Robotic Friends [Lesson 8] - Plastic cups, index cards
❏ Big Event (K-1 Version) [Lesson 12] - Printouts
Course C
❏ Building a Foundation [Lesson 1] - Gumdrops and toothpicks or marshmallows and popsicle sticks
❏ Real-Life Algorithms: Paper Airplanes [Lesson 4] - Paper for airplane construction
❏ Binary Bracelets [Lesson 15] - Markers (Optional: beads and pipe cleaners)
Course D
❏ Graph Paper / Relay Programming [Lessons 1 / 3] - Printouts, Markers
❏ Conditionals with Cards [Lesson 11] - Deck of cards, or something similar
❏ Digital Citizenship [Lesson 16] - Cubecraft superheros (see resources for more details)
❏ Binary Images [Lesson 18] - Printouts, markers, optional: coin (with heads and tails)
Course E
❏ My Robotic Friends [Lesson 1] - Plastic cups, index cards
❏ Building a Foundation [Lesson 3] - Gumdrops and toothpicks or marshmallows and popsicle sticks
❏ My (Loopy) Robotic Friends [Lesson 6] - Plastic cups, index cards
❏ Conditionals with Cards [Lesson 10] - Deck of cards, or something similar
❏ Functions: Songwriting [Lesson 14] - Paper, written song lyrics
❏ Internet [Lesson 27] - Blank paper, lesson printouts
❏ Crowdsourcing [Lesson 26] - Deck of cards, jar full of small items (buttons, beads, beans, etc)
Course F
❏ My Robotic Friends [Lesson 1] - Plastic cups, index cards
❏ Building a Foundation [Lesson 3] - Gumdrops and toothpicks or marshmallows and popsicle sticks
❏ My (Loopy) Robotic Friends [Lesson 6] - Plastic cups, index cards
❏ Conditionals with Cards [Lesson 10] - Deck of cards, or something similar
❏ Envelope Variables [Lesson 14] - Envelopes
❏ For Loop Fun [Lesson 18] - Dice
31
CS Fundamentals Curriculum Guide
Technology Requirements
A computing device and an Internet connection.
We work hard to build an environment that supports all modern web browsers on desktops and mobile devices.
This includes Internet Explorer 11+ and the latest versions of Firefox, Chrome, Safari.
Our instructional videos may be affected depending on your school's internet filters. If YouTube is blocked at
your school, our video player will attempt to use our non-YouTube player instead. For more details about the IT
requirements for accessing and playing our embedded videos, see our IT requirements page at
https://code.org/educate/it. We’ve made all of our videos available for download using a link located in the
bottom corner. If all fails, some videos have a “Show Notes” tab that provide a storyboard equivalent of the
video.
32
CS Fundamentals Curriculum Guide
○ End of Lesson puzzles should be seen as a great opportunity to showcase the things students
have learned during the day, not as a required assessment for the segment.
● Sporadic Lessons
○ If you are a teacher that struggles to find a time and place to integrate computer science into
your annual curriculum, you are in good company. Remember, when taught well, a little
computer science is better than no computer science.
○ Choose a concept and teach it thoroughly.
■ In elementary school, the main goal is to teach students that they are capable of learning
computer science. If you ditch a deep dive on concepts in favor of a shallow introduction,
students might be left feeling as if they don’t understand any of it.
■ Start with the unplugged lesson for the concept that you are choosing. Use the word
(such as “loops”) often in class for days after the unplugged lesson has been completed.
■ On your next trip to the computer lab, start by completing a bridging activity that ties your
concept to the online lessons that students are about to do. Spend that day in the lab
doing the straightforward, educational puzzles that come in the lesson directly following
the unplugged activity in the course.
■ If you have another chance to get to the lab, explore other online puzzles with that same
concept. This can be either a second concept lesson on Code.org, or a supporting
lesson from another tool or curriculum (such as Scratch or the Foos.)
33
CS Fundamentals Curriculum Guide
Standards Mapping
CS Fundamentals was written using both the K–12 Computer Science Framework
[https://k12cs.org] and the draft CSTA standards as guidance. Courses are also mapped to CC
and NGSS standards. Details can be found at curriculum.code.org/csf/standards.
Assessments
At Code.org, we believe that you know your students best, which is why we do not attempt to automatically
determine what “grade” students should receive for any given lesson. Instead, we try to build tools that allow
you to easily see student progress and to identify evidence of learning. The ability to see where a student is
succeeding and where they need help is fundamental to providing the opportunity to tailor their learning
experience. To that purpose, our teacher dashboard is continually evolving to better highlight the work done by
your class sections. Keep an eye on the Code.org blog [http://blog.code.org] for more information on changes
and improvements.
Please note, we have provided assessment worksheets with most unplugged activities, and “assessment”
puzzles for many online lessons. For more information on assessing student work using those items, see the
thread on our teacher forum at http://forum.code.org/t/assessment-in-csf.
Getting Help
Here, you’ll find our “Help and support” forum where you can email us or find
how-to articles. You’ll also see a link to our “Teacher community” forums
where you can connect to other teachers for support, teaching tips, or best
practices.
When you’re in a puzzle, you’ll see an additional “Report bug” link for that
puzzle. Thank you for helping us find and fix any issues!
If you are a teacher and you'd like to attend a free training on our K-5
Computer Science curriculum, you can find links to local workshops by visiting
https://code.org/professional-development-workshops.
34
CS Fundamentals Curriculum Guide
Appendix A:
Unplugged Lesson Plans
35
Table of Unplugged Lessons
C
Lesson 11: The Big Event
Unplugged | Events
Overview Objectives
Students will soon learn that events are a great way to add flexibility to a pre- Students will be able to:
written algorithm. Sometimes you want your program to be able to respond to Repeat commands given by an instructor.
the user exactly when the user wants it to. Events can make your program more Recognize movements of the teacher as signals to
interesting and interactive. initiate commands.
Practice differentiating pre-defined actions and
Purpose event-driven ones.
Today, students will learn to distinguish events and actions. The students will
see activities interrupted by having a "button" pressed on a paper remote. When
Preparation
seeing this event, the class will react with a unique action. Events are widely Watch the The Big Event - Teacher Video.
used in programming and should be easily recognizable after this lesson. Print one The Big Event (Courses C-F) -
Worksheet and Event Controller.
Agenda Print one The Big Event - Assessment for each
Warm Up (15 min) student.
Make sure every student has a Think Spot
Vocabulary
A Series of Events Journal - Reflection Journal.
Main Activity (15 min)
Links
The Big Event (Courses C-F) - Worksheet
Wrap Up (10 min) Heads Up! Please make a copy of any
Flash Chat: What did we learn? documents you plan to share with
Assessment (10 min) students.
The Big Event - Assessment
For the Teacher
Extended Learning
The Big Event - Unplugged Video (download)
The Big Event - Teacher Video
The Big Event (Courses C-F) - Worksheet
The Big Event - Assessment
The Big Event - Assessment Answer Key
For the Students
Think Spot Journal - Reflection Journal
Vocabulary
Event - An action that causes something to happen.
37
Teaching Guide
Warm Up (15 min)
Vocabulary
This lesson has one new and important vocabulary word:
A Series of Events
Prep your class to answer a question:
"I'm going to ask you a question. I want you to raise your hand if you want me to call on you for the answer."
Ask a simple question that most of your students should be able to answer, such as:
How many thumbs do I have?
What is bigger, a bird or a horse?
Call on a student who has their hand raised and let them give their answer.
Upon finishing that display, ask the class how you knew that the student wanted you to call on them.
Your class will likely mention the raising of the hand.
Explain to everyone that when students raise their hand, it is an "event" that causes you to know that they want to be called on.
Ask the class if they can think of any other events that give signals.
You may need to remind them that you're not talking about an event like a birthday party or a field trip.
If they have trouble, you can remind them that an event is an action that causes something to happen.
What about an alarm clock going off? What does that make happen?
What about pressing "Start" on the microwave? What does that do?
What about pressing the power button on your tv remote?
Today, we're going to practice changing programs by introducing events.
In earlier lessons, we created algorithms that allowed us to control a friend or other character for several steps at a time. It was fun and
useful, but what happens when you don’t know everything that you want your friend to do in advance? This is where events come in!
Directions:
38
Decide with your class what each button does. We suggest:
Pink Button -> Say “Wooooo!”
Teal Button -> “Yeah!”
Purple Dial -> “Boom!”
Green Button -> Clap
Orange Dial -> Stomp
Practice tapping the buttons on the overhead and having your class react.
Add some button sequences into the mix and have the students try to keep up with their sounds.
Let your class know that every time you push a button, it is an “event” that lets them know what they are expected to do next.
Get the class started on a planned task before interrupting them again with the buttons. We suggest:
Counting to 10
Singing “Old MacDonald”
Once their plan is underway, interject button presses sporadically.
Continue the blend until they understand the difference between actions that are guided by a plan and those that are event driven.
Wrap Up (10 min)
Flash Chat: What did we learn?
Why do we need to be able to handle events in a program?
What are some other kinds of events that you can think of?
Assessment (10 min)
The Big Event - Assessment
Hand out the assessment worksheet and allow students to complete the activity independently after the instructions have been well
explained.
This should feel familiar, thanks to the previous activities.
39
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Assign each student an event to watch out for, and an appropriate reaction to that event. Chain the actions so that each child's reaction
becomes an event that triggers the reaction of another student. Keep assigning until everyone has something to do and everyone makes
someone react.
Eventopalooza
Break the class up into groups. Using the Events Controller, assign each group a different reaction to the same button. Do this for all
three buttons, then watch the chaos!
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
40
U The Big Event
Event Controller
Revision 140902.1a
41
U
Name: Date:
You’ve been given a magical controller that changes the picture on the frame on your desk.
Take a look below to see what each button does. Can you figure out which series of button
events will cause your frame to show the pictures on the right? Draw a line from each set
of pictures to the button combination that causes it. The first one has been done for you.
Revision 160511 . 1a
42
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14
A/B
Lesson A.13/B.12: The Big Event Jr.
Unplugged | Event
Overview Objectives
Events are a great way to add variety to a pre-written algorithm. Sometimes you Students will be able to:
want your program to be able to respond to the user exactly when the user Recognize actions of the teacher as signals to
wants it to. That is what events are for. initiate commands.
Practice differentiating pre-defined actions and
Purpose event-driven ones.
Today, students will learn to distinguish events from actions. The students will
see activities interrupted by having a "button" pressed on a paper remote. When
Preparation
seeing this event, the class will react with a unique action. Events are widely Watch the The Big Event - Teacher Video.
used in programming and should be easily recognizable after this lesson. Print one The Big Event (Courses A, B) -
Worksheet.
Agenda Print The Big Event - Assessment for each
Warm Up (15 min) student.
Make sure every student has a Think Spot
Vocabulary
A Series of Events Journal - Reflection Journal.
Main Activity (15 min)
Links
The Big Event
Wrap Up (15 min) Heads Up! Please make a copy of any
Flash Chat: What did we learn? documents you plan to share with
Journaling students.
Assessment (10 min)
The Big Event - Assessment For the Teacher
Extended Learning The Big Event - Unplugged Video (download)
The Big Event - Teacher Video
The Big Event (Courses A, B) - Worksheet
The Big Event - Assessment
The Big Event - Assessment Answer Key
For the Students
Feeling Faces - Emotion Images
Think Spot Journal - Reflection Journal
Vocabulary
Event - An action that causes something to happen.
43
Teaching Guide
Warm Up (15 min)
Vocabulary
This lesson has one new and important vocabulary word:
A Series of Events
Prep your class to answer a question:
"I'm going to ask you a question. I want you to raise your hand if you want me to call on you for the answer."
Ask a simple question that most of your students should be able to answer, such as:
How many thumbs do I have?
What is bigger, a bird or a horse?
Call on a student who has their hand raised and let them give their answer.
Upon finishing that display, ask the class how you knew that the student wanted you to call on them.
Your class will likely mention the raising of the hand.
Explain to everyone that when students raise their hand, it is an "event" that causes you to know that they want to be called on.
Ask the class if they can think of any other events that give signals.
You may need to remind them that you're not talking about an event like a birthday party or a field trip.
If they have trouble, you can remind them that an event is an action that causes something to happen.
What about an alarm clock going off? What does that make happen?
What about pressing "Start" on the microwave? What does that do?
What about pressing the power button on your tv remote?
Today, we're going to create programs with events.
In earlier lessons, we created algorithms that allowed us to control a friend or Flurb for several steps at a time. It was fun and useful, but
what happens when you don’t know everything that you want your friend to do in advance? This is where events come in!
Directions:
44
Decide with your class what each button does. We suggest:
Pink Button -> Say “Wooooo!”
Teal Button -> “Yeah!”
Purple Dial -> “Boom!”
Practice tapping the buttons on the overhead and having your class react.
Add some button sequences into the mix and have the students try to keep up with their sounds.
Let your class know that every time you push a button, it is an “event” that lets them know what they are expected to do next.
Get the class started on a planned task before interrupting them again with the buttons. We suggest:
Counting to 10
Singing “Old MacDonald”
Once their plan is underway, interject button presses sporadically.
Continue the blend until they understand the difference between actions that are guided by a plan and those that are event driven.
Wrap Up (15 min)
Flash Chat: What did we learn?
Why do we need to be able to handle events in a program?
What are some other kinds of events that you can think of?
Journaling
Journal Prompts:
Assessment (10 min)
The Big Event - Assessment
Hand out the assessment activity and allow students to complete the activity independently after the instructions have been well
explained.
This should feel familiar, thanks to the previous activities.
45
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Assign each student an event to watch out for, and an appropriate reaction to that event. Chain the actions so that each child's reaction
becomes an event that triggers the reaction of another student. Keep assigning until everyone has something to do and everyone makes
someone react.
Eventopalooza
Break the class up into groups. Using the Events Controller, assign each group a different reaction to the same button. Do this for all three
buttons, then watch the chaos!
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
46
U The Big Event
Event Controller
Revision 140709.1a
47
U
Name: Date:
You’ve been given a magical controller that changes the picture on the frame on your desk.
Take a look below to see what each button does. Can you figure out which series of button
events will cause your frame to show the pictures on the right? Draw a line from each set
of pictures to the button combination that causes it. The first one has been done for you.
Revision 160511 . 1a
48
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
C
Lesson 16: Binary Bracelets
Unplugged | Binary
Overview Objectives
Binary is extremely important in the world of computers. The majority of Students will be able to:
computers today store all sorts of information in binary form. This lesson helps Encode letters into binary.
demonstrate how it is possible to take something from real life and translate it Decode binary back to letters.
into a series of ons and offs. Relate the idea of storing letters on paper to the idea
of storing information in a computer.
Purpose
In this lesson students will learn how information is represented in a way such
Preparation
that a computer can interpret and store it. When learning binary, students will Watch the Binary Bracelets - Teacher Video.
have the opportunity to write codes and share them with peers as secret Watch the Binary Bracelets - Lesson in Action
messages. This can then be related back to how computers read a program, Video.
translate it to binary, use the information in some way, then reply back in a way Gather markers for the bracelets. Other decorations
humans can understand. For example, when we type a sentence into a like beads and pipecleaners are optional.
document then press save, a computer translates the sentence into binary, Print one Binary Bracelets - Worksheet per
stores the information, then posts a message indicating the document has been student.
saved. Print one Binary Bracelets - Assessment per
student.
Agenda Make sure every student has a Think Spot
Warm Up (15 min) Journal - Reflection Journal.
(Optional) Write a short message on the board in
Vocabulary
Off and On binary.
Prepare to show the Bits Versus Bytes - Student
Main Activity (20 min)
Video.
Binary Bracelets - Worksheet
Wrap Up (5 min) Links
Flash Chat: What did we learn?
Journaling Heads Up! Please make a copy of any
Assessment (15 min) documents you plan to share with
Binary Bracelets - Assessment students.
Extended Learning
For the Teacher
Binary Bracelets - Unplugged Video (download)
Binary Bracelets - Teacher Video
Binary Bracelets - Lesson in Action Video
Binary Bracelets - Worksheet
Binary Bracelets - Assessment
Binary Bracelets - Assessment Answer Key
For the Students
Bits Versus Bytes - Student Video
Think Spot Journal - Reflection Journal
Vocabulary
Binary - A way of representing information using
only two options.
49
Teaching Guide
Warm Up (15 min)
Vocabulary
This lesson has one new and important word:
Off and On
If you've written a short message on the board in binary, call the students' attention to it and ask if anyone knows what it is or what it
means.
Put the message aside and move on to prepping for the activity.
You can start by asking the class if they have ever seen inside a computer.
What's in there?
This is a good place to actually show them the inside of a computer (or pictures of the inside of a computer).
50
Hard Disk Drives store information using magnetic positive and magnetic negative.
DVDs store information as either reflective or non-reflective.
How do you suppose we can convert real-life things that we want to store in a computer into binary?
Let's start with letters.
Use the Binary Bracelets - Worksheet to show how a computer might represent capital letters.
This is a good time to mention that each spot where you have a binary option is called a "binary digit" or "bit" for short.
Ask if anyone knows what a grouping of eight bits is called (it's a byte.)
Fun fact: A grouping of four bits is called a nibble.
Watch the Bits Versus Bytes - Student Video (~1 minute)
Go over a few examples of converting letters into binary, then back.
Afterward, write an encoded letter and give the class a few seconds to figure out what it is.
When the class can figure out that encoded letter on their own, you can move on to the activity.
Find the first letter of your first name on the activity sheet.
Fill in the squares of a bracelet to match the pattern of the squares next to the letter that you selected.
Cut the bracelet out.
Tape the bracelet around your wrist to wear it!
Share your bracelet with your classmates to see if they can figure out your letter.
After the activity, revisit the message that was on the board and
Lesson Tip
see if your class can decypher it using what they've learned.
If your class has extra budget for materials, try doing this exercise
using thread (or pipe cleaners) and beads to create the binary
Wrap Up (5 min) bracelets instead of pen and paper. You can provide any
combination of two colors in beads to the students, but black and
white tend to be easiest, given the way that the key is done.
Flash Chat: What did we learn?
What else do you think is represented as binary inside of a
computer?
How else might you represent binary instead of boxes that are filled or not filled?
What was your favorite part about that activity?
51
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
Assessment (15 min)
Binary Bracelets - Assessment
Hand out the assessment worksheet and allow students to complete the activity independently after the instructions have been well
explained.
This should feel familiar, thanks to the previous activities.
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Binary Images
There are several great resources on the web for taking this activity to the next level.
If your students are interested in how images (or even music) can be represented as binary, you can find more details in Thinkersmith's
Binary Baubles.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
52
U
Name: Date:
Binary Bracelets
Unplugged Binary Decoder Key
Revision 140902.1a
53
U
Name: Date:
Binary Bracelets
Unplugged Assessment for Binary Bracelets Lesson
Use the Binary Decoder Key below to decode the message at the bottom of the sheet.
Revision 140710.1a
54
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
D 17 18 19
Lesson 18: Binary Images
Binary | Unplugged
Overview Objectives
Though many people think of binary as strictly zeros and ones, students will be Students will be able to:
introduced to the idea that information can be represented in a variety of binary Identify methods for encoding images into binary.
options. This lesson takes that concept one step further as it illustrates how a Relate images to a peer using binary encoding.
computer can store even more complex information (such as images and Reproduce an image, based on binary code.
colors) in binary, as well.
Preparation
Purpose
Watch the Binary Images - Teacher Video.
In this lesson students will learn how information is represented in a way such Print one Binary Images - Worksheet per pair.
that a computer can interpret and store it. When learning binary, students will Print one Binary Image - Assessment per
have the opportunity to write code and share it with peers to view as images. student.
This can then be related back to how computers read a program, translate it to Gather groupings of items that can show opposites
binary, use the information in some way, then reply back in a way humans can for students to use when coming up with their own
understand. For example, when we type a sentence into a document then press binary encodings (Optional).
"save", a computer translates the sentence into binary, stores the information, Make sure every student has a Think Spot
then posts a message indicating the document has been stored. Journal - Reflection Journal.
Agenda Links
Warm Up (10 min)
Heads Up! Please make a copy of any
Vocabulary
documents you plan to share with
Introduction to Binary
students.
Main Activity (20 min)
Binary Images - Worksheet For the Teacher
Wrap Up (10 min) Binary Images - Unplugged Video (download)
Flash Chat: What did we learn? Binary Images - Teacher Video
Journaling Binary Images - Worksheet
Assessment (10 min) Binary Image - Assessment
Binary Image - Assessment Binary Images - Assessment Answer Key
Extended Learning Binary Baubles - Thinkersmith Lesson
For the Students
Think Spot Journal - Reflection Journal
Vocabulary
Binary - A way of representing information using
only two options.
Binary Alphabet - The two options used in your
binary code.
55
Teaching Guide
Warm Up (10 min)
Vocabulary
This lesson has two new terms:
Introduction to Binary
What if we had a picture like this, where there's only two color options for each square, black or white.
How might we encode this so that someone else could recreate the picture without seeing it?
Some students might think back to the Graph Paper Programming lesson. While there could be a lot of similarities, let them know that this
is different enough that they should not use that lesson to guide this one
You may hear suggestions like: "Say 'white, black, white, black'."
"That's a great suggestion! Now I'm going to break you up into pairs. Work with your teammate to decide on a binary alphabet."
Decide whether you want your pairs to share their encodings with the other groups ahead of time, and tell them if they will be creating a key,
or keeping their methods secret.
Wrap Up (10 min)
Flash Chat: What did we learn?
What did we learn today?
What kind of binary alphabet did you create?
Can you think of how you could encode an image using only your fingers?
Do you think you could create a binary alphabet out of sounds?
56
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
Assessment (10 min)
Binary Image - Assessment
Pass out this assessment for students to do individually. Try to save time at the end to go over answers.
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Storing Color Images
If your class really gets the idea behind storing binary images, they may want to know how to do color images.
First, you'll need to discuss how color works using binary (as in Binary Baubles - Thinkersmith Lesson, page 21).
Then, introduce some images that use combinations of those colors
Encourage your students to come up with ways to code these color images.
Hexadecimal
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
G - Geometry
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
57
U
Name: Date:
Binary Images
Binary Representation Activity
Here are six images. Work with a partner to figure out how you can encode them into
binary in such a way that another team can use the code to figure out what image
you selected.
DIRECTIONS
Revision 141016.1a
58
U
Name: Date:
Binary Images
Binary Representation Activity
Match the image to the binary code that describes it. In order to get the images
correct, you will need to figure out the binary alphabet for each encoding.
A)
B)
C)
= _______________ = _______________ This encodes image # _________
Revision 141019.1a
59
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
C/E/F
Overview Objectives
In this lesson, students are asked to build a load-bearing structure using Students will be able to:
common materials. The structure will be tested on its ability to hold a textbook Identify the feeling of frustration when felt or
for more than ten seconds. The goal of this activity is to engage students in a described
difficult challenge to highlight strategies for showing persistence in the face of List strategies for overcoming frustration during a
frustration. Most students will not get this right the first time, but if they continue difficult task
trying and iterating, you can help them identify techniques to make struggle Model persistence while working on a difficult task
productive.
Preparation
Purpose
Watch Practicing Persistence - Teacher Video.
While this lesson may not at first seem connected to Computer Science, it plays Watch the Building a Foundation - Lesson in
an essential role in preparing students to tackle some of the more difficult Action Video.
challenges that will come their way when approaching new CS content. This Print Building a Foundation - Teacher Prep
lesson teaches that failure is not the end of a journey, but rather a step towards Guide.
success. The majority of students should feel frustrated at some point in this Gather enough building elements (marshmallows or
lesson, but it's important to emphasize that failure and frustration are common gumdrops with toothpicks or popsicle sticks) for
steps that lead to creativity and success. each group. You don't have to give any certain
amount; just make sure you put some limit on
Agenda materials.
Warm Up (15 min) Give a Think Spot Journal - Reflection Journal
to each student.
Try, Try Again
Activity (20 min)
Links
Building a Foundation
Testing and Iteration Heads Up! Please make a copy of any
Wrap Up (10 min) documents you plan to share with
Vocabulary students.
Flash Chat: What did we learn?
For the Teacher
Building a Foundation - Lesson in Action Video
Building a Foundation - Teacher Video
Building a Foundation - Teacher Prep Guide
For the Students
Think Spot Journal - Reflection Journal
Vocabulary
Frustrated - Feeling annoyed or angry because
something is not the way you want it.
Persistence - Trying again and again, even when
something is very hard.
60
Teaching Guide
Warm Up (15 min)
Try, Try Again
Think: Ask students to close their eyes and think of a time where
Lesson Tip
they tried to do something and didn't succeed. Maybe it was
attempting a new sport, playing a tough video game, or learning a As you work to embed persistence into your classroom culture,
new skill. As they are thinking silently, ask that they focus consider using some of these images as occasional reminders.
specifically on: Mouse Wants a Cracker
What were you feeling? Fall 7 Times, Stand Up 8
What were you thinking? Never Ever Give Up
What were you saying? If You Quit Too Soon
What were you doing?
Pair: Without discussing what the actual situation was, have students share with a neighbor about what it looked to try something and not
succeed. Encourage them to talk about the things they were feeling, thinking, saying, and doing.
Activity (20 min)
Building a Foundation
The goal of this lesson is not just building a structure, like the activity makes it appear. Instead, it's to prepare students to face failure and
frustration with persistence. In order for that to happen, students need to know that they are not alone in feeling bad when things go wrong.
They also need to be prepared to struggle. The outcome of this activity is much stronger when students know what they are about to
experience.
Remarks
We are going to work in groups today to solve a challenge. It is going to be a very hard challenge, and they made it this way on purpose!
Part of completing this challenge is knowing that we will struggle and we will probably even feel frustrated. Just know that if you hang in
there through the failure, you will eventually succeed!
Set Up: You'll need to have a collection of supplies for each group ready for this activity. It's important that the available supplies are limited
in number and structurally unsound. Potential supply kits include:
Transition: Introduce the challenge, which is to build a structure that can hold a textbook for at least 10 seconds, using provided materials.
61
Group: Divide students into groups of three or four.
Distribute: Pass out the building supplies, letting students know that they are limited to only the supplies you provide.
Display: Show rules that are similar to the ones itemized below
Teaching Tip
in a place where students can easily see and refer back to as
they work. Providing Examples: The planning stage can be difficult for
young students. It may be helpful for you to place some idea
Use only the supplies provided to build a structure. "examples" at the front of the room. Do not announce that they are
The structure can be any shape, but it has to be at least 2.5" there. Simply encourage students to take a walk if they get
tall. (Example) frustrated. Try to encourage students to locate the tips on their
The structure must support the weight of a book for a full 10 own if at all possible. This helps students feel like they
"discovered" something that helped them, rather than being
seconds. (Example)
rescued. Make sure you also have "tips" for being persistent and
Prompt: Ask groups to spend at least 5 minutes planning a for dealing with frustration written in a clear location.
method for building their first tower. Each group should draw or Tips for Overcoming Frustration
write down the steps in their plan.
Count to 10
Circulate: Encourage students to begin building, and observe as Take deep breaths
they work. Keep your eyes open for signs of frustration and Journal about them
repeated failure. Make sure to acknowledge frustration and praise Talk to a partner about them
their persistence. Refer to the methods of dealing with frustration Ask for help
and the methods for productive persistence that are written on the
Tips for Being Persistent
board. Keep reminding individuals that the goal of this lesson is to
experience frustration and persistence, so if they are failing, Keep track of what you have already tried
they're really succeeding! What is happening?
What is supposed to happen?
When groups have reached a design they believe will meet
What does that tell you?
conditions, move them to the "Testing and Iteration" phase.
Make a change and try again
Testing and Iteration
Model: The first time a group tests their structure, model for them them how you intend to test in line with the rules. Specifically you'll want
to:
Why it failed
Whether their plan needs revision, or just another try
How they're going to improve the next iteration
If the structure succeeded, push them to support more weight until it breaks, and then follow the same reflection and iteration process.
Circulate: Allow as much time as you can for groups to continue iterating on their plans. Make sure to be excited not only for the
successes, but also the failures. Model for students how much you can learn from your failed attempts.
Wrap Up (10 min)
Vocabulary
Display: Present the vocab for this lesson, persistence, frustrated. Let the class know that they were showing persistence when they
worked through failures in their structures.
62
Then YOU won this lesson, and YOU won this lesson, and
YOU won, too!
Was there a time that you thought about giving up?
Think: Where would you be now if you had not been persistent when you were learning to walk as a baby? Or if you had been too frustrated
to keep going when you were learning to talk? What other things did you learn to do, even though they were very, very hard?
Pair: Have students discuss this thought exercise with an elbow partner to come up with 1-3 things that fit that description.
Share: Have students write the answers in their journals to remind themselves how strong they can be when faced with a challenge.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
63
U Building a Foundation
Unplugged Learning Persistence through Challenges
Directions:
1) Divide students into groups of 3 or 4.
2) Explain the rules of the challenge, provided on the other page.
3) Provide each group with limited supplies and make it known that they will
get no more.
4) Challenge the class to think ahead to the problem and plan out their
method of building their first tower.
5) Encourage students to begin building, then have them alert you when they
think they’ve met the challenge described by the rules.
6) Test each structure. Is it taller than the cup? Does it hold a book?
7) If not, have students enter a cycle of planning, fixing, testing, and planning
again until the challenge has been met.
8) Congratulate the students as they succeed and take pictures of the suc-
cessful towers (if possible) to upload to the Code.org site!
Revision 140902.1a
64
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
D/E/F 17 18 19
Lesson D.13/E.11/F.11: Conditionals with Cards
Conditionals | Unplugged
Overview Objectives
This lesson demonstrates how conditionals can be used to tailor a program to Students will be able to:
specific information. We don’t always have all of the information we need when Define circumstances when certain parts of a
writing a program. Sometimes you will want to do something different in one program should run and when they shouldn't.
situation than in another, even if you don't know what situation will be true when Determine whether a conditional is met based on
your code runs. That is where conditionals come in. Conditionals allow a criteria.
computer to make a decision, based on the information that is true any time Traverse a program and predict the outcome, given a
your code is run. set of input.
Purpose Preparation
One of the best parts of teaching conditionals is that students already Watch the Conditionals with Cards - Teacher
understand the concept from their everyday lives. Video.
Watch the Conditionals with Cards - Lesson in
This lesson merges computer science into the real world by building off of their
Action Video.
ability to tell if a condition is true or false. Students will learn to use if
Gather decks of cards or something similar.
statements to declare when a certain command should be run, as well as if /
One Conditionals with Cards Sample Program
else statements to declare when a command should be run and what do run
- Teacher Prep Guide for the class to look at.
otherwise. Students may not recognize the word conditionals, but most
Print one Conditionals with Cards -
students will understand the idea of using "if" to make sure that some action
Assessment for each student.
only occurs when it is supposed to.
Make sure every student has a Think Spot
Agenda Journal - Reflection Journal.
For the Students
Think Spot Journal - Reflection Journal
Vocabulary
Conditionals - Statements that only run under
certain conditions.
65
Teaching Guide
Warm Up (20 min)
Vocabulary
This lesson has one new and important word:
Introduction
We can start this lesson off right away
Let the class know that if they can be completely quiet for thirty seconds, you will do something like:
Sing an opera song
Give five more minutes of recess
Do a handstand
Start counting right away.
If the students succeed, point out that they succeeded, so they get the reward.
Otherwise, point out that they were not completely quiet for a full thirty seconds, so they do not get the reward.
Ask the class "What was the condition of the reward?"
The condition was IF you were quiet for 30 seconds
If you were, the condition would be true, and you would get the reward.
If you weren't, the condition would be false, so the reward woud not apply.
Can we come up with another conditional?
If you can guess my age correctly, the class can give you applause.
If I know an answer, I can raise my hand.
What examples can you come up with?
Sometimes, we want to have an extra condition, in case the "IF" statement is not true.
This extra condition is called an "ELSE" statement
When the "IF" condition isn't met, we can look at the "ELSE" for what to do
Example: IF I draw a king from this deck of cards, everybody claps. Or ELSE, everyone says "Awwwwwwe."
Let's try it. (Draw a card and see if your class reacts appropriately.)
Ask the class to analyze what just happened.
What was the IF?
What was the ELSE?
Which condition was met?
Believe it or not, we have even one more option.
What if I wanted you to clap if I draw a 7, or else if I draw something less than seven you say "YAY," or else you say
"Awwwwwwwe"?
This is why we have the terms If, Else-If, and Else.
If is the first condition
Else-If gets looked at only if the "If" isn't true.
Else gets looked at only if nothing before it is true.
Create a few programs with your class that depend on things like a card's suit, color, or value to award or subtract points. You can write
the program as an algorithm, pseudocode, or actual code.
66
if (CARD is RED)
Award YOUR team 1 point
Else
Award OTHER team 1 point
If (card.color == RED){
points.yours = points.yours + 1;
}
Else {
points.other = points.other + 1;
}
Once the class has had some practice, you can encourage students to nest conditionals inside one another. Make sure they understand that
if the card is red, YOUR team is awarded 1 point, and then nothing else happens, since the condition was met:
If (CARD is RED){
Award YOUR team 1 point
Else
If (CARD is higher than 9)
Award OTHER team 1 point
Else
Award YOUR team the same number of points on the card
If (card.color == RED ){
points.yours = points.yours + 1;
}
Else {
if (card.value > 9){
points.other = points.other + 1;
}
Else {
points.yours = points.yours + card.value;
}
}
Wrap Up (15 min)
Flash Chat: What did we learn?
If you were going to code this up in Blocky, what would you
Lesson Tip
need to add around your conditionals to let the code run more
than one time? (A loop) Flash Chat questions are intended to spark big-picture thinking
What other things do you do during the day under certain about how the lesson relates to the greater world and the students'
conditions? greater future. Use your knowledge of your classroom to decide if
you want to discuss these as a class, in groups, or with an elbow
If you are supposed to do something when the value of a card
partner.
is more than 5, and you draw a 5, do you meet that condition?
Notice that conditions are either "True" or "False." There is no
assessment of a condition that evaluates to "Banana."
When you need to meet several combinations of conditions, we can use something called "nested conditionals."
What do you think that means?
Can you give an example of where we saw that during the game?
What part of that game did you like the best?
67
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
Assessment (5 min)
Conditionals with Cards - Assessment
Hand out the assessment worksheet and allow students to complete the activity independently after the instructions have been well
explained. This should feel familiar, thanks to the previous activities. Here's a Conditionals with Cards - Assessment Video to watch as
a guide.
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
True/False Tag
Nesting
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
68
U Conditionals with Cards
Sample Program 1
If (CARD is RED)
Award YOUR team 1 point
Else
Award OTHER team 1 point
This program has you choose a card. If the card is red, your team gets a point. Else, the other team gets a point.
Sample program from above as pseudocode (like code, but in no particular language)
If (card.color == RED) {
points.yours = points.yours + 1;
}
Else {
points.other = points.other + 1;
}
Revision 140829.1a
69
U Conditionals with Cards
Sample Program 2
If (CARD is RED)
Award YOUR team 1 point
Else
If ( CARD is higher than 9)
Award OTHER team 1 point
Else
Award YOUR team the same
number of points on the card
This program has you choose a card. If the card is red, your team gets a point. Else, the card must be black. If your black card is higher than 9,
then the other team gets a point, else your card must be black and lower than or equal to 9, and you get as many points as are on your card.
Sample program from above as pseudocode (like code, but in no particular language)
If (card.color == RED) {
points.yours = points.yours + 1;
}
Else {
If ( card.value > 9) {
points.other = points.other + 1;
}
Else {
points.yours = points.yours + card.value;
}
}
Revision 140829.1a
70
U
Name: Date:
The steps below show each team taking turns to play the Conditionals Game. See if you
can figure out what happens for each draw. Write down the score during each round along
the way. After three rounds, circle the winner.
Else
Award OTHER team 1 point.
Else
If ( CARD is HEARTS)
Award YOUR team 1 point
ROUND #2
4 4
ROUND #3
9 5
Revision 140625.1a
71
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
E 17 18 19 20 21 22 23 24 25 26 27 28
Lesson 28: Crowdsourcing
Unplugged | Crowdsourcing
Overview Objectives
In computer science, we face some big, daunting problems. Challenges such as Students will be able to:
finding large prime numbers or sequencing DNA are almost impossible to do as Identify a large task that needs to be done.
an individual. Adding the power of others makes these tasks manageable. This Rearrange a large task into several smaller tasks.
lesson will show your students how helpful teamwork can be in the industry of Build a complete solution from several smaller
computer science. solutions.
Purpose Preparation
It's very rare that one computer scientist works completely alone on a project. Watch the Crowdsourcing - Teacher Video.
Even when that does happen, there is always benefit in numbers. Today, Review Crowdsourcing - Worksheet.
students will learn what it means to crowdsource a project. This activity builds Obtain a jar of lots of something (pennies, buttons,
teamwork and creates an efficient environment for students to solve problems. slips of paper, etc) and a deck of cards.
Make sure every student has a Think Spot
Agenda Journal - Reflection Journal.
Warm Up (20 min)
Vocabulary
Links
Introduction
Heads Up! Please make a copy of any
Main Activity (20 min)
documents you plan to share with
Crowdsourcing - Worksheet students.
Wrap Up (15 min)
Flash Chat: What did we learn? For the Teacher
Journaling Crowdsourcing - Unplugged Video (download)
Extended Learning Crowdsourcing - Teacher Video
Crowdsourcing - Worksheet
For the Students
Think Spot Journal - Reflection Journal
Vocabulary
Crowdsourcing - Getting help from a large group of
people to finish something faster.
72
Teaching Guide
Warm Up (20 min)
Vocabulary
This lesson has one new and important word:
Introduction
Show your students your jar full of something.
Lesson Tip
"Look at this jar. I have a lot of buttons in here, and I need to
tell the principal how many there are before the end of Jars of buttons and pennies work nicely, but if you find yourself
class." with little time to prepare, you can cut slips of paper and put them
"Can you think of a way I could get these counted quickly?" in a ziplock bag or even a pencil box.
Your students may guide you toward seeking help, but if they
don't, you can suggest it, too.
Pour all of the buttons (or pennies, etc.) into a pile on the floor.
Invite all of the students to come up and grab a small number (ten is good, but you can do more if your students can handle it).
Once they've counted out their ten, have them report to you, drop their buttons back in the jar, and go again until the pile is gone.
Comment on how fast the task went.
Have the class reflect on how long it might have taken or how hard it may have felt to do alone.
Directions:
Wrap Up (15 min)
Flash Chat: What did we learn?
Have you ever tried to sort a pile of cards by yourself?
Do you think it was easier or harder to have help?
What other things do you have to do in life that could be easier with help?
73
Journaling
Having students write about what they learned, why it’s useful,
Lesson Tip
and how they feel about it can help solidify any knowledge they
obtained today and build a review sheet for them to look to in the Flash Chat questions are intended to spark big-picture thinking
future. about how the lesson relates to the greater world and the students'
greater future. Use your knowledge of your classroom to decide if
Journal Prompts:
you want to discuss these as a class, in groups, or with an elbow
What was today's lesson about? partner.
How do you feel about today's lesson?
What are the benefits of crowdsourcing?
What kind of things do you want to make with computer science? How do you see crowdsourcing being beneficial in those projects?
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Reverse Crowdsourcing
Often we think of crowdsourcing as pulling things apart to make them more simple. You can also make big, beautiful things with the same
technique.
Have your students each grab three cards and build one segment of a card house. Each student can go one after another to build a grand
card tower.
Try with two, or even three students adding their chunk at a time.
Crowdsourcing in the Round
You can crowdsource all at the same time or you can do it one person at a time. Try having the whole class sort the same deck of cards,
one student at a time.
Shuffle the cards and place them in a pile in the center of the room.
Have each student approach the pile and choose four cards.
Have four piles for the students to sort their cards into
Spades
Clubs
Hearts
Diamonds
Once all cards have been put in their four piles, have the following four students sort the individual piles.
The last person will put all four piles together.
This version may not save a lot of time, but it still divides the work and lets each individual have more free time!
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
74
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
D 17 18 19
Lesson 16: Digital Citizenship
Common Sense Education | Unplugged
Overview Objectives
In collaboration with Common Sense Education, this lesson helps students Students will be able to:
learn to think critically about the user information that some websites request or Compare and contrast their responsibilities to their
require. Students learn the difference between private information and personal online and offline communities.
information, distinguishing what is safe and unsafe to share online. Understand what type of information can put them at
risk for identity theft and other scams.
Students will also explore what it means to be responsible and respectful to
Reflect on the characteristics that make someone an
their offline and online communities as a step toward learning how to be good
upstanding citizen.
digital citizens.
Devise resolutions to digital dilemmas.
Purpose
Preparation
As students spend more time on computers, they should be aware that the
Watch the Digital Citizenship - Teacher Video.
internet is not always a safe space. In this lesson, students are taught what
Print out a good selection of male and female
information is safe to share and what information should remain private.
Cubecraft Superhero Templates -
Students will create "superheros" and learn what it means to be a Digital Citizen
Manipulatives sheets for the whole class.
on the internet.
Print one Digital Citizenship - Assessment for
Agenda each student.
Review CSF Digital Citizenship - Resource List
Warm Up (15 min) for more online safety content.
Vocabulary
Personal vs. Private Online Links
Main Activity (35 - 40 min)
Cubecraft Superhero Templates - Manipulatives Heads Up! Please make a copy of any
Wrap Up (15 min) documents you plan to share with
Flash Chat: What did we learn? students.
Journaling
For the Teacher
Assessment (5 min)
Digital Citizenship - Teacher Video
Digital Citizenship - Assessment
Cubecraft Superhero Templates - Manipulatives
Extended Learning
Digital Citizenship - Assessment
Digital Citizenship - Assessment Answer Key
Common Sense Education - Website
CSF Digital Citizenship - Resource List
For the Students
Think Spot Journal - Reflection Journal
Vocabulary
Digital Citizen - Someone who acts safely,
responsibly, and respectfully online.
75
Teaching Guide
Warm Up (15 min)
Vocabulary
This lesson has one new and important phrase:
Personal vs. Private Online
Ask "What types of information do you think are okay to share
Lesson Tip
publicly online or on a profile that others will see?"
What are some examples of websites where you must register If you have access to a computer, feel free to navigate to a site
in order to participate? that might require this type of information, such as Gmail or
Write the names of the websites on the board. Facebook.
What information is required and why do you think it is
required?
Information may be required to help distinguish one person from another.
The website may keep a record of who uses it.
Explain that it’s important to know that sharing some kinds of user information can put you and your family’s privacy at risk.
Point out that you do not have to fill out fields on websites if they are not required.
Required fields are usually marked by an asterisk (*) or are highlighted in red.
Elementary school students should never register for sites that require private information without the approval and guidance of a parent
or guardian.
Here is an example of public versus private information:
Explain that some people will actively try to get you to share this kind of information so that they can use it to take over your identity. Once
a thief has taken someone’s identity, he or she can use that person’s name to get a driver’s license or buy things, even if the person
whose identity they stole isn’t old enough to do these things!
It’s often not until much later that people realize that their identity has been stolen. Identity thieves may also apply for credit cards in
other people’s names and run up big bills that they don’t pay off. Let students know that identity thieves often target children and teens
because they have a clean credit history and their parents are unlikely to be aware that someone is taking on their child’s identity.
76
This also means that negative comments can spread very quickly to friends of all ages.
CREATE a three-column chart with the terms “Safe,” “Responsible,” and “Respectful” written at the top of each column. Invite students to
shout out words or phrases that describe how people can act safely, responsibly, and respectfully online, and then write them in the
appropriate column.
Now, let's really make sure we understand how to be a Super Digital Citizen!
Directions:
Wrap Up (15 min)
Flash Chat: What did we learn?
What is a good way to act responsibly online?
Lesson Tip
What kinds of personal information could you share about
yourself without showing your identity? Flash Chat questions are intended to spark big-picture thinking
What kinds of superpowers or qualities did your digital about how the lesson relates to the greater world and the students'
superheroes have in common? greater future. Use your knowledge of your classroom to decide if
you want to discuss these as a class, in groups, or with an elbow
What does Spider-Man’s motto “With great power comes great
partner.
responsibility” mean to you, as someone who uses the
internet?
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
Assessment (5 min)
Digital Citizenship - Assessment
Hand out the assessment worksheet and allow students to complete the activity independently after the instructions have been well
explained.
This should feel familiar, thanks to the previous activities.
77
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Common Sense Education
Visit Common Sense Education - Website to learn more about how you can keep your students safe in this digital age.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
If you are interested in licensing Code.org materials for commercial purposes, contact us.
78
U
Name: Date:
Digital Citizenship
Unplugged Assessment Worksheet
Just because you can do something online doesn’t mean that you should!
Cross out the information that you should not share online. Use the words that are leftover
as the key to what you should find in the word search.
WORDS
Write a paragraph in the area below, telling about what you will do when you’re on the
Internet to make sure that you practice kind and respectful behavior.
Revision 140625.1a
79
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
E 17 18 19 20 21 22 23 24 25 26 27 28
Lesson 17: Digital Sharing
Overview Objectives
Loaned to Computer Science Fundamentals by the team over at Copyright and Students will be able to:
Creativity, this lesson exists to help students understand the challenges and Interpret ethical sharing of copyrighted material vs.
benefits of respecting ownership and copyright, particularly in digital sharing that is not ethical.
environments. Students should be encouraged to respect artists’ rights as an Understand their own rights regarding materials that
important part of being an ethical digital citizen. they have created
Purpose Preparation
Students will soon be creating projects to share and most of these projects will Locate the copyright sharing video at Digital
contain either code or imagery that students did not create themselves. This Sharing Ethics (Video) - Video
lesson is here to show students the proper way to handle the use of content Download and review the complete Digital
that is not their own. Sharing Lesson Plan from Copyright and
Creativity
Agenda As the teacher, create a piece of art for the lesson
Warm-Up (Optional) (15 min) (picture, song, slideshow, etc.)
You will need a tablet or smart phone to replicate
Write a Character Sketch
the sharing of that item
Ethical Sharing (30 min)
To Share or Not to Share?
Okay to Share
Links
Not Okay to Share
Heads Up! Please make a copy of any
Wrap-Up (10 min)
documents you plan to share with
Journaling / Flash Chat students.
Extended Learning
For the Teacher
Digital Sharing Lesson Plan
For the Students
Digital Sharing Ethics (Video) - Video
Vocabulary
Copyright - the exclusive legal right to print,
publish, perform, film, or record literary, artistic, or
musical material, and to authorize others to do the
same
80
Teaching Guide
Warm-Up (Optional) (15 min)
The following writing exercises are designed to create context, help students engage with the topic, and prepare them for the lesson
discussion.
Write a Character Sketch
Ask students to write a character sketch about one or both of the characters in the video. Be as creative as you can. There are no wrong
answers. Give these characters a life of their own, whatever you want it to be.
Ethical Sharing (30 min)
Activity: Have all of your students stand up. Begin reading the list of ways to create content below. Instruct students to sit down as soon as
they can answer “Yes” to one of the prompts.
Have you ever made a video (on a camera, phone, iPad, or computer) and sent it to a family member or posted it online?
Have you taken a photo and sent to a family member or posted it online?
Have you created a piece of art to share with your family and friends?
Have you made up a song to make your friends laugh? Or a sad song to make them cry?
Have you written a poem for your mom or dad on their birthday?
Keep asking similar questions until the entire class is seated.
Discuss:
Encourage all responses.
Help students feel the joy of creating something. Creating can be a lot of hard work, but it is one of the most rewarding things we do. Sharing
what we create is fun, and it can encourage more creativity and art. As we get older, we have more and more opportunities to share our
work and explore media and art that other people have created. We want to make sure we are always fair when using others’ art and
creative work.
81
Say: Remember, copyright protects all kinds of creative work so that artists/creators can get paid for their effort. This includes, original
writing (stories), art, photographs, audio, images, music, song lyrics, even the doodle you drew on your napkin at lunch. It doesn't matter if it
was created by a famous artist or by you. When you make an original work, you get to decide who can:
make copies
distribute copies
display or perform the work in public
make spin‐offs; we call these derivatives (for example, like a book being made into a movie)
These rights are given to artists and creators to encourage them to make even more creative work.
Think: Have students think back to the art creation prompt where they first sat down. Inform them that they created an original work with
legal protection. Congratulations!
Pair:
Demonstrate: Show students how to draw a copyright symbol and write the year next to it. When you make something creative like this, it’s
automatically protected by copyright, even without the copyright symbol.
Discuss:
How does it feel when you share your things with someone else?
What does it feel like when someone takes your things and shares them without your permission?
The same principles of respect and fairness apply when we share our work or someone else’s work online.
As we watch the video, decide if the music is OK to share or not. Okay to Share
Discuss: What did you think of that? How do you think you would I made this. That means I own it. I think I’m going to share it. I’m
feel if you wrote a song and people shared it without asking for going to take out my phone (iPad, camera, etc.) to get a picture.
your permission? When we share digital files by: I think I want to share it on my blog where I might make some
money advertising on[Use the site of your choice.] Is this fair?
sending pictures or songs through email
[Yes, this is OK to share because I made it — I own the
copying songs from our MP3 player to our friend’s computer
copyright.]
copying a movie from a DVD to all our friends’ computers
What about a song I wrote? Can I share that? . . . Who gets to
That's not just sharing, it's making new copies! decide?
[“That’s right, I do.”]
Discuss: If you were one of these characters in the video, what
What will happen when I share it?
could you do to share fairly? What about other sharing situations?
[Take responses: “It’s fun, . . . I’ll get a bunch of ‘likes’ . . .
What other ethical considerations are there?
People will want to use it for mashups.”]
(Some acceptable responses:) - Send your friend a link to the Let’s say you draw a picture to sell at a school art show. The
artist’s YouTube channel where she can listen to the song. - Help money from the art sale will go to buy new library books. Is this
your friend buy the song from an online store that you can trust a good share . . . is it ethical?
because it’s used by a large online community, like iTunes or [Yes.]
Amazon. Why is this share OK?
Ask yourself: Who owns this? Do I have permission to share? Do [Take responses: “It’s yours!”, “You made it. You own it.
I have a right to make a copy? Am I being fair to everyone You can choose to share it.” ]
involved?]
82
Wrap-Up (10 min) Discussion Goal
Remember, copyright is a protection given to writers and artists for Not Okay to Share
a limited time to let them receive payment for their work. It’s
Have you ever transferred songs to your friend’s MP3 player? Is
intended to foster more creativity. As we share and use, we need to
that OK?
respect each other’s work and the laws of copyright. Just because
[If it’s a song you hear on the radio, it’s most likely protected
we own a copy of something does not mean we have the right to
by copyright and NOT OK to share, copy, and give away.]
make more copies to give or sell to other people. Copyright gives
What if your friend invites you to his house to watch a movie
us some protection over how our art will be used and shared by
that just came out on DVD? This is one of your favorite movies.
others.
You want it on your phone, so you can watch it whenever you
want. So, you take out your phone and record the movie. Is this
Journaling / Flash Chat a fair way to get a copy of the movie?
[No. This is not OK to share/copy. Why? Because you don’t
Having students write about what they learned, why it’s useful, and own the right to make a copy and give it away.]
how they feel about it can help solidify any knowledge they How else could you get an authorized (legal) copy of the
obtained today and build a review sheet for them to look to in the movie for your phone?
future. [iTunes or Amazon sell movies legally.]
Journal Prompts:
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
RI - Reading Informational
SL - Speaking & Listening
If you are interested in licensing Code.org materials for commercial purposes, contact us.
83
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
F 17 18 19 20 21 22 23 24 25 26 27 28
Lesson 14: Envelope Variables
Unplugged | Variable
Overview Objectives
Variables are used as placeholders for values such as numbers or words. Students will be able to:
Variables allow for a lot of freedom in programming. Instead of having to type Identify variables and determine their values.
out a phrase many times or remember an obscure number, computer scientists Define and call variables in the context of real-life
can use variables to reference them. This lesson helps to explain what activities.
variables are and how we can use them in many different ways. The idea of Create situations which require the use of variables.
variables isn't an easy concept to grasp, so we recommend allowing plenty of
time for discussion at the end of the lesson. Preparation
Purpose Watch the Envelope Variables - Teacher Video.
Obtain 6 or more blank envelopes for warm up plus
Variables are very helpful in programming. Students will be introduced to this some for the main activity.
topic using envelopes to represent variables that have been given names. The Print one Envelope Variables - Worksheet per
value of the variable will be written on a card inside of an envelope. This lesson student.
helps students understand how names can be a placeholder for values in the Print one Envelope Variables - Assessment for
physical world, so that programming with variables will seem less confusing in each student.
the virtual world. Provide students with envelopes, paper, pens &
pencils.
Agenda Make sure every student has a Think Spot
Warm Up (10 min) Journal - Reflection Journal.
Vocabulary
Introduction
Links
Main Activity (20 min)
Heads Up! Please make a copy of any
Envelope Variables - Worksheet documents you plan to share with
Wrap Up (10 min) students.
Flash Chat: What did we learn?
Journaling For the Teacher
Assessment (10 min) Variables in Envelopes - Unplugged Video
Envelope Variables - Assessment (download)
Extended Learning Envelope Variables - Teacher Video
Envelope Variables - Worksheet
Envelope Variables - Worksheet Answer Key
Envelope Variables - Assessment
Envelope Variables - Assessment Answer Key
For the Students
Think Spot Journal - Reflection Journal
Vocabulary
Variable - A placeholder for a piece of information
that can change.
84
Teaching Guide
Warm Up (10 min)
Vocabulary
This lesson has one important word:
Introduction
Call four volunteers to the front of the room and line them up. Let the students know that you are going to write a poem for each of them.
On the board (or under your document camera) write the sentence for your first student (suppose it's Bill):
Encourage the students to clap at your abilities and thank Bill for volunteering. Allow Bill to sit down (or go to the back of the line) as you
erase the board, then call the next volunteer (we'll say that she's called Annie).
Again, accepting applause, erase the board and invite the next volunteer.
As you call the final volunteer, inquire as to whether everyone in the class would like a poem written about each of them. Maybe the
everyone in the whole school? Goodness, that's going to take a while! Pose the question to your students:
Your students will likely pick up on the fact that only one word is changing, and that word is simply a person's name. Help them see the
location by circling Jenny's name on the board and writing "firstName" next to it.
"It would take a long time to write a poem for everyone in the school if I couldn't start until I knew who I was writing it about, wouldn't it?"
How long do you think it would take to make a video game if they couldn't start until they knew your username?
How expensive would video games be if they had to be created separately for each person?
How do you think we can get around that?
By this time, it's quite likely that your class will come up with the idea of having a placeholder. With that, they're most of the way into
understanding where this lesson goes.
Now, let's add some more volunteers. Give them each a piece of paper to write their name on, and have them tuck it inside individual
envelopes labeled firstName.
This time, put the poem on the board with a blank space labeled "firstName" where the student's name will go.
Have the first student in line (likely the last student from the previous example) pull their name from the envelope and that's what you'll
write in the space.
When you erase the board, only erase the portion with the last student's name in it.
Call the next student to show their variable.
Repeat as many times as is entertaining
85
Main Activity (20 min)
Envelope Variables - Worksheet
Once the students understand how the envelopes relate to the sentences, pass out the activity worksheet and let them prepare some
variables of their own.
Directions:
Wrap Up (10 min)
Flash Chat: What did we learn?
What did we learn today?
Can you think of anywhere that you have seen variables before?
There is at least one variable at the top of most homework hand outs? Can you think of what it could be?
Why do you think that professionals do not put spaces in variable names?
What would happen if there was a variable "eye" a variable "color" and a variable "eye color"?
Variables can be used to store numbers, too.
Suppose I have envelopes labeled num1 and num2, then I write num1+num2?
What happens if the "num1" envelope contains the number 4 and "num2" contains the number 5?
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
Assessment (10 min)
Envelope Variables - Assessment
Allow students enough time to finish this assessment. If you are willing to spare more time, go over the answers as a class.
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
What's in the box?
Draw boxes on a piece of paper with simple mathematical operators between them.
For instance [] + [] = []
Have similar size squares with numbers between 1 & 20.
Ask one student to come create a true equation, using the numbers provided.
Once the student has finished (and the class verifies the equation) exchange one of the numbers with another one, then remove a
second number entirely.
Tell the students that there is a hidden number in the empty box that makes that equation true again.
What number is in the box?
Play this game over and over again until you can remove the number from any location and the students can figure out what it is
supposed to be.
86
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
87
U
Name: Date:
Variables in Envelopes
Unplugged Robot Variables Worksheet
Think about a robot. What is it supposed do? What does it look like?
Draw your robot on paper. When you’re done, answer the three questions below on
separate pieces of paper, then put them in the correct envelopes.
e numUnitsTall
robotNam purpose
Revision 180214.1a
88
U
Name: Date:
Variables in Envelopes
Unplugged Variables Assessment Worksheet
Given the value of each variable envelope, fill-in the blanks to finish the sentence.
animal = monkey
I love _______________ . I do it every evening.
hobby
hobby
= coding The best sport in the world is _______________, do
bestSport
you agree?
Variable envelopes can also contain number values. Use these envelopes and the
provided equations to figure out the magic numbers below.
numOne
=2 = -
magicNumberA numThree numOne
=
numTwo =5 *
magicNumberB numTwo numOne
=
numThree =7 + *
magicNumberC numOne numTwo magicNumberB
Revision 150807.1a
89
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
F 17 18 19 20 21 22 23 24 25 26 27 28
Lesson 18: For Loop Fun
Unplugged | For Loops
Overview Objectives
We know that loops allow us to do things over and over again, but now we’re Students will be able to:
going to learn how to use loops that have extra structures built right in. These Determine starting value, stopping value, and
new structures will allow students to create code that is more powerful and stepping value for a `for` loop.
dynamic. Illustrate the counter values hit each time through a
for loop during runtime.
Purpose
At this point, students have become masters of loops. Today, they will learn
Preparation
about another loop commonly used in programming. The for loop repeats Watch the For Loop Fun - Teacher Video.
commands a certain number of times, but also keeps track of the values it is Watch the For Loop Fun - Lesson in Action
iterating over. For example, a for loop that begins at 4, ends with 8, and has a Video.
step value of 1 will repeat 4 times, but the values 4, 5, 6, and 7 will also be Print one For Loop Fun - Worksheet per group.
captured for use elsewhere. Using this structure with variables can create some Print one For Loop Fun - Assessment for each
pretty fantastic programs. Today, students will simply be learning the basics of a student.
for loop before diving into programming with them next time! Make sure every student has a Think Spot
Journal - Reflection Journal.
Agenda
Warm Up (20 min)
Links
Vocabulary Heads Up! Please make a copy of any
For One and All
documents you plan to share with
Main Activity (20 min) students.
For Loop Fun - Worksheet
Wrap Up (15 min) For the Teacher
Flash Chat: What did we learn? For Loop Fun - Unplugged Video (download)
Journaling For Loop Fun - Assessment Key - Teacher Key
Assessment (5 min) (download)
For Loop Fun - Assessment For Loop Fun - Teacher Video
Extended Learning For Loop Fun - Lesson in Action Video
For Loop Fun - Worksheet
For Loop Fun - Worksheet Answer Key
For Loop Fun - Assessment
For the Students
Think Spot Journal - Reflection Journal
Vocabulary
For Loop - Loops that have a predetermined
beginning, end, and increment (step interval).
90
Teaching Guide
Warm Up (20 min)
Vocabulary
This lesson has one new and important word:
For One and All
Point out that there are certain loops that happen very frequently, for example, loops where you need to keep track of how many times
you have been through
Sometimes, you don't want to start with one
Sometimes, you don't want to count by ones
for loops give you a powerful way to keep a counter that starts when you want, ends when you want, and increases by whatever size
step that you want
Here, you can jump right into a sample of the game (example in English)
91
Main Activity (20 min)
For Loop Fun - Worksheet
Sometimes we want to repeat things a certain number of times, but we want to keep track of values as we do. This is where a for loop
comes in handy. When you use a for loop, you know right from the start what your beginning value is, what your ending value is, and how
much the value changes each time through the loop.
Wrap Up (15 min)
Flash Chat: What did we learn?
What would your interval need to be if you wanted to count
Lesson Tip
from 4 to 13 by threes?
What kinds of things do you think you could do with a for loop? Flash Chat questions are intended to spark big-picture thinking
Can you reproduce a normal loop using a for loop? about how the lesson relates to the greater world and the students'
What would you need to do? greater future. Use your knowledge of your classroom to decide if
you want to discuss these as a class, in groups, or with an elbow-
partner.
Journaling
Having students write about what they learned, why it’s useful,
and how they feel about it can help solidify any knowledge they obtained today and build a review sheet for them to look to in the future.
Journal Prompts:
92
Assessment (5 min)
For Loop Fun - Assessment
Hand out the assessment worksheet and allow students to complete the activity independently after the instructions have been well
explained. This should feel familiar, thanks to the previous activities.
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Run it Backward
Try this activity again, but this time have the start number be selected using three dice, and the stop number with only one. Make sure to
have a negative increment!
Hop Scotch
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
OA - Operations And Algebraic Thinking
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
93
U
Name: Date:
L E
Directions:
P
* Use the number lines to trace the “for loop” for each turn
M
* Start at the starting value of X
SA
* Count down the number line, circling the numbers at the correct interval
* Stop when you get to the stopping value
* Add all of the circled values to get the score for your round
* Best 2 out of 3 Wins
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
ROUND 1
For values of X from _______ to _______ incrementing by _______
Player 2 starting value stopping value interval
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Revision 140927.1a
94
U
Name: Date:
Directions:
* Use the number lines to trace the “for loop” for each turn
* Start at the starting value of X
* Count down the number line, circling the numbers at the correct interval
* Stop when you get to the stopping value
* Add all of the circled values to get the score for your round
* Best 2 out of 3 Wins
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
ROUND 1
For values of X from _______ to _______ incrementing by _______
Player 2 starting value stopping value interval
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Revision 140927.1a
95
U
Name: Date:
Below, you will find three rounds of the For Loop Game, along with what each player rolled during
their turn. Fill out the number lines and tally the scores for each round.
Who won the game?
1 18
For values of X from _______ to _______ incrementing by _______ 4 SCORE
Player 1 starting value stopping value interval
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
ROUND 1
3 11
For values of X from _______ to _______ incrementing by _______ 2
Player 2 starting value stopping value interval
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
3 17
For values of X from _______ to _______ incrementing by _______ 5
Player 1 starting value stopping value interval
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
ROUND 2
5 17
For values of X from _______ to _______ incrementing by _______ 3
Player 2 starting value stopping value interval
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
6 11
For values of X from _______ to _______ incrementing by _______ 1
Player 1 starting value stopping value interval
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
ROUND 3
2 15
For values of X from _______ to _______ incrementing by _______ 6
Player 2 starting value stopping value interval
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
WHO WON?
Directions:
PLAYER # _______
* Use the number lines to trace the “for loop” for each turn
* Start by circling the number at the starting value of X
* Count down the number line, circling the numbers at the correct interval
* Stop when you get to the stopping value
* Add all of the circled values to get the score for your round
* Best 2 out of 3 Wins
Revision 140928.1a
96
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
C
Lesson 7: Getting Loopy
Unplugged | Loops
Overview Objectives
As we start to write longer and more interesting programs, our code often Students will be able to:
contains a lot of repetition. In this lesson, students will learn about how loops Repeat actions initiated by the instructor.
can be used to more easily communicate instructions that have a lot of Translate a picture program into a real-world dance.
repetition by looking at the repeated patterns of movement in a dance. Convert a series of multiple actions into a single
loop.
Purpose
At this point in the course, students should have developed comfort with
Preparation
programming a set of linear instructions. Frequently the linear set of instructions Watch the Getting Loopy - Teacher Video.
includes patterns that are repeated multiple times and as students want to write Print one Getting Loopy - Worksheet for the
more complex and interesting programs, manually duplicating that code class.
becomes cumbersome and inefficient. To enable students to write more Print one Getting Loopy - Assessment for each
powerful programs, we'll need to rely on structures that break out of the that student.
single linear list. Loops allow for students to structure their code in a way that Make sure every student has a Think Spot
repeats. In this lesson, we will focus on identifying patterns in physical Journal - Reflection Journal.
movement before moving back onto the computer to look for patterns in our
code. Links
Agenda Heads Up! Please make a copy of any
documents you plan to share with
Warm Up (5 min)
students.
Repeat After Me
Main Activity (15 min) For the Teacher
Assessment (10 min)
Getting Loopy - Unplugged Video (download)
Wrap-Up (15 min)
Getting Loopy - Teacher Video
Vocabulary Getting Loopy - Assessment Answer Key
Flash Chat: What did we learn?
Journaling For the Students
Extended Learning Getting Loopy - Worksheet
So Moving Getting Loopy - Assessment
Connect It Back Think Spot Journal - Reflection Journal
Vocabulary
Loop - The action of doing something over and over
again.
Repeat - Do something again
97
Teaching Guide
Warm Up (5 min)
Repeat After Me
Model: Ask for a volunteer and have them stand.
Instruct your volunteer to walk around the table (or their chair, or a friend).
When they finish, instruct them to do it again, using the exact same words you did before.
When they finish, instruct again.
Then again.
Prompt: Would it have been easier for me to just ask you to go around the table four times?
Think: What if I wanted you to do it ten times? How would you reword my instructions so that they were more efficient and I didn't have to
repeat myself so much? Feel free to write your instructions down on a piece of scrap paper.
Share: Ask a few students to share their instructions with the class, pointing out how each approach has simplified the overall approach to
giving instructions.
Remarks
Today we're going to work on finding ways to make giving lots of instructions easier, especially when those instructions repeat themselves
a lot. This will be really useful when we go back to the computers and have to write lots of instructions in our programs.
Say: Introduce the main activity by letting the class know that we
Lesson Tip:
will be having a dance party. In order to have that party, we'll need
to know what all of the steps in the dance are, and how many Looking for some good music? Here are some great places to
times we should do them. find some:
98
Model: Show the class what the entire dance looks like done at full-speed. Then run through the dance slowly, asking a different student to
call out each line of instructions. Next, have the students perform the dance along with you, saying the instructions aloud as they get to each
move.
Prompt: Ask students to work with a neighbor to find all of the sections of the dance that repeat.
Share: Ask a few students to share the repeating patterns that they found. As a class, talk through how you might rework the instructions to
be even shorter by repeating those patterns.
Assessment (10 min)
Ending with an assessment sheet will help solidify this lesson for your students.
Distribute: Hand out the Getting Loopy - Assessment to each student. Allow students to complete the activity independently after the
instructions have been well explained. This should feel familiar, thanks to the previous activities.
Wrap-Up (15 min)
Vocabulary
Display: Present the vocab for this lesson, loop. Ask the class to point out the main loop that was in the dance. Why do you think we call it a
loop?
99
Flash Chat: What did we learn?
Do you think it is easier to add more pictures to the screen or change the number of times we loop?
Would your answer be the same if we wanted to loop 100 times?
Could we use these same loops with different dance moves?
Do you know any dances that are done inside a loop?
What was your favorite part about that activity?
Journaling
Having students write or draw about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they
obtained today and build a review sheet for them to look to in the future.
Journal Prompts:
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
So Moving
Give the students pictures of actions or dance moves that they can do.
Have students arrange moves and add loops to choreograph their own dance.
Share the dances with the rest of the class.
Connect It Back
Find some YouTube videos of popular dances that repeat themselves.
Can your class find the loops?
Try the same thing with songs!
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
OA - Operations And Algebraic Thinking
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
100
U Getting Loopy
Unplugged Loops Activity
The Iteration
t
pa r
Behind Head Waist Behind Head Waist
s
t th i s!
e
pea tim
R e 3
Clap Clap Clap
Then do this
Belly Laugh
Revision 140709.2a
101
U
Name: Date:
Getting Loopy
Unplugged Unplugged Loops Activity
a rt
Behind Head Waist Behind Head Waist
p
t h is !
t es
pea tim
R e 3
Clap Clap Clap
Revision 140709.1a
102
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14
A
Lesson 8: Going Places Safely
Common Sense Education | Unplugged
Overview Objectives
In collaboration with Common Sense Education - Website, this lesson Students will be able to:
helps students learn that many websites ask for information that is private and Understand that being safe when they visit websites
discusses how to responsibly handle such requests. Students also find out that is similar to staying safe in real life
they can go to exciting places online, but they need to follow certain rules to Learn to recognize websites that are safe for them to
remain safe. visit.
Recognize the kind of information that is private and
Purpose understand that it should never be shared online.
Common Sense Education has created this lesson to teach kids the importance
of being safe online. By relating places in the real world to websites on the
Preparation
internet, students will make important connections between safe websites and Watch the Going Places Safely - Teacher
safe places in their own neighborhood. Video.
Prepare to show the Going Places Safely -
Agenda Lesson Video.
Warm Up (20 min) Live access or print-off of SecretBuilders sign-up
page (Click “New Player,” select an age, and then
Vocabulary
Where We Go select “I’m a Girl” or “I’m a Boy.”).
Print one Going Places Safely - Assessment for
Main Activity (20 min)
each student.
Keep It Private
Make sure each student has a Think Spot
Wrap Up (15 min)
Journal - Reflection Journal.
Flash Chat: What did we learn? Review CSF Digital Citizenship - Resource List
Journaling
for more online safety content.
Assessment (5 min)
Going Places Safely - Assessment Links
Extended Learning
Heads Up! Please make a copy of any
documents you plan to share with
students.
For the Teacher
Going Places Safely - Teacher Video
Going Places Safely - Lesson Video
Going Places Safely - Assessment
Going Places Safely - Assessment Answer Key
Common Sense Education - Website
CSF Digital Citizenship - Resource List
For the Students
Feeling Faces - Emotion Images
Think Spot Journal - Reflection Journal
103
Teaching Guide
Warm Up (20 min)
Vocabulary
This lesson has one new and important word:
A name you make up so that you can see or do things on a website, sometimes called a “screen name”
Where We Go
Invite students to talk about places they have visited on a class field trip.
If students have limited experience with field trips, provide some examples of the types of places they could visit as a class, such as
museums, science centers, or zoos.
Have students choose a place they would like to go on a class field trip.
Have students take an imaginary field trip to their chosen place.
Narrate the preparations while having students pantomime what’s happening – For example: put on your jacket; climb on/off the bus;
get your ticket checked; go inside.
Have students describe what they think they might see and do once they arrive.
Let the students sit back down, then ask: "What do you need to do to stay safe when you visit new places?"
Play Going Places Safely - Lesson Video.
What three rules does Jeremiah follow when he goes places online?
Keep It Private
Access SecretBuilders sign-up page live, or project a print-out on the board for the class to see.
Invite students to give examples of information that they should keep private.
Write down their responses on the board or chart paper so that you can return to them later in the lesson.
Make sure they understand that private information includes the following:
full name
age
address
telephone number
email address (or parents’ email addresses)
where they go to school or after school
where their parents work
Encourage students to discuss why it is important to keep this information private.
Stress that it is never safe to give out private information to people they don’t know.
Students should always ask a parent or caregiver before they give out private information to anyone.
Refer back to the sign-up page.
Ask "Do you think you should use your real name, or something that includes your real name, when you make up a username?"
Guide students through the following rules and tips for creating usernames:
104
Rules:
Tips
Include the name of something that will help you remember your username, like your favorite animal, character, or toy. You might have to
combine this with other words or numbers.
If the username you create is already taken, you will have to come up with another one.
Write down your username and password and, with the help of a parent, find a safe place to keep it in case you forget them.
Directions:
Wrap Up (15 min)
Flash Chat: What did we learn?
What information should you always keep private when you are using the computer?
What rules should you follow when you make up a username?
What can the Internet be used for?
What rules do we have for visiting places online?
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
105
Assessment (5 min)
Going Places Safely - Assessment
Hand out the assessment worksheet and allow students to complete the activity independently after the instructions have been well
explained.
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Common Sense Education
Visit Common Sense Education - Website to learn more about how you can keep your students safe in this digital age.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
G - Geometry
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
106
U
Name: Date:
Keep It Private
Unplugged Learning to be Safe and Responsible Assessment
Just because you can share something online doesn’t mean that you should!
2) Can you spot the private information? Mark “X” through the information that you should
not share with people you do not know well.
3) On the back of this paper, draw something that you enjoy and want to share on the
Internet.
Revision 140701.1a
107
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
D 17 18 19
Lesson 1: Graph Paper Programming
Overview Objectives
By "programming" one another to draw pictures, students get an opportunity to Students will be able to:
experience some of the core concepts of programming in a fun and accessible Reframe a sequence of steps as an encoded
way. The class will start by having students use symbols to instruct each other program
to color squares on graph paper in an effort to reproduce an existing picture. If Explain constraints of translating problems from
there’s time, the lesson can conclude with images that the students create human language to machine language
themselves.
Preparation
Purpose
Watch the Graph Paper Programming -
The goal of this activity is to build critical thinking skills and excitement for the Teacher Video.
course, while introducing some of the fundamental programming concepts that Watch the Graph Paper Programming - Lesson
will be used throughout the course. By introducing basic concepts like in Action Video.
sequencing and algorithms to the class in an unplugged activity, students who Print out one Graph Paper Programming -
are intimidated by computers can still build a foundation of understanding on Worksheet for each group.
these topics. In this lesson, students will learn how to develop an algorithm and Print one Graph Paper Programming -
encode it into a program. Assessment for each student.
Supply each group with several drawing grids,
Agenda paper, and pens/pencils.
Warm Up (10 min) Make sure every student has a Think Spot
Journal - Reflection Journal.
Introduction to Graph Paper Programming
Main Activity (30 min)
Links
Practice Together
The Students' Turn
Heads Up! Please make a copy of any
Wrap Up (15 min) documents you plan to share with
Journaling / Flash Chat students.
Optional Assessment (10 min)
Graph Paper Programming - Assessment For the Teacher
For the Students
Graph Paper Programming - Unplugged Video
(download)
Graph Paper Programming - Worksheet
Graph Paper Programming - Assessment
Think Spot Journal - Reflection Journal
Vocabulary
Algorithm - A list of steps to finish a task.
Program - An algorithm that has been coded into
something that can be run by a machine.
108
Teaching Guide
Warm Up (10 min)
Introduction to Graph Paper Programming
In this activity, students will encode instructions to guide each other toward making drawings without letting the rest of their group see the
original image. This warm-up frames the activity for the class.
Display: Watch one of the videos below to give students context for the types of things that robots can do:
Asimo by Honda (3:58)
Egg drawing robot (3:15)
Dancing Lego Robot (1:35)
Distribute: Students will use 4x4 grids (or sheets of graph paper with 4x4 boxes sectioned off). They will also need the image worksheet.
Display: Project these commands, or write them on the board. They won't persist long, but they will help students make the transition from
Algorithm to Program.
Say: Today, we all get to program robots...and they're already here in the room! It's you! We're going to write programs using symbols with
special meanings to help each other recreate a picture. First, we'll practice together as if I am the robot and you are the programmers, then
we can break up into groups so that everyone can get a turn.
Display: Display both the image that you are going to have the students walk you through, and a blank grid that you will fill-in with your
ARM. Make sure that the instructions, grid, and image remain visible at the same time.
Remarks
Here is an image. Pretend that I am the robot with an Automatic Realization Machine (ARM). These are the only instructions that I
understand.
Starting at the upper left-hand corner, guide my ARM out loud with your words.
Model: The class might give you instructions like these below. As you hear an instruction that you intend to follow, make sure to repeat it out
loud so that the students can keep track of what you are doing.
109
Move One Square Right
Fill In Square with Color
Move One Square Right
Move One Square Down
Fill In Square with Color
Continue with the activity until you have completed your sample square.
Capture: Write each of the commands down so that students can see all of the steps that went into the one image.
Say: You just gave me a list of steps to finish a task. In programming, they call that an algorithm. Algorithms are great, because they are
easy for you to understand as the programmer. BUT, what happens when we want to write down the algorithm for a drawing like this?
Display: Show the students a more complicated image, like the one below.
Next, begin writing down some of the instructions that it would take to replicate that image. Hopefully, students will see that writing
everything out longhand would quickly become a bit of a nightmare.
110
Model: Now, have the class help you draw the larger image using only symbols. Do not worry about unnecessary steps for now. If their final
program works to create the image, consider it a win.
The Students' Turn
Group: Divide students into pairs or small groups.
111
Wrap Up (15 min)
Journaling / Flash Chat
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
Optional Assessment (10 min)
Graph Paper Programming - Assessment
Hand out the assessment worksheet and allow students to complete the activity independently after the instructions have been well
explained.
This should feel familiar, thanks to the previous activities.
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Better and Better
Class Challenge
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
G - Geometry
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
112
U
Name: Date:
Choose one of the drawings below to program for a friend. Don’t let them see
which one you choose!
Write the program on a piece of paper using symbols. Can they recreate your picture?
Use these symbols to write a program that would draw each image.
Revision 180206.1a
113
Game #1
Step 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Step 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Step 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
Game #2
Step 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Step 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Step 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
Game #3
Step 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Step 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Step 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
Game #4
Step 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Step 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Step 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
Game #5
Step 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Step 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Step 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
114
115
U
Name: Date:
You have just learned how to create algorithms and programs from drawings, and
how to draw an image from a program that someone gives to you. During the
lesson, you worked with other people to complete your activities. Now you can use
the drawings and programs below to practice by yourself.
Use the symbols below to write a program that would draw each image.
Start
Here
Step 1 2 3 4 5 6 7 8 9 10
Step 11 12 13 14 15 16 17 18 19 20
Start
Here
Step 1 2 3 4 5 6 7 8 9 10
Step 11 12 13 14 15 16 17 18 19 20
Start
Here
Step 1 2 3 4 5 6 7 8 9 10
Step 11 12 13 14 15 16 17 18 19 20
Now, read the program below and draw the image that it describes.
Start
Here
Step 1 2 3 4 5 6 7 8 9 10
Step 11 12 13 14 15 16 17 18 19 20
Revision 180207.1a
116
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14
A
Lesson 9: Happy Loops
Unplugged | Loop | Repeat
Overview Objectives
This activity revisits Happy Maps. This time, student will be solving bigger, Students will be able to:
longer puzzles with their code, leading them to see utility in structures that let Identify repeating code and shorten multiple actions
them write longer code in an easier way. into a single loop.
Interpret a program with loops as a series of multiple
Purpose actions.
For the Teacher
Happy Loops - Teacher Video
For the Students
Feeling Faces - Emotion Images
Happy Map Cards - Worksheet
Happy Map Cards XL - Worksheet
Happy Map Game Pieces - Manipulatives
Happy Map Game Pieces Bonus Pack -
Manipulatives
Think Spot Journal - Reflection Journal
Vocabulary
Loop - The action of doing something over and over
again.
Repeat - Do something again
117
Teaching Guide
Warm-Up (5 min)
Happy Maps Review
This lesson builds off of the Happy Maps actvity from earlier in the year. Students might benefit from a quick refresher before you hop into
the difficult stuff.
Display:
Model: Select one of the maps that your class covered together in the last lesson.
Have students look at the puzzle, then think-pair-share their solution for how they would get the Flurb to the fruit (using the symbols from last
time).
Think: Do you remember writing programs to get the Flurbs to the fruit? What would this program look like coded with arrows?
Share: Ask a student to use their fingers to point in the direction of the arrows that they chose to solve this puzzle.
Display:
118
Model: Once you are confident that your students remember Happy Maps, pull up one of the new -- and much longer -- Happy Maps XL.
Can your students help you program these maps? The resulting code might look something like this:
Discuss:
Discussion Goal
Give students the opportunity to brainstorm shorter ways to relay
The point of this discussion is to get students to see that,
the code that they’re creating. (This bit can be skipped over if
sometimes, many symbols are repeated and they can lump all of
your students start saying things like: “Move forward 6 times.” those movements into a single icon.
Since that will open the discussion about how to show “six times”
with symbols.)
Ideally, students will land on a method that looks like this one:
119
Eventually, students can write programs like this on the fly:
Define: Once students have put together the idea of “repeating” code, give them the vocabulary around it. Make sure to share with them
that often the terms “repeat something” and “loop something” will be used interchangeably in Code Studio.
Happy Loops
Now that students are familiar with the ability to repeat lots of code using a single loop, select an XL map and let them help you write code
for the situation. Do this as many times together as a class as you need, then set students off in groups to solve some problems on their
own. You may also need to add the Happy Map Game Pieces Bonus Pack - Manipulatives to adapt this activity for loops.
Circulate: Make sure to walk around and have students run through their code with you watching. Are there any bugs? Use the debugging
questions to help them find a solution.
Wrap Up (8 min)
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
Draw one of the Feeling Faces - Emotion Images that shows how you felt about today's lesson in the corner of your journal page.
Have the students write or draw something in their journal that will remind them later what loops are. Prompts include:
What does "repeat" mean to you?
Draw a picture of you repeating something.
120
Extension Activities
Create a life-size grid on the rug with tape and have student bring stuffies to school. Now students can program friends to move their
actual stuffies as directed in the programs.
Have students create their own maps for other students to solve using loops.
Draw a program on the board that uses several sets of repeated commands and have students take turns coming to the front to swap
symbols for repeat loops.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
G - Geometry
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
121
1 Happy Map XL 1
2 Happy Map XL 2
122
3 Happy Map XL 3
4 Happy Map XL 4
123
5 Happy Map XL 5
6 Happy Map XL 6
124
U
Name: Date:
Happy Maps
Unplugged Game Pieces Bonus Pack
repeat
repeat
repeat
repeat
Revision 140428.1a
125
U
Name: Date:
Revision 140428.1a
126
Happy Map XL Blank (right)
Revision 161003.1a
127
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14
A
Lesson 5: Happy Maps
Algorithms | Sequencing | Unplugged
Overview Objectives
This unplugged lesson brings together teams with a simple task: get the "flurb" Students will be able to:
to the fruit. Students will practice writing precise instructions as they work to Translate an algorithm into a program
translate instructions into the symbols provided. If problems arise in the code, Decode and run a program created by someone else
students should also work together to recognize bugs and build solutions. Identify and address bugs or errors in sequenced
instructions
Purpose
The bridge from algorithms to programming can be a short one if students
Preparation
understand the difference between planning out a sequence and encoding that Watch the Happy Maps - Teacher Video.
sequence into the appropriate language. This activity will help students gain Print out Happy Map Cards - Worksheet for
experience reading and writing in shorthand code. each group.
Print out Happy Map Game Pieces -
Agenda Manipulatives for each group.
Warm Up (5 min) Make sure each student has a Think Spot
Journal - Reflection Journal.
Step-by-Step
Activity (40 min)
Links
Happy Maps Programming
Students' Turn Heads Up! Please make a copy of any
Wrap Up (8 min) documents you plan to share with
Flash Chat students.
Journaling
Extended Learning For the Teacher
Happy Maps - Teacher Video
Happy Map Cards - Worksheet Answer Key
For the Students
Feeling Faces - Emotion Images
Happy Map Cards - Worksheet
Happy Map Game Pieces - Manipulatives
Think Spot Journal - Reflection Journal
Vocabulary
Algorithm - A list of steps to finish a task.
Debugging - Finding and fixing problems in an
algorithm or program.
Program - An algorithm that has been coded into
something that can be run by a machine.
128
Teaching Guide
Warm Up (5 min)
Step-by-Step
This warm-up is meant to get the class thinking about how to break a big problem down into a list of individual steps.
Model: Start by asking the class for step-by-step directions on how to get to the chalkboard. Make sure that you ask students to break apart
any large instructions, like "Walk to the chalkboard," into smaller instructions like "Step forward."
When you reach the board, ask for instructions to draw a smiley face and try to get them to keep their instructions equally small.
Say: Well done! You just gave me a list of steps to finish a task. In
Teaching Tip
computer science, that's called an Algorithm! [Follow up with your
typical method of introducing vocabulary: word wall, repeat-after- If the class starts shouting simultaneously, explain that you can
me, etc.] only hear one instruction at a time. Call on students individually if
that helps.
Activity (40 min)
Happy Maps Programming
In this exercise, the class will get map cards that have a pre-defined start space (Flurb) and end space (fruit). Students will need to get the
Flurbs to the fruit on each card, using the arrows provided.
Display:
Model: Select one of the intermediate maps, like the one shown above. Display it for the class and work through the puzzle together.
Have students look at the puzzle, then think-pair-share their solution for how they would get the Flurb to the fruit.
Think: This Flurb needs to take two steps to get to the fruit. Work with your elbow partner to decide what you think those two steps are.
Share: Ask a few students to describe their algorithm to the class. Move your finger along the displayed map as the students read their
steps. Once you have a solution, ask if anyone else came up with a different idea that also works.
Now, share with the students that the magic step of changing an algorithm into a "program" happens when the code is written down using
symbols. Do the students see any symbols on the display?
Think: Challenge students to encode the algorithm that they came up with before into symbols, and to write those symbols down in their
journals (or on a piece of paper.)
Pair: Once students have written down their symbols, ask them to swap with a partner to see if they can follow each others' instructions.
Share: Ask for volunteers to come draw their arrows on the board. If the original code doesn't work, spend some time debugging as a class.
Students should be familiar with the idea of "debugging" from previous lessons, so be sure to use the vocabulary to get them comfortable
with it.
129
Once the code has been successfully written on the board, congratulate the class on writing their first program together!
Students' Turn
Group: If your class is comfortable, place students into small groups of 2-3. Otherwise, you can continue solving these problems as a class
and having them think-pair-share to write programs.
Distribute: Pass out one of the images from the Happy Map Cards - Worksheet to each group as needed.
(Optional) If you start noticing that students are ready for more, use the provided Happy Map Game Pieces - Manipulatives and let
students choose their own start and finish destinations on the blank map.
Share: When the lesson is done, offer to let groups share out the most difficult maps that they solved. If you had time, ask them to share
their solutions as well.
Wrap Up (8 min)
Flash Chat
Discuss: When it’s time to wind down, ask students if they can tell the difference between an algorithm and a program. Both are a list of
steps, but a program (code) has been encoded in a way that can be run by a machine (or a kindergartener!)
Do you think that someone who speaks another language would be able to run your program?
Why or why not?
Journaling
Students should be encouraged to capture their thoughts in their journal after each activity (with text or images.) Choose a journal prompt
that will help students remember the purpose of this exercise.
Journal Prompts:
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Stuffie Maps
Create a life-size grid on the rug with tape and have student bring stuffed animals to school.
Now students can program friends to move their actual stuffies as directed in the programs.
Create Your Own
130
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
G - Geometry
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
131
U
Name: Date:
Revision 140428.1a
132
1 Happy Map 1
Revision 161003.1a
2 Happy Map 2
Revision 161003.1a
133
3 Happy Map 3
Revision 161003.1a
4 Happy Map 4
Revision 161003.1a
134
5 Happy Map 5
Revision 161003.1a
6 Happy Map 6
Revision 161003.1a
135
5 Happy Map Blank
Revision 161003.1a
136
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
E 17 18 19 20 21 22 23 24 25 26 27 28
Lesson 27: The Internet
Unplugged | Internet
Overview Objectives
Even though many people use the internet daily, not very many know how it Students will be able to:
works. In this lesson, students will pretend to flow through the internet, all the Learn about the complexity of sending messages
while learning about connections, URLs, IP Addresses, and the DNS. over the internet.
Translate URLs into IP Addresses.
Purpose
If you have been doing every lesson in this course, then each student in your
Preparation
classroom has used the internet...but how many know how it works? Learning Watch the Internet - Teacher Video.
more about the internet will help students develop a better understanding of its Print enough IP Address Cards and Delivery
endless possibilities. Type Cards - Manipulatives for each group.
Print one Internet - Assessment for each student.
Agenda Access to the internet (such as get-site-ip.com).
Warm Up (20 min) Make sure every student has a Think Spot
Journal - Reflection Journal.
Vocabulary
Getting the Message
Main Activity (20 min)
Links
For the Teacher
The Internet
The Internet - Unplugged Video (download)
Wrap Up (15 min)
Internet - Teacher Video
Flash Chat: What did we learn?
IP Address Cards and Delivery Type Cards -
Journaling
Manipulatives
Assessment (5 min)
Internet - Assessment
Internet - Assessment
Internet - Assessment Answer Key
For the Students
Think Spot Journal - Reflection Journal
Vocabulary
DNS - The service that translates URLs to IP
addresses.
DSL/Cable - A method of sending information using
telephone or television cables.
Fiber Optic Cable - A connection that uses light to
transmit information
Internet - A group of computers and servers that
are connected to each other.
IP Address - A number assigned to any item that is
connected to the Internet.
Packets - Small chunks of information that have
been carefully formed from larger chunks of
information.
Servers - Computers that exist only to provide
things to others.
URL - An easy-to-remember address for calling a
web page (like www.code.org).
137
Teaching Guide
Warm Up (20 min)
Vocabulary
This lesson has several new and important words:
Small chunks of information that have been carefully formed from larger chunks of information
Getting the Message
It's quite likely that your students are aware of what the internet
Lesson Tip
is, but they may not really understand what the internet does.
Ask "What is the internet?" There are some great YouTube videos on this subject that can
Is the internet a public place or a private place? make this lesson a little easier to understand. You can show them
(Truthfully, many people think it can be both, but it should be to the class in advance, or just watch them yourself. Here is one
of the videos in the Code.org video series on "How the
viewed as a public space no matter what settings you think
Internet Works". (We recommend watching from 1:44 - 5:13, if
you've mastered.)
possible.) The rest of the playlist is available here.
How does information get from place to place?
Let's say that I want to look at the webpage for Code.org. What
do you suppose the process would be like for me to send a message to request that page?
What do I do as a user?
What do you think happens inside the internet?
Sending a message over the internet is a lot like sending a message through the mail...if every letter we sent required thousands of
envelopes!
Every message we send through the internet gets chopped up and each piece is wrapped in its own version of an envelope. We call those
"packets." Packets are specially formed chunks of information that are able to easily flow through any of the internet's channels.
Sometimes, a few of those packets will get lost, because the internet is a crazy place. In that case, the packets need to be resent, and the
whole message has to get put on hold until they arrive.
138
Even if you're sending messages to another person, they first have to go to at least one "server."
A server is a special computer that is supposed to be always on and ready to send and receive information.
Every website has a server.
Even email goes through servers.
Servers don't have names like you and I do. They're actually addressed using numbers. These numbers are called IP addresses, and they
look a little strange.
There are many ways to reach the internet from your house, school, or place of business.
You can connect directly using a cable (that might be DSL, Cable, or Fiber Optic)
Or you can connect using radio waves over the air through Wi-Fi
Wi-Fi connections are super convenient, but the aren't always reliable.
Pull out a piece of paper and draw a grid similar to that in the internet activity:
# URL IP Address
1 code.org 54.243.71.82
Survey the class for their favorite websites and write the URLs in the left column
Use a site like get-site-ip.com to find the IP addresses for those sites and write them in the corresponding rows of the right column.
Now let's take this DNS Table and pretend to send messages through the internet!
139
Main Activity (20 min)
The Internet
Directions:
Rules:
The Internet must rip the message into exactly four packets.
If the Internet drops a packet, they have to pick it up and go back to the start to deliver it again.
The server has to wait for all of the message pieces to arrive before it can begin to send the message along.
Info:
Wi-Fi: Convenient, but spotty. Wi-Fi doesn’t require cables, but since the signal bounces all over the place, packets can get lost pretty
easily.
Simulation: Internet must carry each packet on their shoulder (no hands).
Cable/DSL: Fairly good at delivering messages, but you must be connected to a wire.
Simulation: Internet must carry each packet on the back of one hand and must keep the other hand touching a wall, desk, chair or the
floor at all times.
Fiber Optic Cable: The best at delivering messages, but you must be connected to a wire.
Simulation: Internet can carry packets in hand, but must keep the other hand touching a wall, desk, chair or the floor at all times.
To play this game, you can have your groups cluster anywhere,
Lesson Tip
but for the first time it can be less confusing to have groups play
in a line. If it feels like there are too many rules to explain outright, feel free
to post them on the board and just explain the game as you go.
Line up the "Servers" on one end of the room (holding their IP You can play multiple rounds until the class really understands.
addresses). The Return Internet players can be over there as
well (if you have that many people in each group).
Have the everyone else line up across from their server at the other side of the room.
The Message Senders will likely be sending their messages to a server other than their own, so the Internet players will likely cross over
from group to group. It may look something like the diagram below (in English):
140
Wrap Up (15 min)
Lesson Tip
Flash Chat: What did we learn? Flash Chat questions are intended to spark big-picture thinking
What kind of connection would you rather have (Wi-Fi, about how the lesson relates to the greater world and the students'
greater future. Use your knowledge of your classroom to decide if
DSL/Cable, or Fiber Optic)? Why?
you want to discuss these as a class, in groups, or with an elbow
Why might it take your message a long time to get partner.
somewhere?
Journaling
Having students write about what they learned, why it’s useful,
and how they feel about it can help solidify any knowledge they
obtained today and build a review sheet for them to look to in the future.
Journal Prompts:
Assessment (5 min)
Internet - Assessment
Hand out the assessment worksheet and allow students to complete the activity independently after the instructions have been well
explained. This should feel familiar, thanks to the previous activities.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
If you are interested in licensing Code.org materials for commercial purposes, contact us.
141
U Internet
How the Internet Does What it Does
Directions:
1) Create your own DNS table, similar to what is shown here.
2) Have the class help you fill in the blank spots in the table.
Pick your favorite URLs and find their IP addresses using a site like www.getip.com.
4) Assign each group an IP address from the table, and each person in the group a
position:
5) Each group will draw an IP address Card and a Delivery Card to find out where their
message is going and what their method of message delivery (Wi-Fi, Cable/DSL, or
Fiber Optic Cable) will be.
7) The Internet will rip the message up into small pieces called packets, then deliver each
packet one at a time to the Server with the IP address that was drawn from the IP
address Card stack.
8) The Server will make sure that the message arrives in order, then will send each packet
off one at a time with the Return Internet (can be the same person or different person
than the original Internet).
9) The Return Internet will deliver each piece back to the Message Receiver (can be the
same person or different person than the Message Writer) and put it back together.
10) The Message Receiver will wait for all of the pieces to arrive, then read the message to
be sure it arrived correctly!
Rules:
1) The Internet must rip the message into exactly four packets.
2) If the Internet drops a packet, they have to pick it up and go back to the start to deliver
it again.
3) The server has to wait for all of the message pieces to arrive before it can begin to send
the message along.
Revision 150517.1a
142
U Internet
How the Internet Does what it Does
# URL IP ADDRESS
1 www.code.org
2
3
4
5
Internet 4 Internet 1
Internet 3
Internet 2
Revision 150517.1a
143
U Internet
IP Address Cards
1 2
3 4
5 6
Revision 150517.1a
144
U Internet
Delivery Type Cards
DSL Cable
Types:
1) Wi-Fi: Convenient, but spotty. Wi-Fi doesn’t require cables, but since the signal bounces
all over the place, packets can get lost pretty easily.
Simulation: Internet must carry each packet on their shoulder (no hands).
2) Cable/DSL: Fairly good at delivering messages, but you must be connected to a wire.
Simulation: Internet must carry each packet on the back of one hand and must keep
the other hand touching a wall, desk, chair or the floor at all times.
3) Fiber Optic Cable: The best at delivering messages, but you must be connected to a wire.
Simulation: Internet can carry packets in hand, but must keep the other hand
touching a wall, desk, chair or the floor at all times.
Revision 150517.1a
145
U
Name: Date:
The Internet
Unplugged How the Internet Does What it Does
The DNS has gone out, and now you’re in charge of delivering information all over the
Internet! Use the DNS Look-Up Table to figure out where each packet is supposed to go.
# URL IP ADDRESS
1 code.org 54.243.71.82
2 csisfun.com 100.42.50.110
3 thinkersmith.org 64.14.68.10
4 light-bot.com 54.209.61.132
5 khanAcademy.org 23.23.224.106
Draw a line from each packet to the server This message is being delivered
where it is supposed to be delivered. The first from someone at code.org to
one has been done for you. someone at thinkersmith.org.
Draw the path that the message
is likely to take.
csisfun.com
100.42.50.110
code.org
64.14.68.10
23.23.224.106
Message
Sender
light-bot.com
64.14.68.10
khanAcademy.org
54.209.61.132 23.23.224.106
Revision 140710.1a
146
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13
B
Lesson 6: It's Great to Create and Play Fair
Overview Objectives
Loaned to Computer Science Fundamentals by the team over at Copyright and Students will be able to:
Creativity, this lesson exists to help students understand the creative process of Explain why it is not okay to claim that someone
sharing and inspiration. Along with that comes the promotion of creative else's work is your own.
expression and the need to be fair with creative work. Create original art for the purpose of empathizing
with other creators.
Purpose
Students will soon be creating projects to share and most of these projects will
Preparation
contain either code or imagery that students did not create themselves. This Review the original It's Great to Create and Play
lesson is here to show students the proper way to handle the use of content Fair - Lesson Plan lesson plan
that is not their own. Watch the It's Great to Create and Play Fair
(Video) - Video
Agenda Prepare drawing/painting materials for main activity
Warm-Up (Optional) (15 min)
Create Your Own Superhero! (15 min)
Links
Wrap-Up
Heads Up! Please make a copy of any
Journaling
documents you plan to share with
Extended Learning
students.
For the Teacher
It's Great to Create and Play Fair - Lesson Plan
For the Students
It's Great to Create and Play Fair (Video) -
Video
147
Teaching Guide
Warm-Up (Optional) (15 min)
Watch: Play the It's Great to Create and Play Fair (Video) - Video with your students. You can play it several times throughout this
lesson.
The following discussions are designed to create context, help students engage with the topic, and prepare them for the lesson discussion.
Character Sketch
Ask students to help you create a character sketch about one of the characters in the video.
Say: We’re going to do a character sketch where we decide who this person is.
Discuss: Which one of the characters should we use? Let’s vote. [Take a quick vote.]
Discuss: Discuss the stories of these characters. What are their super powers? What do they use their powers for?
Activity: After discussion, ask your students to draw their own superhero character.
Say: I’m going to play a short video. As you watch the video, think about how you would feel if this situation happened to you. What would
you do? Watch: Play the It's Great to Create and Play Fair (Video) - Video with your students.
Discuss: It’s great to create. And, it’s great to recognize how others’ creations inspire our new creations. We want to be fair when we’re
using each other’s creative work.
What did you think about that situation? What was going on?
These students combined their work to make something new — the t-shirt.
What would you do in that situation?
Did these friends treat each other fairly?
What if she had wanted to add a ballerina tutu or big boots or glasses to the dragon?
Do you think the boy would have liked that?
Do you think that would be fair?
How would you have felt?
148
Wrap-Up
Creating new things is fun — art, music, movies, paper creations, structures, even buildings! It’s great to create and share and be inspired —
as long as we respect each other as artists and play fair.
Journaling
Give the students a journal prompt to help them process some of the things that they encountered during the day. You can choose one of
the prompts below, or make up your own.
Journal Prompts:
Extended Learning
Please be sure to visit Copyright & Creativity to find more lessons on digital sharing and creative rights.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
149
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13
B
Lesson 1: Move It, Move It
Overview Objectives
This lesson will work to prepare students mentally for the coding exercises that Students will be able to:
they will encounter over the length of this course. In small teams, students will Define a list of steps (algorithm) to get a friend from
use physical activity to program their classmates to step carefully from place to their starting position to their goal
place until a goal is achieved. Translate a list of steps into a series of physical
actions
Purpose Identify and fix errors in the execution of an algorithm
By using physical movement to program their classmates, students will run into
issues and emotions similar to what they will feel when they begin coding on a
Preparation
computer. Encountering those stresses in a playful and open environment will Watch the Teacher Video - Move it, Move it
help to alleviate intensity and allow students to practice necessary skills before Print (or otherwise prepare) one Move It, Move It
they run into problems on their own. Teacher Debugging Puzzle - PDF for displaying
to the class
Agenda Print one Move It, Move It: Debugging - PDF for
Warm Up (20 min) each group of 2-3 students
Print one Move It, Move It: Activity - pdf for
Where did I go wrong?
each group of 2-3 students
Activity: Move It, Move It (20 minutes)
Prepare blank papers to fill out the rest of the
Wrap-up (10 min)
walking grid (4-7 needed per group)
Journaling
Extended Learning Links
Heads Up! Please make a copy of any
documents you plan to share with
students.
For the Teacher
Move It, Move It Teacher Debugging Puzzle -
PDF
Teacher Video - Move it, Move it
For the Students
Move It, Move It: Activity - pdf
Move It, Move It: Debugging - PDF
Vocabulary
Algorithm - A precise sequence of instructions for
processes that can be executed by a computer
Bug - Part of a program that does not work correctly.
Debugging - Finding and fixing problems in an
algorithm or program.
Frustrated - Feeling annoyed or angry because
something is not the way you want it.
Persistence - Trying again and again, even when
something is very hard.
150
Teaching Guide
Warm Up (20 min)
Where did I go wrong?
Goal: In this lesson, we want to help students learn to identify
Teaching Tip
and fix bugs in their own programs. The easiest way to do that is
to first present students with a program that contains bugs that If your class has not already learned cardinal directions, it will be
are not their fault. Once they've helped you fix "your" program, worth covering them before they begin Course B. This conversion
share with them how frustrating it can be to make mistakes, and will come in handy for nearly all of the online puzzles aimed at first
grade, as well as several of the unplugged activities.
help them see that those feelings are completely normal and they
shouldn't feel embarrassed by them. Let students know that they will continue to see those directions in
the online programs next to the direction arrows.
Display: Put an image of Move It, Move It Teacher
Debugging Puzzle - PDF up on the screen where everyone
can see it.
Discuss: Get the attention of the class and let them know that you are stuck! You have this challenge, and you thought you had solved it,
but it doesn't seem to be working. Your program has a bug, can they help you fix it?
Take a moment to walk them through the rules: - Start at the compass rose - Follow the instructions step-by-step - End at the happy face
Optional: Walk through your program using your fingers on top of the map, under the document camera. Express frustration when your
fingers end up off the map, instead of at the treasure.
Think: My program says "East, East, North". Can you figure out why my program doesn't work?
Pair: Let students work together to see if they can figure out what the program is supposed to say.
Share: Ask students if anyone was able to figure out a way to solve the problem. When you get a correct answer, let the students know that
they are great at "debugging"!
Discuss: Ask the students if they could tell how you were feeling when you couldn't figure out the answer. They might suggest that you were
"mad" or "sad". Instead of telling them "no", describe that you were feeling a little bit mad, a little bit sad, and a little bit confused. When you
put all of those emotions together, it makes a feeling called "frustration". When you are "frustrated" you might think you are mad, sad, or
confused -- and you might be tempted to give up -- but frustration is a natural feeling and it's a big hint that you are about to learn something!
Instead of quitting, practice persistence. Keep trying over and over again. After a few times, you will start to understand how to debug your
problems!
151
Distribute: To make sure that students understand the idea of
Content Corner
finding and fixing errors (debugging) pass out the Move It, Move
It: Debugging - PDF and have students complete the task in For more on persistence and frustration, try reading Stevie and
pairs. the Big Project to your students. It will help them spot moments
of frustration. It will also help give them the tools to deal with it.
Optional: If you want to move the activity along more quickly, feel
If you do not read the book, take a moment to cover tips on
free to complete these as a class, instead.
frustration and persistence as a class:
Transition: Now it's time to play the game! Tips to Help With Frustration
Count to 10
Activity: Move It, Move It (20 Take deep breaths
Journal about them
minutes) Talk to a partner about them
Ask for help
Distribute: Hand each group of 2-3 students a packet of Move It, Tips for Being Persistent
Move It maps, as well as the blank papers for the grid on the
Keep track of what you have already tried
ground. Allow students to either cut the halves of each map apart,
Describe what is happening
or fold the sheets in half so that each map is clearly visible
Describe what is supposed to happen
(without distraction.)
What does that tell you?
Set-Up: In each group, each player will get a task. Make a change and try again
Directions for Class:
Note that the rules are not the most important thing here. Feel free to clarify if the students have questions, but if the students are playing a
bit differently than described, you don't need to hold them to the letter of the game. The crucial bit is that they are moving from immediate
instructions to giving two or three instructions before the Walking Machine moves.
Teaching Tip
Wrap-up (10 min)
Here are some useful links in case your class hasn't yet talked
about the compass rose and cardinal directions:
Journaling
The Cardinal Directions Geography Song
Give the students a journal prompt to help them process some of Cardinal Direction Mnemonics Lesson
the things that they encountered during the day. You can choose
one of the prompts below, or make up your own.
Journal Prompts:
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
X's and O's
152
X's, O's, and Arrows
Similar to the activity above, but have the students write their programs in advance using arrows instead of hand gestures.
This can be done in groups.
Groups can share their solutions for the class.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
153
U Move It Move It
Unplugged Debugging
Start
N
North
Move East
NW NE
W
West
E
East
SW SE
S
South
Move East
YAY!
Move North
Revision 180417.1a
154
U
Name: Date:
Move It Move It
Unplugged Debugging
Each of these algorithms has a mistake. Can you find the mistake and cross it out?
1)
YAY!
Move North
Start
NW
N
North
NE
Move North
W
West
E
East
SW SE
S
South
2)
Move East
W
West
E
East
SW SE
S
South
3) YAY!
Move South
Move South
NW NE
W
West
E
East
SW SE
S
South
Revision 180417.1a
155
U
Name: Date:
These are the moves that you can do to help guide your friend.
Practice a few times to be sure that you both understand what each move does.
No rth S outh
West E a st
Re s t S top
(No Instruction)
( D one )
Revision 180417.1a
156
YAY!
157
Start
N
North
NW NE
W
West
E
East
SW SE
S
South
158
1 Move It Map 1
YAY!
Start
N
North
NW NE
W
West
E
East
SW SE
S
South
Revision 180417.1a
2 Move It Map 2
YAY!
Start
N
North
NW NE
W
West
E
East
SW SE
S
South
Revision 180417.1a
159
3 Move It Map 3
Start
N
North
YAY!
NW NE
W
West
E
East
SW SE
S
South
Revision 180417.1a
4 Move It Map 4
Start
N
North
NW NE
W
West
E
East
SW SE
S
South
YAY!
Revision 180417.1a
160
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
E/F 17 18 19 20 21 22 23 24 25 26 27 28
Lesson E.6/F.6: My Loopy Robotic Friends
Unplugged | Loop | Repeat
Overview Objectives
Building on the initial "My Robotic Friends" activity, students learn to use loops Students will be able to:
when programming their robots in order to build bigger structures more Identify repeated patterns in code that could be
efficiently. replaced with a loop
Write instructions that use loops to repeat patterns
Purpose
This lesson serves as a reintroduction to loops, using the now familiar set of
Preparation
"robot" programming instructions. Students will develop critical thinking skills by Make sure each student has a Think Spot
looking for patterns of repetition in the movements of classmates and Journal - Reflection Journal
determining how to simplify those repeated patterns using loops. Watch the My Loopy Robotic Friends - Teacher
Video
Agenda Prepare a stack of 20 paper cups for each group of
Warm Up (10 min) 4 students
Links
Heads Up! Please make a copy of any
documents you plan to share with
students.
For the Teacher
My Loopy Robotic Friends - Teacher Video
For the Students
My Loopy Robotic Friends Packet - PDF
Vocabulary
Loop - The action of doing something over and over
again.
Program - An algorithm that has been coded into
something that can be run by a machine.
Programming - The art of creating a program.
Repeat - Do something again
161
Teaching Guide
Warm Up (10 min)
My Robotic Friends Review
Goal: This review will refresh the students’ minds about how quickly programs for the
"My Robotic Friends" activity can get intense.
Model: With the class together as a group, pull an easy puzzle from the "My Robotic
Friends" Cup Stack Pack and program together as a reminder of rules and
terminology.
Next, pull a puzzle that’s slightly harder, but also requires a lot of steps like the one below.
Volunteer: Ask a volunteer (or a group of volunteers) to come forward to help program this one on the board. If you make them stick strictly
to the “no symbols other than those on the key” rule, it will probably take a while!
162
Prompt:Give students the opportunity to brainstorm shorter ways to relay the code that they’re about to create. (This bit can be skipped
over if your students start saying things like: “Move forward 6 times.” Since that will open the discussion about how to show “six times” with
symbols.)
Once students have put together the idea of “repeating” code, give them the vocabulary around it. Make sure to share with them that the
terms “repeat something” and “loop something” are often used interchangeably.
Activity (30 min)
Introduction and Modeling
Set Up: Have stacks of cups or cut paper trapezoids available for groups.
Display: Take the program from one of your previous cup stacks and display it for the class, or use the one below.
Think: Ask students to think quietly about where in this program they can find a pattern of instructions that repeat uninterrupted (one
repetition after another).
Pair: Turn to a neighbor and share one of the repeating patterns you found.
Share: Ask a few students to share out the patterns they identified. Try to pull out different approaches to grouping patterns. For each
pattern, ask students to identify how many times the pattern repeats.
Model: Using one of the repeating patterns that the class identified, model how Circle the instruction or pattern that repeats, write the
number of loops near that circle, then cross out the rest of the arrows.
Repeat this until the entire program has been shortened, then re-write the program in a way where students can see how much more simple
the resulting instructions are.
Looping Your Robots
Group: Place students into groups of 4. Each group should then further break down into two pairs - each pair will develop their own
program for the other pair to "run".
Display: Show Stacking Cup Ideas - Manipulatives to the class or hand out individual copies for groups to use. Have each pair (not
group) choose which idea they would like their robot to do. Encourage pairs to select a more complicated pattern this time around.
Discuss: Let each group discuss how the stack should be built, then instruct each group to translate the algorithm into the symbols. Make
sure each group writes down the program somewhere for the "robot" to read later. As students are working on their programs, remind them
to be on the lookout for opportunities to replace a repeating pattern with a loop.
163
Do: When groups have finished their instructions, have each pair take turns "running" their code with another pair. Remind students to be on
the lookout for bugs in their code, but not to interrupt a robot until it's finished running the program.
Discuss: When all of the pairs have had a chance to run their
Teaching Tip
programs, ask a few to share their solutions with the class. Use
this opportunity to discuss how groups came up with different Looking for Loops: Be sure to keep your eyes open for students
solutions to the same puzzle. In particular, you might ask of each using loops. Try to avoid correcting their overall algorithms or
program: prescribing a solution, but feel free to direct students towards
patterns that could be shortened using a repeat circle.
How did they identify the loops?
Watch students as they run through the code. Are there any bugs?
Are there other ways those loops could have been written? Use the debugging questions to help them find a solution.
How much shorter is the program with loops than it would be
What does it do?
without?
What is it supposed to do?
Is the program easier to understand with loops or written out
What does that tell you?
longhand? Why?
Does it work at the first step?
Does it work at the second step?
Wrap Up (5 min) Where does it stop working?
Flash Chat / Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and help to build a review sheet for them to look at in the future.
Flash Chat:
Extension Activities
Have students draw their own cup stacking creations for someone else to code.
Provide students with algorithms that utilize repeats, then have them expand the program back out to a full step-by-step version.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
OA - Operations And Algebraic Thinking
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
164
Sample Table Arrangement for Cups
4
0 steps
steps
3 5
steps steps
1 step 0 1 2 3 4 5 6 7
backward
165
Sample Template for Moving Cups
0 1 2 3 4 5 6
166
Pick Up Cup Put Down Cup
167
168
169
170
171
To cut quickly:
First cut in horizontal strips, then snip along lines to make trapezoids.
172
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13
B
Lesson 8: My Loopy Robotic Friends Jr.
Unplugged | Loop | Repeat
Overview Objectives
Building on the initial "My Robotic Friends" activity, students tackle larger and Students will be able to:
more complicated designs. In order to program their "robots" to complete these Identify repeated patterns in code that could be
bigger designs, students will need to identify repeated patterns in their replaced with a loop
instructions that could be replaced with a loop. Write instructions that use loops to repeat patterns
Purpose Preparation
This lesson serves as a reintroduction to loops, using the now familiar set of Make sure each student has a Think Spot
"robot" programming instructions. Students will develop critical thinking skills by Journal - Reflection Journal
looking for patterns of repetition in the movements of classmates and Watch the My Loopy Robotic Friends - Teacher
determining how to simplify those repeated patterns using loops. Video
Prepare a stack of 20 paper cups for each group of
Agenda 4 students
Warm Up (10 min) (Optional) Print out one My Loopy Robotic
My Robotic Friends Review Friends Cup Stack (Course B) - Image Pack
Activity (30 min) per group of 4 students
Introduction and Modeling OR
Looping Your Robots
Display the My Robotic Friends Symbol Key
Wrap Up (5 min)
(Course B) - Key where students can reference
Extension Activities
throughout the lesson.
Print and cut out Paper Trapezoid Template -
Manipulatives for each group if your class is not
going to use cups.
Print out one set of My Loopy Robotic Friends
Cup Stack (Course B) - Image Pack per group.
Links
Heads Up! Please make a copy of any
documents you plan to share with
students.
For the Teacher
My Loopy Robotic Friends - Teacher Video
For the Students
My Robotic Friends Symbol Key (Course B) -
Key
Feeling Faces - Emotion Images
Paper Trapezoid Template - Manipulatives
My Loopy Robotic Friends Cup Stack (Course
B) - Image Pack
Vocabulary
Loop - The action of doing something over and over
again.
Repeat - Do something again
173
Teaching Guide
Warm Up (10 min)
My Robotic Friends Review
Goal: This review will refresh the students’ minds about how quickly programs for the "My Robotic Friends" activity can get intense.
Display: Show the My Robotic Friends Symbol Key (Course B) - Key that we used in My Robotic Friends. For each of the four
symbols, ask students to show you what it looks like for a robot to follow that instruction.
Model: With the class together as a group, pull an easy puzzle from the "My Robotic Friends" Cup Stack Pack and program with each other
as a reminder of rules and terminology.
Next, pull a puzzle that’s slightly harder, but also requires a lot of steps like the one below.
174
Volunteer: Ask a volunteer (or a group of volunteers) to come forward to help program this one on the board. If you make them stick strictly
to the “no symbols other than those on the key” rule, it will probably take a while!
Prompt: Give students the opportunity to brainstorm shorter ways to relay the code that they’re about to create. (This bit can be skipped
over if your students start saying things like: “Move forward 6 times.” Since that will open the discussion about how to show “six times” with
symbols.)
Once students have put together the idea of “repeating” code, give them the vocabulary around it. Make sure to share with them that often
the terms “repeat something” and “loop something” are often used interchangeably.
Activity (30 min)
Introduction and Modeling
Set Up: Have stacks of cups or cut paper trapezoids available for groups.
Display: Take the program from one of your previous cup stacks and display it for the class, or use the one below.
175
Think: Ask students to think quietly about where in this program they can find a pattern of instructions that repeat uninterrupted (one
repetition after another).
Pair: Turn to a neighbor and share one of the repeating patterns you found.
Share: Ask a few students to share out the patterns they identified. Try to pull out different approaches to grouping patterns. For each
pattern, ask students to identify how many times the pattern repeats.
Model: Using one of the repeating patterns that the class identified, model how Circle the instruction or pattern that repeats, write the
number of loops near that circle, then cross out the rest of the arrows.
Repeat this until the entire program has been shortened, then re-write the program in a way where students can see how much more simple
the resulting instructions are.
Looping Your Robots
Group: Place students into groups of 4. Each group should then further break down into two pairs - each pair will develop their own
program "run" on the other pair.
Display: Show My Loopy Robotic Friends Cup Stack (Course B) - Image Pack to the class or hand out individual copies for groups
to use. Have each pair (not group) choose which stack they would like their robot to do. Encourage pairs to select a more complicated
pattern this time around.
Discuss: Let each group discuss how the stack should be built,
Teaching Tip
then instruct each group to translate the algorithm into symbols.
Make sure each group writes down the symbol algorithm Looking for Loops: Be sure to keep your eyes open for students
somewhere for the "robot" to read later. As students are working using loops. Try to avoid correcting their overall algorithms or
on their programs, remind them to be on the lookout for prescribing a solution, but feel free to direct students towards
patterns that could be shortened by using a repeat circle.
opportunities to replace a repeating pattern with a loop.
Watch students as they run through the code. Are there any bugs?
Do: When groups have finished their instructions, have each pair Use the debugging questions to help them find a solution.
trade with another pair to run one another's code. Remind
What does it do?
students to be on the lookout for bugs, but not to interrupt a robot
What is it supposed to do?
until it's finished running the program.
What does that tell you?
Discuss: When all of the pairs have had a chance to run their Does it work at the first step?
programs, ask a few to share their solutions with the class. Use Does it work at the second step?
this opportunity to discuss how groups came up with different Where does it stop working?
solutions to the same puzzle. In particular, you might ask of each
program:
176
Wrap Up (5 min)
Journal Prompts:
Draw one of the Feeling Faces - Emotion Images that shows how you felt about today's lesson in the corner of your journal page.
Have the students write or draw something in their journal that will remind them later what loops are. This can come from a prompt like:
What does "repeat" mean to you?
Draw a picture of you repeating something.
Extension Activities
Have students draw their own cup stacking creations for someone else to code.
Provide students with algorithms that utilize repeats, then have them expand the program back out to a full step-by-step version.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
CSTA K-12 Computer Science Standards
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
177
TM
U
Traveling Circuits
Lesson 3: My Robotic Friends
My Robotic Friends
Unplugged Symbol Key (Course B)
178
179
180
To cut quickly:
First cut in horizontal strips, then snip along lines to make trapezoids.
181
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
E/F 17 18 19 20 21 22 23 24 25 26 27 28
Lesson E.1/F.1: My Robotic Friends
Algorithms | Debugging | Unplugged
Overview Objectives
Using a special set of offline commands, students will design algorithms to Students will be able to:
instruct a "robot" to stack cups in different patterns. Students will take turns Reframe a sequence of steps as an encoded
participating as the robot, responding only to the algorithm defined by their program
peers. This segment teaches students the connection between symbols and Identify and address bugs or errors in sequenced
actions, the difference between an algorithm and a program, and the valuable instructions
skill of debugging.
Preparation
Purpose
Watch the My Robotic Friends - Teacher Video.
This unplugged lesson brings the class together as a team with a simple task to (Optional) Print out one My Robotic Friends -
complete: get a "robot" to stack cups in a specific design. Students will work to Symbol Key per group or 4 students. Alternatively,
recognize real world actions as potential instructions in code. The art of find a place to display this information where
following precise instructions will also be practiced, as students work to students can reference throughout the lesson.
translate algorithms into code, using the symbols provided. If problems arise in Prepare a stack of 10 disposable cups per group of
the code, students should work together to recognize bugs and build solutions. 4 students, OR
This activity lays the groundwork for the programming that students will do (Optional) print and cut out Paper Trapezoid
throughout the course as they learn the importance of defining a clearly Template - Manipulatives for each group if your
communicated algorithm. class is not going to use cups.
Print out one set of Stacking Cup Ideas -
Agenda Manipulatives per group.
Warm Up (5 min) Make sure each student has a Think Spot
Journal - Reflection Journal.
Talking to Robots
Activity (45 min)
Introduction and Modeling
Differentiation Options:
Programming Your Robots
Links
Wrap Up (10 min) For the Teacher
Journaling My Robotic Friends - Teacher Video
For the Students
Stacking Cup Ideas - Manipulatives
Paper Trapezoid Template - Manipulatives
My Robotic Friends - Unplugged Video
(download)
My Robotic Friends - Symbol Key
Vocabulary
Algorithm - A list of steps to finish a task.
Bug - Part of a program that does not work correctly.
Debugging - Finding and fixing problems in an
algorithm or program.
Loop - The action of doing something over and over
again.
Program - An algorithm that has been coded into
something that can be run by a machine.
Repeat - Do something again
182
Teaching Guide
Warm Up (5 min)
Talking to Robots Discussion Goal
Discuss: Start by asking the class if anyone has heard of
The goal of this quick discussion is to call out that while robots
robotics. Has anyone seen a robot or touched one? Does a robot
may seem to behave like people, they're actually responding only
really “hear” you speak? Does it really “understand” what you to their programming. Students will likely refer to robots from
say? movies and TV that behave more like humans. Push them to
consider robots that they've seen or heard of in real life, like
Say: Robots can only do what they've been instructed or Roombas, or even digital assistants like Amazon Alexa.
programmed to do. In order to accomplish a task, a robot needs
to have a list of instructions (sometimes called an algorithm) that
it can read. Today, we are going to learn what it takes to make that happen.
Activity (45 min)
Introduction and Modeling
Display: Display the My Robotic Friends - Symbol Key or write the allowed actions on the board - make sure these are in a place
where they can be seen for the whole activity. Explain to the class that these will be the only six actions that they will be using for this
exercise. For this task, they will instruct their “robot” friend to build a specific cup stack using only the commands listed on the key.
Model: In order to explain how the instructions are intended to work, model for the class how to create and follow an algorithm for
replicating a simple pattern. Place a single stack of cups in front of you to start.
Display: Hold up the pattern you plan to model. A simple three cup pattern is a great place to start.
Prompt: Ask the class what the first instruction should be, using only the six instructions allowed. The first move should be to "pick up
cup." If students suggest something else from the list, perform that action and allow them to see their error. If they suggest something not
from the list, make a clear malfunction reaction and let them know that the command is not understood.
With cup in hand, ask the class to continue giving you instructions until the first cup is placed. This is a great place to clarify that a "step
forward" and "step backward" each imply moving half a cup width. See the image below for reference.
183
Teaching Tip
Differentiation Options:
Continue asking for instructions from the classroom until you have completed the entire design.
Once your stack is complete, point out that they just gave you a list of instructions for completing a task. That's an algorithm. Algorithms are
great for sharing ideas, but spelling them out word by word can take a long time. That's what the symbols are for! When you encode an
algorithm into symbols that a robot (or computer) understands, that's called programming.
Ask the class to help you write the "program" for that first move, and then the rest of the moves necessary to complete the pattern.
Depending on the confidence of your students, you might switch back and forth frequently between acting as the "robot" and writing down
the code, or you might push them to write the whole program before you will implement it. One possible solution looks like this:
184
Volunteer: Once the class has completed the model program, ask one of the students to come up and act as the "robot" to ensure that the
program really works. Encourage them to say the instructions out loud as they "run" the code.
Programming Your Robots
Group: Place students into groups of 4. Each group should then further break down into two pairs - each pair will develop their own
program to be "run" by the other pair.
Display: Show Stacking Cup Ideas - Manipulatives to the class or hand out individual copies for groups to use. Have each pair (not
group) choose which idea they would like their robots to do. Try to push for an easier idea for the first time, then have them choose a more
complex design later on. Encourage pairs to keep their choice secret from the other half of their group.
Discuss: Give each pair time to discuss how the stack should be built, using only the provided symbols. Make sure each group writes down
the "program" somewhere for the "robot" to read later.
Iterate: Depending on your time available, mix up the pairs and give them a chance to do a different pattern. Each time groups repeat the
process, encourage them to choose a more challenging pattern.
185
Wrap Up (10 min)
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
186
Sample Table Arrangement for Cups
4
0 steps
steps
3 5
steps steps
1 step 0 1 2 3 4 5 6 7
backward
187
Sample Template for Moving Cups
0 1 2 3 4 5 6
188
Pick Up Cup Put Down Cup
189
190
191
To cut quickly:
First cut in horizontal strips, then snip along lines to make trapezoids.
192
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13
B
Lesson 4: My Robotic Friends Jr.
Algorithms | Debugging | Unplugged
Overview Objectives
Using a set of symbols in place of code, students will design algorithms to Students will be able to:
instruct a "robot" to stack cups in different patterns. Students will take turns Attend to precision when creating instructions
participating as the robot, responding only to the algorithm defined by their Identify and address bugs or errors in sequenced
peers. This segment teaches students the connection between symbols and instructions
actions, the difference between an algorithm and a program, and the valuable
skill of debugging. Preparation
Purpose Watch the My Robotic Friends - Teacher Video.
(Optional) Print out one My Robotic Friends
This unplugged lesson brings the class together as a team with a simple task to Symbol Key (Course B) - Key per group or 2-3.
complete: get a "robot" to stack cups in a specific design. This activity lays the Alternatively, find a place to display this information
groundwork for the programming that students will do throughout the course as where students can reference throughout the
they learn the importance of defining a clearly communicated algorithm. lesson.
Prepare a stack of 10 disposable cups per group of
Agenda 2-3 students, OR
Warm Up (5 min) (Optional) print and cut out Paper Trapezoid
Template - Manipulatives for each group if your
Talking to Robots
class is not going to use cups.
Activity (30 min)
Print out one set of My Robotic Friends Cup
Introduction and Modeling
Stack Pack (Course B) - Image Pack per group.
Handy Rules:
Make sure each student has a Think Spot
Differentiation Options:
Programming Your Robots Journal - Reflection Journal.
Wrap Up (10 min)
Links
Journaling
For the Teacher
My Robotic Friends - Teacher Video
For the Students
Feeling Faces - Emotion Images
My Robotic Friends Symbol Key (Course B) -
Key
My Robotic Friends - Unplugged Video
(download)
My Robotic Friends Cup Stack Pack (Course
B) - Image Pack
Paper Trapezoid Template - Manipulatives
Think Spot Journal - Reflection Journal
Vocabulary
Algorithm - A precise sequence of instructions for
processes that can be executed by a computer
Bug - Part of a program that does not work correctly.
Debugging - Finding and fixing problems in an
algorithm or program.
193
Teaching Guide
Warm Up (5 min)
Talking to Robots Discussion Goal
Display: Watch one of the videos below to give students context
The goal of this quick discussion is to call out that while robots
for the types of things that robots can do:
may seem to behave like people, they're actually responding only
Asimo by Honda (3:58) to their programming. Students will likely refer to robots from
movies and TV that behave more like humans. Push them to
Egg drawing robot (3:15)
consider robots that they've seen or heard of in real life, like
Dancing Lego Robot (1:35) Roombas, or even digital assistants like Amazon Alexa.
Discuss: Refer to the video that you chose and ask students how
they think that the robot knew what to do. Does a robot really
“understand” what you say? Is it worried about getting in trouble if it doesn't do what it's told?
Say: Robots can only do what they've been told to do, but we don't just tell them using words. In order to do something, a robot needs to
have a list of steps that it can read. Today, we are going to learn what it takes to make that happen.
Activity (30 min)
Introduction and Modeling
Set Up: Have stacks of cups or cut paper trapezoids available for groups.
Display: Display the My Robotic Friends Symbol Key (Course B) - Key or write the allowed actions on the board - make sure these
are in a place where they can be seen for the whole activity. Explain to the class that these will be the only four actions that they can use for
this exercise. For this task, they will instruct their “robot” friend to build a specific cup stack using only the commands listed on the key.
Model: In order to explain how the instructions are intended to work, model for the class how to create and follow an algorithm for
replicating a simple pattern. Place a single stack of cups in front of you to start.
Display: Hold up the pattern you plan to model. A simple three cup pattern is a great place to start.
Prompt: Ask the class what the first instruction should be, using only the four instructions allowed. The first move should be to "pick up
cup." If students suggest something else from the list, perform that action and allow them to see their error. If they suggest something not
from the list, make a clear malfunction reaction and let them know that the command is not understood.
With cup in hand, ask the class to continue giving you instructions until the first cup is placed. This is a great place to clarify that "step
forward" and "step backward" each imply moving half a cup width. See the image below for reference.
194
195
Continue asking for instructions from the classroom until you have
Teaching Tip
completed the entire design.
Once your stack is complete, point out that they just gave you a
list of steps for completing a task. That's an algorithm. Algorithms Handy Rules:
are great for sharing ideas, but spelling them out word by word Up means that the cup automatically goes up as high as it
can take a long time. That's what the symbols are for! When you needs to
change an algorithm into symbols that a robot (or computer) Down means that it automatically goes down until it lands on
understands, that's called programming. something
Ask the class to help you write the "program" for that first move by The hand automatically returns to cup stack after setting
changing the text into an arrow. Then work with them to write down a cup
down the rest of the moves necessary to complete the pattern. Forward means the robot moves one step (1/2 cup width)
Depending on the confidence of your students, you might switch forward
back and forth frequently between acting as the "robot" and Backward means the robot moves one step (1/2 cup width)
writing down the code, or you might push them to write the whole Backward
program before you will implement it. One possible solution looks Note: Students may not use backward at this age unless
like this: they want to build the cup stacks in reverse (which is also
okay)
Programmers are not allowed to talk when the robot is working.
This includes blurting out answers or pointing out when the
robot has done something wrong
Programmers should raise their hand if they see a bug
Differentiation Options:
Simplify: Does this all feel a little complicated for your students?
Don't forget to model this in front of the class until students
understand all of the rules. If it's still confusing, try running this
whole activity together as a classroom using volunteers as robots,
instead of breaking up into groups!
Volunteer: Once the class has completed the model program, Intensify: Are your students more advanced? Do you want this
ask one of the students to come up and act as the "robot" to lesson to relate more closely to the online puzzles? Here are some
ensure that the program really works. Encourage them to say the modifications that you can make:
instructions out loud as they "run" the code.
One arrow corresponds to one movement
When a cup is removed from the stack, it returns to table-
Programming Your Robots level before moving
Group: Place students into groups of 4. Each group should then Students need to use multiple "up" arrows to lift the cup
further break down into two pairs - each pair will develop their multiple levels
own program to be "run" by the other pair. Students need to use multiple "down" arrows to lower the
cups multiple levels
Distribute: Give each group one stack of cups or paper cutouts.
Students need to use the "back" arrows to get back to the
Display: Show My Robotic Friends Cup Stack Pack cup stack
(Course B) - Image Pack to the class or hand out individual
copies for groups to use. Have each pair (not group) choose
which idea they would like their robots to do. Try to push for an easier idea for the first time, then have them choose a more complex design
later on. Encourage pairs to keep their choice secret from the other half of their group.
Discuss: Give each pair time to discuss how the stack should be built, using only the provided symbols. Make sure each group writes down
the "program" somewhere for the "robot" to read later.
Do: Once both of the group's pairs have completed their programs, they can take turns being "robots" for each other by following the
instructions the other pair wrote. Encourage students to watch their "robot" closely to ensure that they are following instructions. If a student
sees a bug and raises their hand, have the robot finish the instructions to the best of their ability. Afterward, have the students discuss the
potential bug and come up with solutions. Continue repeating until the stack is built properly.
Circulate: Look for groups who are trying to take shortcuts by adding extra things (like numbers) to their code. Praise them for their
ingenuity, but remind them that for this exercise, the robots do not understand anything but the provided symbols. If you like, you can hint
that they should save their brilliant solution for the next time they play this game, since they might get the chance to use their invention soon!
Iterate: Depending on the time available, mix up the pairs and give them a chance to do a different pattern. Each time groups repeat the
process, encourage them to choose a more challenging pattern.
196
Discuss: After everyone has had a chance to be the robot, bring the class back together to discuss their experience. In particular, discuss
as a class:
Wrap Up (10 min)
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
Draw one of the Feeling Faces - Emotion Images that shows how you felt about today's lesson in the corner of your journal page.
Draw your own stack of cups that you would like to see a robot build.
Can you create a program for that cup stack?
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
197
TM
U
Traveling Circuits
Lesson 3: My Robotic Friends
My Robotic Friends
Unplugged Symbol Key (Course B)
198
199
200
To cut quickly:
First cut in horizontal strips, then snip along lines to make trapezoids.
201
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
C
Lesson 4: Paper Planes
Unplugged | Algorithms | facilitating discussion
Overview Objectives
In this lesson, students will relate the concept of algorithms back to everyday Students will be able to:
activities. After discussing their steps, students will make paper planes using an Decompose large activities into a series of smaller
algorithm. The goal here is to start building the skills to translate real world events.
situations to online scenarios and vice versa. Organize sequential events into their logical order.
Purpose Preparation
This lesson exists to help students see that an "algorithm" is just a list of steps Watch the Real-Life Algorithms: Paper Planes -
that someone can take to finish a task. Students will also learn that the order of Teacher Video.
the individual steps can make a difference in the final product. This should help Watch the Real-Life Algorithms: Paper Planes -
lay a foundation of understanding for arranging blocks into programs. Lesson in Action Video.
Gather paper for students to construct paper
Agenda airplanes from.
Warm Up (15 min) Print out Real-Life Algorithms: Paper Planes -
Main Activity (20 min) Worksheet for each student.
Wrap Up (15 min) Print Daily Algorithms - Assessment for each
student.
Journaling
Make sure every student has a Think Spot
Assessment (15 min)
Journal - Reflection Journal.
Extended Learning
Links
Heads Up! Please make a copy of any
documents you plan to share with
students.
For the Teacher
Real-Life Algorithms: Paper Planes - Unplugged
Video (download)
Real-Life Algorithms: Paper Planes - Teacher
Video
Real-Life Algorithms: Paper Planes - Lesson in
Action Video
Real-Life Algorithms: Paper Planes - Worksheet
Answer Key
For the Students
Real-Life Algorithms: Paper Planes - Worksheet
Daily Algorithms - Assessment
Think Spot Journal - Reflection Journal
Vocabulary
Algorithm - A list of steps to finish a task.
202
Teaching Guide
Warm Up (15 min)
This warm-up will help your students get perspective on what it means to create a list of steps to finish a task.
Prompt: Ask your students what they did to get ready for school this morning.
Discuss: Write their answers on the board. If possible, put numbers next to their responses to indicate the order that they happen. If
students give responses out of order, have them help you put them in some kind of logical order, pointing out places where order matters
and places where it doesn't.
Say: Introduce students to the idea that it is possible to create algorithms for the things that we do everyday. Give them a couple of
examples, such as making breakfast, brushing teeth, and planting a flower.
You can use algorithms to help describe things that people do every day. In this activity, we will create an algorithm to help students fold a
paper plane.
How many of you were able to follow your classmates' algorithms to make your planes?
Did we leave anything out when making the plane?
What would you have added to make the algorithm even better?
What if the algorithm had been only one step: "Fold a Paper Plane"?
Would it have been easier or harder?
What if it were forty steps?
What was your favorite part about this activity?
Wrap Up (15 min)
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
203
Assessment (15 min)
Daily Algorithms - Assessment
Hand out the Daily Algorithms - Assessment and allow students to complete the activity independently after the instructions have
been well explained.
This should feel familiar, thanks to the previous activities.
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Go Figure
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
G - Geometry
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
204
U
Name: Date:
Real-Life Algorithms
Unplugged Paper Airplane Worksheet
You can use algorithms to help describe things that people do every day. In this activity,
we will create an algorithm to help each other make paper airplanes.
Cut out the steps of making an airplane below. Glue the six the correct steps, in order, onto
a separate piece of paper. Trade your finished algorithm with another person or group and
let them use it to make an actual flying model paper plane!
FOLD PAPER
IN HALF AGAIN PULL SIDES DOWN
TOSS FINISHED PLANE
Revision 140710.1a
205
U
Name: Date:
Daily Algorithms
Unplugged Assessment Worksheet
These images are not in order. First, describe what is happening in each picture on
the line to its left, then match the action to its order in the algorithm. The first one
has been done for you as an example.
Step 1
Teeth are clean!
Step 2
Step 3
Step 4
Sometimes you can have more than one algorithm for the same activity. The order
of some of these steps can be changed without changing the final product. Use the
letters on the images below to create two algorithms for making a paper airplane.
A B C D E F G H
ALGORITHM 1:
ALGORITHM 2:
Revision 140710.1a
206
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14
A
Lesson 3: Plant a Seed
Unplugged | Algorithms
Overview Objectives
In this lesson, students will relate the concept of algorithms back to everyday, Students will be able to:
real-life activities by planting an actual seed. The goal here is to start building Decompose large activities into a series of smaller
the skills to translate real-world situations to online scenarios and vice versa. events.
Arrange sequential events into their logical order.
Purpose
In this lesson, students will learn that algorithms are everywhere in our daily
Preparation
lives. For example, it is possible to write an algorithm to plant a seed. Instead of Watch the Plant a Seed - Teacher Video.
giving vague or over-generalized instructions, students will break down a large Prepare supplies for planting seeds. You'll need
activity into smaller and more specific commands. From these commands, seeds, dirt, and paper cups for each student or
students must determine a special sequence of instructions that will allow their group.
classmate to plant a seed. Print one Real-Life Algorithms: Plant a Seed -
Worksheet for each student.
Agenda Print one Real-Life Algorithms: Plant a Seed -
Warm Up (10 min) Assessment for each student.
Make sure each student has a Think Spot
Vocabulary
What We Do Daily Journal - Reflection Journal.
Main Activity (20 min)
Links
Real-Life Algorithms: Plant a Seed - Worksheet
Wrap Up (10 - 20 min) Heads Up! Please make a copy of any
Flash Chat: What did we learn? documents you plan to share with
Journaling students.
Assessment (15 min)
Real-Life Algorithms: Plant a Seed - Assessment For the Teacher
Extended Learning Real-Life Algorithms: Planting a Seed -
Go Figure Unplugged Video (download)
Plant a Seed - Teacher Video
Real-Life Algorithms: Plant a Seed - Worksheet
Real-Life Algorithms: Plant a Seed - Worksheet
Answer Key
Real-Life Algorithms: Plant a Seed -
Assessment
Real-Life Algorithms: Plant a Seed -
Assessment Answer Key
For the Students
Feeling Faces - Emotion Images
Think Spot Journal - Reflection Journal
Vocabulary
Algorithm - A precise sequence of instructions for
processes that can be executed by a computer
207
Teaching Guide
Warm Up (10 min)
Vocabulary
This lesson has one vocabulary word that is important to review:
What We Do Daily
Ask your students what they did to get ready for school this morning.
Give them a couple of examples, such as making breakfast, tying shoes, and brushing teeth.
Let's try doing this with a new and fun activity, like planting a seed!
Journaling
Ask the students to go back to their desks to reflect individually on what they learned. Write a couple of the questions up above on a
whiteboard. Ask the students to discuss these in their journal. Sample prompts include:
Journal Prompts:
Draw one of the Feeling Faces - Emotion Images that shows how you felt about today's lesson in the corner of your journal page.
Draw the seed you planted today.
Write the algorithm you used to plant the seed.
208
Assessment (15 min)
Real-Life Algorithms: Plant a Seed - Assessment
Hand out the Real-Life Algorithms: Plant a Seed - Assessment and allow students to complete the activity independently after the
instructions have been well explained.
This should feel familiar, thanks to the previous activities.
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Go Figure
Break the class up into teams.
Have each team come up with several steps that they can think of to complete a task.
Gather teams back together into one big group and have one team share their steps, without letting anyone know what the activity was
that they had chosen.
Allow the rest of the class to try to guess what activity the algorithm is for.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
G - Geometry
MP - Math Practices
CSTA K-12 Computer Science Standards
Next Generation Science Standards
LS - Life Science
If you are interested in licensing Code.org materials for commercial purposes, contact us.
209
U
Name: Date:
Real-Life Algorithms
Unplugged Plant a Seed Worksheet
You can use algorithms to help describe things that people do every day. In this activity,
we will create an algorithm to help each other plant a seed.
Cut out the steps of planting a seed below, then work together to glue the six correct
steps, in order, onto a separate piece of paper. Trade your finished algorithm with another
person or group and let them use it to plant their seed!
PUT GLUE ON SEED FILL POT WITH SOIL POKE HOLE IN SOIL
WATER POT COVER SEED WITH SOIL POUR SODA POP IN POT
Revision 140710.1a
210
U Name: Date:
Real-Life Algorithms
Unplugged
Assessment Worksheet
An algorithm is a list of steps that you can follow to finish a task. We follow
algorithms every day when it comes to activities like making the bed, making
breakfast, or even getting dressed in the morning.
Pria the Programmer just woke up and is still feeling very sleepy. Can you put
together some algorithms to help Pria get ready for the day?
1 2 3
Help Connie Brush her Teeth:
E
LU
G
1 2 3 4
Help Connie Plant a Seed: E
LU
G
1 2 3 4 5 6
Revision 171129.1a
211
U Name: Date:
Real-Life Algorithms
Unplugged
Assessment Worksheet
These items are out of order. To help Princess Pria, cut out each picture and
rearrange them into the right sequence.
Put on Shoes
Brush Teeth
Plant a Seed
FILL POT PUT POT IN PUT SEED IN POKE HOLE WATER POT COVER SEED
WITH SOIL SUNLIGHT HOLE IN SOIL WITH SOIL
Revision 171129.1a
212
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
F 17 18 19 20 21 22 23 24 25 26 27 28
Lesson 13: The Power of Words
Common Sense Education | Cyberbullying
Overview Objectives
Students consider that while they are enjoying their favorite websites they may Students will be able to:
encounter messages from other kids that can make them feel angry, hurt, sad, Empathize with those who have received mean and
or fearful. They explore ways to handle cyberbullying and how to respond in the hurtful messages.
face of upsetting language online. Judge what it means to cross the line from harmless
to harmful communication online.
Students discuss all the ways they use technology for communication and
Generate solutions for dealing with cyberbullying.
explore the similarities and differences between in-person and online
communication. Students then brainstorm ways to respond to cyberbullying.
Preparation
Purpose Preview the Common Sense Education - Power
of Words - Teacher Prep Guide and prepare to
This lesson will provide students with the tools that they need to handle
show it to your class.
cyberbullying if they are ever in the situation of having someone negatively
Print out the Words Can Hurt Handout from
responds to their online postings.
Common Sense Education - Power of Words -
Students may not ever have the misfortune of experiencing cyberbullying, but Teacher Prep Guide (page 7) for each group of
they should understand what it is so that they can spot it online. Students will four.
learn how to identify cyberbullying and what steps they should take to make it Print out the Talk and Take Action Handout from
stop. This may become helpful in later puzzles when students have the Common Sense Education - Power of Words -
opportunity to share their work. Teacher Prep Guide (page 6) for each student.
Print out the assessment on page 8-9 of Common
Agenda Sense Education - Power of Words - Teacher
Warm Up (5 min) Prep Guide.
Introduction Obtain colored pencils and a string the length of the
classroom.
Main Activity (35 min)
What's the Problem?
Crossing the Line
Links
Talk and Take Action
Heads Up! Please make a copy of any
Wrap Up (15 min)
documents you plan to share with
Flash Chat: What did we learn today?
students.
Journaling
Assessment (10 min) For the Teacher
Common Sense Education - Power of Words -
Teacher Prep Guide
The Power of Words - Lesson Video
Common Sense Education - Website
CSF Digital Citizenship - Resource List
For the Students
Feeling Faces - Emotion Images
Think Spot Journal - Reflection Journal
Vocabulary
Cyberbully - Using technology tools to deliberately
upset someone else.
213
Teaching Guide
Warm Up (5 min)
Introduction
Draw a series of expressive faces on the board. View Feeling Faces - Emotion Images for examples.
Invite the students to suggest emotions that match each face's expression. With every suggestion, write the emotion next to the feeling
face. Answers will vary.
Tell students that not everyone will react to a particular situation in the same way, but just because a reaction is different from our own,
doesn't mean we should discount others' feelings.
Explain to students they are going to watch a video about how words, whether typed or spoken, can impact how someone else feels.
Who has heard of the saying, "Sticks and stones may break my bones, but words will never hurt me"?
What did Guts mean in his text that sometimes words can hurt?
Words are powerful. Sometimes it is hard to ignore what someone is saying when it's a mean name. Names can make you feel sad or
hurt.
Remind students to keep Leg's question in the back of their mind during this lesson: How do you treat others online?
What's the Problem?
Organize students into groups of four and have each group pick a person to record their ideas.
Distribute the Words Can Hurt Student Handout. Have the groups of students read the scenario about Rani and Aruna receiving
mean messages through a children's game website.
Have each group answer the questions, then have them share their responses with the class. Look for responses that show empahty for
Rani and Aruna and acknowledge that the messages sent to them were mean and hurtful. Ask the students to read the 'Use Common
Sense!' section on the Words Can Hurt Student Handout.
Have you seen mean messages sent to you or others online? Tell us about it, but do not use real names.
Invite one partner to write the phrase "You're weird" on a piece of paper, then hand it to their partner. Tell them that they just received this
text.
Ask:
What are the reasons the person might have texted "You're weird"?
They’re continuing an inside joke; the first person did something silly at an earlier time; a group of kids is teasing the kid; the person
who sent the text really does think the person is weird but is afraid to say it to his or her face.
How did the partner feel about being called weird?
Possibly like the other person was kidding around, but maybe that the person was teasing or being hurtful.
Tell one person from each pair to say to the other person, "You're weird," with a smile on their face.
Ask:
Why might you feel differently if you could see the person?
People give non-verbal cues through facial expressions and body language.
214
Crossing the Line
Place the piece of string across the length of the classroom. Ask students to stand on one side of the line. Then ask them to imagine that
they are online and somebody has sent them a message, which you will read to them. Tell the students to stay where they are if they think
the message is okay; to cross over the line if they think the message is not okay; or to stand on the line if they think the message is in
between.
Read:
Review with the students that kids like to go online and use cell phones to email, chat, watch videos, send messages, play games, and do
homework. But sometimes the language can get mean or scary. Messages that make people feel bad cross the line. Sometimes that
meanness is unintentional, but when people use tools such as the internet and cell phones to deliberately upset someone else over and
over, that's cyberbullying.
Talk and Take Action
Have students return to their seats.
Discuss how easy is it to feel angry or upset when somebody sends you a mean or scary message online.
Define:
Cyberbullying: Using technology tools such as the internet and cell phones to deliberately upset someone else.
Explain that cyberbullies deliberately try to make you feel that way, just like real-life bullies.
Discuss:
Cooling down can be a good first step when you receive a mean message online. Taking a deep breath, counting backwards from 10, or
pausing to think about what you will do next can give you time to think of the BEST way to handle the situation.
Finding help or telling a trusted adult or friend can be a good way to take action. You shouldn't deal with the cyberbullying situation alone.
The person you tell should be someone who wants to hear what you have to say and will help you work on a solution. Adults can be
especially good because they often have the power to influence the situation or they can give you advice about what to do.
Ignoring the person who is cyberbullying you can be very effective. Those who bully often like attention.
Whatever you do, remember to keep a copy of your communication with the individual who is cyberbullying you. If you delete the
communication, there is no proof of how the bully treated you if you need to show a trusted adult.
Distribute the Talk and Take Action Student Handout to each student. Encourage them to depict a cyberbullying scenario and
possible solution. They can use pencils and paper to make the comics.
Wrap Up (15 min)
Flash Chat: What did we learn today?
You can use these questions to assess your students' understanding of the lesson objectives. You may want to ask students to reflect in
writing on these questions in their Think Spot Journal - Reflection Journal.
Ask:
215
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
Assessment (10 min)
Print out the assessment from Common Sense Education - Power of Words - Teacher Prep Guide (page 8-9) and distribute it to the
class. Give students enough time to complete the assessment, but make sure there is enough time to go over answers.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
216
TALK AND TAKE ACTION
Directions
Create a cartoon about a cyberbullying situation. Each frame should
show a different part of the situation:
FRAME 1: Make a cartoon about something that a cyberbully might do or write
online. Remember to use language appropriate for school.
FRAME 2: Show what you might do if you saw what the cyberbully has done or written.
FRAME 3: What might be a positive outcome, or result, of the situation?
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2017
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
217 1
WORDS CAN HURT
Directions
Read the story below and then answer the questions that follow.
1. How do you think Rani and Aruna feel when they read those messages?
Rani and Aruna feel
3. Why do you think people send these kinds of message to people they don’t know?
People send these kinds of messages because
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2017
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
218 1
ASSESSMENT
1. Alicia receives a text message from her friend Ronald. The message says, “I am
having a party. You are not invited.” Circle the word that shows how Alicia might feel
after she receives the message.
a) hurt
b) excited
c) popular
2. Theo is having fun playing Dragons and Knights online. Then he sees a message
from another player. It says, “You’re ruining the game, stupid!” What should Theo do
about the message? What shouldn’t he do? Use the chart below to fill in the letters
that go with each answer.
a) Ignore the player who sent the mean message
b) Write a message back that says, “You’re so stupid, you’re the one ruining the game”
c) Pretend that he doesn’t feel hurt by the message
d) Save the message in case the other player sends Theo another mean message
e) Tell an adult about the message
f) Never play Dragons and Knights online again
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2017
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
219 1
ASSESSMENT
3. The following acronym, STOP, gives advice on what to do when something goes
wrong online. Explain what each letter means.
S tep away
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2017
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
220 2
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
E 17 18 19 20 21 22 23 24 25 26 27 28
Lesson 12: Private and Personal Information
Common Sense Education | Personal Information | Private Information | Identity Theft
Overview Objectives
Developed by Common Sense Education, this lesson is about the difference Students will be able to:
between information that is safe to share online and information that is not. Learn about the benefits and risks of sharing
information online.
As students visit sites that request information about their identities, they learn
Understand what type of information can put them at
to adopt a critical inquiry process that empowers them to protect themselves
risk for identity theft and other scams.
and their families from identity theft. In this lesson, students learn to think
critically about the user information that some websites request or require. They
learn the difference between private information and personal information, as
Preparation
well as how to distinguish what is safe or unsafe to share online. Copy the Protect Yourself Student Handout (7th
page of the teacher prep guide), one for each
Purpose student.
Copy the All About Me Student Handout (6th
Common Sense Education has created this lesson to teach kids the importance
page of the teacher prep guide), one for each
of security on the internet. By discussing the difference between personal and
student.
private information, students will be able to recognize what information should
Print out an assessment (8th page of the teacher
and shouldn't be shared. Students will also learn what signs you should look for
prep guide) for each student. Teacher version is the
to determine if a website is safe or not.
page after the student assessment.
Agenda Preview websites like Neopets, Nickelodeon, and
BookAdventure and prepare to show them to the
Warm Up (5 min) class.
Introduction Review CSF Digital Citizenship - Resource List
Main Activity (35 min) for more online safety content.
Log In
Private and Personal Links
What's Safe to Share Online?
Wrap Up (15 min) Heads Up! Please make a copy of any
Flash Chat: What did we learn about today? documents you plan to share with
Journaling students.
Assessment (10 min)
For the Teacher
Private and Personal Information
Common Sense Education - Private and
Personal Information - Teacher Prep Guide
Common Sense Education - Website
CSF Digital Citizenship - Resource List
For the Students
Think Spot Journal - Reflection Journal
Vocabulary
Identity Theft - When a thief steals someone’s
private information in order to pretend to be that
person.
Personal Information - Information that can’t be
used to identify you.
Private Information - Information that can be used
to identify you.
Register (Online) - To enter your information in
order to sign up and get access to a website.
221
Teaching Guide
Warm Up (5 min)
Introduction
Ask:
What types of information do you think are okay to share publicly online such as on an online profile that others will see?
Interests and favorite activities
Opinions about a movie
First name
What are some examples of websites where you must register in order to participate?
Social networking sites
Video-sharing sites
Youth discussion sites
Ask-an-expert sites
Game sites
Write the names of the websites on the board. Explain that it's important to know that sharing some kinds of user information can put you
and your family's privacy at risk.
Project for the class, or have students go online to Neopets, As an offline alternative, print out and copy the website pages that
Nickelodeon, or BookAdventure. Do not ask the students ask for registration and log-in information. Distribute these to the
students.
to sign up for these sites!
Point Out that you do not have to fill out fields on websites if they are not required. Required fields are usually marked by an asterisk (*) or
are highlighted in red.
Private and Personal
Explain to the students that some kinds of information are generally safe to share on the internet and some are not. However, the
information that's considered safe should not be shared one-on-one with people the students don't already know offline.
Define:
Teacher Tip
Personal Information: Information that can’t be used to
If you'd like a more clear distinction between "personal" and
identify you.
"private" information in these definitions, you can use other
Private Information: Information that is about you and can phrases like "friendly information" or "sharable information" to
be used to identify you. better define the line that the students should recognize. We chose
to keep "personal" and "private" to stay true to Common Sense
Education's lesson plan.
222
Emphasize that personal information is usually safe to share
online. Private information is usually unsafe to share online,
meaning students should get permission from a parent or
Ask:
Why would someone want to steal someone else's identity on the internet?
To steal money
To do something bad or mean
To hide their real identity
Define:
Identity Theft: When a thief steals someone’s private information in order to pretend to be that person.
Explain that an identity thief uses private information to pretend to be the person whose identity he or she has stolen. Once the thief has
taken someone’s identity, he or she can use that person’s name to get a driver’s license or buy things, even if the person whose identity they
stole isn’t old enough to do these things! It’s often not until much later that people realize their identity has been stolen. Identity thieves may
also apply for credit cards in other people’s names and run up big bills that they don’t pay off. Let students know that identity thieves often
target children and teens because they have a clean credit history and their parents are unlikely to be aware that someone is taking on their
child’s identity.
Emphasize the difference between private information (which can be used to steal your identity) and personal information (which cannot be
used to steal your identity). Invite students to answer the following questions (write their answers on the board):
Ask:
What kinds of private information could an identity thief use to find out and steal your identity?
First and last name, postal address, email address, phone numbers, passwords, credit card numbers, Social Security number,
mother's maiden name.
What kinds of personal information could you share about yourself without showing your identity?
Your age, gender, how many siblings you have, your favorite music, your favorite food, what pets you have, the name of your pet, your
opinion about something.
Explain to students that on the internet, people you interact with could be your friends next door or strangers who live on the other side of
the world. Because it’s hard to know the intentions of people who you’ve never met before, it is best to remain cautious when sharing your
information. You wouldn’t give strangers your private information in the real world, and you need to be just as careful when you’re online.
Remind students how important it is each time they share information online to stop and think: “Am I giving out information that I should
keep private?” Point out that it can sometimes be safe to give out some private information. For example, a website might ask for your birth
date or email address. But students should always ask their parent or guardian before giving out private information.
Distribute the Protect Yourself Student Handout and have students complete the activity. Review the answers as a class.
Is there anything on the lists that could be used by an identity thief? Why?
Guide students to explain their answers and encourage them to use the vocabulary terms.
223
Wrap Up (15 min)
Flash Chat: What did we learn about today?
You can use these questions to assess your students’ understanding of the lesson objectives. You may want to ask students to reflect in
writing on one of the questions, using a journal or an online blog/wiki.
Ask:
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
Assessment (10 min)
Private and Personal Information
Hand out the assessment to students. Allow students time to complete the assessment. If there is time left over, go over the answers with
the students.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
224
ALL ABOUT ME
Directions
Pretend you have a public profile in an online community. There are people you
know, and people you don’t know, who can view your profile.
Write down personal information that you would want to share about yourself.
Make sure that everything on your list is safe to share and that it is not private
information that could reveal your identity.
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
Personal information often is safe to share. But you should never share private
information without the permission of a parent, guardian, or teacher.
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2017
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
225 1
PROTECT YOURSELF
Directions
Decide if each piece of information below is an example of personal information or
private information. Then check the box to show your answer.
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2017
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
226 1
ASSESSMENT
1. If a website asks you for your __________________ online, you should talk to a
parent or family member.
a) favorite color
b) date of birth
c) screen name
3. Clara received two emails. Which email should she NOT respond to?
Circle your answer.
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2017
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
227 1
ASSESSMENT
Private and Personal Information TEACHER VERSION
1. If a website asks you for your ________________ online, you should talk to a parent
or family member.
a) favorite color
b) date of birth
c) screen name
Answer feedback
The correct answer is b. Your date of birth is an example of private information. If a website asks for
private information, you should ask a trusted adult before doing anything.
2. An identity thief probably would not be interested in your personal information, such
as __________________.
a) your full name
b) your street address
c) your favorite movie
Answer feedback
The correct answer is c. Both your full name and your street address are examples of private information.
Personal information, like your favorite movie, would probably not be useful for an identity thief.
3. Clara received two emails. Which email should she NOT respond to? Circle your answer.
Answer feedback
If an email asks you for private information, such as your full name or address, you should not
respond—especially if you do not know the person who sent the message.
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2017
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
228 1
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
D 17 18 19
Lesson 3: Relay Programming
Unplugged | Relay Programming | Algorithms
Overview Objectives
This activity will begin with a short lesson on debugging and persistence, then Students will be able to:
will quickly move to a race against the clock as students break into teams and Define ideas using code and symbols.
work together to write a program one instruction at a time. Verify work done by teammates.
Identify signs of frustration
Purpose
Teamwork is very important in computer science. Teams write and debug code
Preparation
with each other, instead of working as individuals. In this lesson, students will Watch the Relay Programming - Teacher
learn to work together while being as efficient as possible. Video.
Locate a wide open space for this activity, such as
This activity also provides a sense of urgency that will teach students to
the gym or outdoor field.
balance their time carefully and avoid mistakes without falling too far behind.
Print out one Relay Programming Activity
This experience can be stressful (which is expected!) Make sure you provide
Packet - Activity Packet for each group.
students with the tools to deal with potential frustration.
Supply each group with plenty of paper and
Agenda pens/pencils.
Print one Relay Programming - Assessment for
Warm Up (15 min) each student.
Where did I go wrong? Make sure every student has a Think Spot
Main Activity (20 min) Journal - Reflection Journal.
Relay Programming
Wrap Up (15 min)
Journaling Links
Extended Learning
For the Teacher
Relay Programming - Teacher Debugging -
Image
Relay Programming - Unplugged Video
(download)
Relay Programming - Teacher Video
For the Students
Relay Programming Debugging Packet
Relay Programming Activity Packet - Activity
Packet
Think Spot Journal - Reflection Journal
Vocabulary
Algorithm - A list of steps to finish a task.
Bug - Part of a program that does not work correctly.
Debugging - Finding and fixing problems in an
algorithm or program.
Frustrated - Feeling annoyed or angry because
something is not the way you want it.
Persistence - Trying again and again, even when
something is very hard.
Program - An algorithm that has been coded into
something that can be run by a machine.
229
Teaching Guide
Warm Up (15 min)
Recall that in "Graph Paper Programming" we guided our teammate's Automatic Realization Machine (ARM) using arrows. This warm up will
bring back these ideas, which will be needed in the main activity.
Where did I go wrong?
Goal: In this lesson, we want to help students learn to identify and fix bugs in their own programs. The easiest way to do that is to first
present students with a program that contains bugs that are not their fault. Once they've helped you fix "your" program, share with them how
frustrating it can be to make mistakes, and help them see that those feelings are completely normal and they shouldn't feel embarrassed by
them.
Discuss: Get the attention of the class and let them know that you are stuck! You have this challenge, and you thought you had solved it,
but it doesn't seem to be working. Your program has a bug, can they help you fix it?
Take a moment to walk them through the rules: - Start at the star - Follow the instructions step-by-step - End when all of the right squares
are filled in
Optional: Follow along by filling in a blank grid. Express frustration when the picture doesn't turn out the way that you wanted it to.
Pair: Let students work together to see if they can figure out what the program is supposed to say.
Share: Ask students if anyone was able to figure out a way to solve the problem. When you get a correct answer, let the students know that
they are great at "debugging"!
Discuss: Ask the students if they could tell how you were feeling
Content Corner
when you couldn't figure out the answer. They might suggest that
you were "mad" or "sad". Instead of telling them "no", describe For more on persistence and frustration, try reading Stevie and
that you were feeling a little bit mad, a little bit sad, and a little bit the Big Project to your students. It will help them spot moments
confused. When you put all of those emotions together, it makes of frustration. It will also help give them the tools to deal with it.
a feeling called "frustration". When you are "frustrated" you might If you do not read the book, take a moment to cover tips on
think you are mad, sad, or confused -- and you might be tempted frustration and persistence as a class:
to give up -- but frustration is a natural feeling and it's a big hint Tips to Help With Frustration
that you are about to learn something! Instead of quitting, practice Count to 10
persistence. Keep trying over and over again. After a few times, Take deep breaths
you will start to understand how to debug your problems! Journal about them
Distribute: To make sure that students understand the idea of Talk to a partner about them
finding and fixing errors (debugging) pass out the Relay Ask for help
Programming Debugging Packet and have students Tips for Being Persistent
complete the task in pairs.
Keep track of what you have already tried
Optional: If you want to move the activity along more quickly, feel Describe what is happening
free to complete these as a class, instead. Describe what is supposed to happen
What does that tell you?
Transition: Now it's time to play the game!
Make a change and try again
230
Main Activity (20 min)
Relay Programming
With Graph Paper Programming in mind, it's time to split up into teams and prepare to run the activity as a relay!
Set-Up: Prepare the Relay Programming Activity Packet - Activity Packet by printing out one copy for each team of 4-5 students.
Cut or fold each page along the center dotted line.
First group to finish with a program that matches the image is the winner! Play through this several times, with images of increasing difficulty.
Go through the game as many times as you can before time runs out or your students begin feeling exhausted.
Transition: Once the game is over, circle everyone up to share lessons learned.
Wrap Up (15 min)
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Pass the paper
If you don't have the time or room for a relay, you can have students pass the paper around their desk grouping, each writing one arrow
before they move the paper along.
231
Fill It, Move It
As the teacher, draw an image with as many filled squares as children in each group.
Have the students write as many arrows in the program as it takes to get to a filled-in square (including actually filling that square in)
before passing to the next person.
Debugging Together
Draw an image on the board. Have each student create a program for the image. Ask students to trade with their elbow partner and debug
each other's code.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
232
Game #1
Step 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Step 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Step 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
Game #2
Step 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Step 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Step 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
Game #3
Step 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Step 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Step 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
Game #4
Step 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Step 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Step 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
Game #5
Step 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Step 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Step 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
233
1 Relay Programming
Relay Image 1
Revision 140710.1a
2 Relay Programming
Relay Image 2
Revision 140710.1a
234
3 Relay Programming
Relay Image 3
Revision 140710.1a
4 Relay Programming
Relay Image 4
Revision 140710.1a
235
5 Relay Programming
Relay Image 5
Revision 140710.1a
6 Relay Programming
Relay Image 6
Revision 140710.1a
236
237
U
Name: Date:
Debugging
Unplugged Assessment Worksheet
Sometimes when you are coding in groups, someone will make an error that will
affect everyone.
Somebody has already written programs for the images below, but each one has a
mistake! Figure out what the programs are supposed to look like, and circle the error
in each one. Then, draw the correct symbol in the box beneath.
Each program should use the symbols below to draw the image to its left.
Start
Here
Start
Here
Start
Here
Start
Here
Revision 140830.1a
238
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
C
Lesson 13: Screen Out the Mean
Common Sense Education | Cyberbullying | Unplugged
Overview Objectives
This lesson helps children to recognize that it is essential to tell a trusted adult if Students will be able to:
something online makes them feel angry, sad, or scared. Analyze online behaviors that could be considered
cyberbullying.
Students learn that other people can sometimes act like bullies when they are
Explain how to deal with a cyberbullying situation.
online. They will explore what cyberbullying means and what they can do when
Recognize the importance of engaging a trusted
they encounter it. After reading a scenario about mean online behavior,
adult if the student experienced cyberbullying.
students discuss what cyberbullying is, how it can make people feel, and how to
respond. Finally, they use their knowledge to create a simple tip sheet on
cyberbullying in their journal.
Preparation
Review Screen Out the Mean - Teacher Prep
Purpose Guide from Common Sense Education's website.
Print out a worksheet from the link above (page 6)
Students may not ever have the misfortune of experiencing cyberbullying, but
for each student.
we want to make sure that the students are prepared for and knowledgeable
Print out an assessment from the link at the top
about it, in case they ever witness it during an online situation. Students will
(page 7) for each student.
learn how to identify cyberbullying and what steps they should take to make it
Make sure every student has a Think Spot
stop. This may become helpful in later puzzles when students have the
Journal - Reflection Journal.
opportunity to share their work. If someone negatively responds to a student's
Print or display the Online Safety Poster -
work, this lesson will provide them with the tools that they need to handle the
Student Handout for the class to see.
situation.
Review CSF Digital Citizenship - Resource List
Agenda for more online safety content.
Vocabulary
Cyberbullying - Doing something on the internet,
usually again and again, to make another personal
feel angry, sad, or scared.
Online - Connected to the internet.
239
Teaching Guide
Warm Up (5 min)
Introduction
Encourage:
Students will be learning about a kind of bullying that can take place when they use the internet.
What Is Cyberbullying?
Define:
Cyberbullying: Doing something on the internet, usually again and again, to make another person feel angry, sad, or scared
Discuss:
Some kids do not go online very much at all, either because of their family’s rules or because they do not like it very much. Other kids do go
online to do different things.
Ask:
What do you do online, or what do you think you might like to do?
Students may mention activities like sending messages to friends and playing games.
Share:
Most of the time when students go online it is to do fun or interesting things. But sometimes people can be mean to each other online and
this is called cyberbullying.
Ask:
Did you ever see someone make someone else feel bad online?
Answers will vary. Remind students to tell what happened, but not to use real names.
Explain:
Tell students that they will be learning more about how cyberbullying occurs, and what to do when it happens to them or to someone they
know.
240
What to Do About Cyberbullying
Discuss:
Read aloud these two scenarios and discuss them briefly with the class.
Kyle keeps getting instant messages from someone saying means things about him. The person who is sending the messages doesn’t
use a real name, but Kyle can tell the messages are coming from someone who also makes fun of him at school in gym class.
Sasha is a new girl at school, and she’s making a lot of friends. Then Sasha finds out that another girl sent around an email that had a
picture of a cow with Sasha’s name on it.
Next, pass out the Screen Out the Mean - Teacher Prep Guide worksheet from page 6. Read aloud the story at the top and ask
students to work in pairs or groups to finish the worksheet.
Ask the class to discuss to Jada's story. Tell the class there are
Discussion Goal
specific steps to handling a cyberbully.
Questions to stimulate discussion include:
Jada should STOP using the computer.
Jada should TELL an adult she trusts what happened. What do you think happened to Jada's game?
Jada should not go back online or return to the pony website How do you think Jada, Kyle, or Sasha felt when these things
until an adult says it is OK. happened to them?
If Jada and Michael are good friends, Jada may want to tell How do you know if someone is cyberbullying you?
Michael how his actions made her feel after she gets help from Why do you think it is important to stop using the computer
an adult. when someone starts cyberbullying you?
If Michael continues cyberbullying her, she should play with It's possible that if students stay online, the cyberbullying
other kids who don't cyberbully others. may continue or get worse.
Wrap Up (15 min)
Flash Chat: What did we learn?
Ask:
Telling a trusted adult is the most important response whenever someone makes them feel sad, scared, or angry online.
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
241
Assessment (5 - 10 min)
Screen Out the Mean - Teacher Prep Guide
Pass out an assessment to each student. Allow students a few minutes to complete it then review the answers (page 9 of the link above)
with the class. If there's time, allow for a discussion about the questions.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
242
STOP CYBERBULLYING
Directions
Jada’s parents let her play on a website
where she can take care of a pet pony
and decorate its stall. Her friend Michael
has played with her in the past and
knows her user name and password.
One day Jada goes to the site to care for
her pony. She finds that her pony’s stall
is a mess and that there are some things missing.
1. Draw lines to show which things a cyberbully would do most and which
things an in-person bully would do most.
2. A cyberbully might:
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2017
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
244 1
ASSESSMENT
Screen Out the Mean TEACHER VERSION
1. Draw lines to show which things a cyberbully would do most and which things an
in-person bully would do most.
Answer feedback
A cyberbully does and says mean things online. An in-person bully is mean in person.
2. A cyberbully might:
Answer feedback
The correct answer is a. Cyberbullies are mean online.
Answer feedback
The correct answer is c. If someone is mean to you online, get off
the computer and tell an adult. Saying mean things to a cyberbully won’t help.
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2017
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
245 1
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
E 17 18 19 20 21 22 23 24 25 26 27 28
Lesson 14: Songwriting
Unplugged | Function
Overview Objectives
One of the most magnificent structures in the computer science world is the Students will be able to:
function. Functions (sometimes called procedures) are mini programs that you Locate repeating phrases inside song lyrics.
can use over and over inside of your bigger program. This lesson will help Identify sections of a song to pull into a function.
students intuitively understand why combining chunks of code into functions Describe how functions can make programs easier
can be such a helpful practice. to write.
Purpose Preparation
The use of functions helps simplify code and develop the student's ability to Watch the Songwriting and Songwriting with
organize their program. Students will quickly recognize that writing functions Parameters (Functions) - Teacher Video.
can make their long programs easier to read and easier to debug if something Watch the Functions Unplugged: Songwriting -
goes wrong. Lesson in Action Video.
Print several Functions Unplugged:
Agenda Songwriting - Worksheet for each group.
Warm Up (20 min) Print one Functions Unplugged: Songwriting -
Assessment for each student.
Vocabulary
Sing a Song Access to the internet, or pre-downloaded songs
and lyrics for activity.
Main Activity (20 min)
Make sure every student has a Think Spot
Functions Unplugged: Songwriting - Worksheet
Journal - Reflection Journal.
Wrap Up (5 min)
Flash Chat: What did we learn? Links
Journaling
Assessment (5 min) Heads Up! Please make a copy of any
Functions Unplugged: Songwriting - Assessment documents you plan to share with
Extended Learning students.
For the Teacher
Songwriting with Functions - Unplugged Video
(download)
Songwriting and Songwriting with Parameters
(Functions) - Teacher Video
Functions Unplugged: Songwriting - Lesson in
Action Video
Functions Unplugged: Songwriting - Worksheet
Functions Unplugged: Songwriting -
Assessment
Functions Unplugged: Songwriting -
Assessment Answer Key
For the Students
Think Spot Journal - Reflection Journal
Vocabulary
Function - A named group of programming
instructions. Functions are reusable abstractions that
reduce the complexity of writing and maintaining
programs.
246
Teaching Guide
Warm Up (20 min)
Vocabulary
This lesson has one new and important word:
A piece of code that you can call over and over again.
Sing a Song
Let the class know that today is song day!
We're going to learn a song together.
Start with a simple song, either written out or projected on the screen.
Point to the chorus and be sure that the class knows how it goes before you begin on the song.
Blast through the song, singing it with them in the beginning, then see what happens when you get to the part where it calls the chorus.
Chorus:
Teaching Tip
Little bunny Foo Foo
Hopping through the forest Little Bunny Foo Foo is being used here as an example only. If
your students know this song, feel free to use it. Otherwise,
Scooping up the field mice
choose an appropriate song that they might be more familiar with
And bopping ‘em on the head (either from music class or the radio.)
Down came the Fairy
And she said
“Little bunny Foo Foo
I don’t wanna see you
Scooping up the field mice
And bopping ‘em on the head”*
Song:
Chorus
I’ll give you 3 chances.
Then I’ll turn you into a goon!
The next day. . .
Chorus
I’ll give you 2 chances.
Then I’ll turn you into a goon!
The next day. . .
Chorus
I’ll give you 1 chance.
Then I’ll turn you into a goon!
The next day. . .
Chorus
It's quite likely that the majority of the class will sing the lyrics for the chorus when you point to that bit.
Stop the song once that happens, and explicitly highlight what just happened.
You defined the chorus.
You called the chorus.
They sang the chorus.
247
Ask the class why they suppose you only wrote the chorus once at the top of the paper instead of writing it over and over in each place
where it is supposed to be sung.
What are other benefits of only writing the chorus once when you sing it many times?
We are going to play with songs a little more, to try to really understand how often this technique is used!
Directions:
Wrap Up (5 min)
Flash Chat: What did we learn?
Would you rather write lyrics over and over again or define a
Lesson Tip
chorus?
Do you think it's possible to make multiple choruses for the Flash Chat questions are intended to spark big-picture thinking
same song? about how the lesson relates to the greater world and the students'
Does it make sense to make a new chorus for every time it's greater future. Use your knowledge of your classroom to decide if
you want to discuss these as a class, in groups, or with an elbow
needed in a song?
partner.
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
248
Assessment (5 min)
Functions Unplugged: Songwriting - Assessment
Hand out the assessment worksheet and allow students to complete the activity independently after the instructions have been well
explained. This should feel familiar, thanks to the previous activities.
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Functional Suncatchers Visit the CS Fundamentals Unplugged Table or click on the link for Functional Suncatchers. This activity
does take a few supplies from the craft store, but it helps students to see the value of calling multiple functions.
Create Your Song
Start by creating a chorus together, then repeat it between verses of a song that you develop around it.
Make a change to the chorus, and ponder how much easier it is to change in just one place.
Change the chorus again, making it much longer than it was originally.
Add a second chorus and alternate between them in your verses.
Songwriting a Program
What if we acted out songs instead of singing them? All of a sudden, our chorus would be a function of repeated actions, rather than
words.
Use the concepts of the arrows from the Graph Paper Programming lesson and create a program with lots of repeating instructions.
Circle those repeating actions so that the class can see where they are.
Define a function called "Chorus" above the program.
Cross out everywhere the repeating actions appear in the program and write "Chorus" instead.
Repeat until the class can go through this process with little direction.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
249
U
Name: Date:
Songwriting
Unplugged Using Lyrics to Explain Functions and Procedures
One of the most magnificent structures in the computer science world is the function.
Functions (sometimes called procedures) are mini programs that you can use over and
over inside of your bigger program.
A fantastic way to compare functions to something we see in our everyday lives is to look
at songs. Songs often have certain groups of lyrics that repeat over and over. We call such
a group a “chorus.”
Directions:
1) Divide into groups of 4, 5, or 6.
2) Give each group several copies of the Songwriting Worksheet.
3) Play a short song for the class that contains a clear chorus that does not
change from verse to verse.
4) Challenge the class to identify (and write down) the chorus.
5) Compare results from each group. Did everyone get the same thing?
New Word!
Function
Say it with me: F u n c-s h u n
A piece of code that you can
call over and over again.
Let’s make a function for the bits that we use most often
so that we don’t need to write so much as we go.
Revision 140610.1a
250
U
Group Name: Date:
Song Name:
Chorus:
Song Name:
Chorus:
Revision 140610.1a
251
U
Name: Date:
Songwriting
Unplugged Using Lyrics to Explain Functions - Assessment
If it were your job to write these songs as computer programs, what chunk of code from
each would you turn into a function so that you could use it over and over again with just
one word?
Circle the segments of each program that repeat most often. Is everything that you circled
exactly the same? If so, that can be your chorus!
Finish by writing the chorus for each song on the Songwriting Worksheet and give it a
name. Those are your functions!
Revision 140610.1a
252
U
Group Name: Date:
Songwriting Worksheet
Unplugged Using Lyrics to Explain Functions - Assessment
Song 1 Name:
Chorus:
Song 2 Name:
Chorus:
Revision 140610.1a
253
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14
A
Lesson 2: Stevie and the Big Project
Fail | Frustrated | Persistence | Unplugged
Overview Objectives
When students run into a barrier while answering a question or working on a Students will be able to:
project, it’s so easy for them to get frustrated and give up. This lesson will Identify and point out symptoms of frustration.
introduce students to the idea that frustration can be an important part of Illustrate at least one reason why they will choose to
learning. Here, frustration is presented as a step in the creative process, rather be persistent in the face of frustration, rather than
than a sign of failure. giving up.
This lession can be done over one or two class sessions. If you have more
time, feel free to draw out the building and revising phase of the Marble Run
Preparation
activity. Watch the Stevie and the Big Project - Teacher
Video.
Purpose Pre-read "Stevie and the Big Project" to identify
appropriate questions for your class.
The goal of this lesson is to help students realize that failure and frustration are
Follow instructions in the Marble Run - Teacher
common when working on projects, but that doesn't mean that they should give
Prep Guide to make a Marble Run.
up.
Print copies of the Marble Run Ruler (page 2 of
In this lesson, students will develop an understanding of what it means to be teacher guide) for each student or pair of students.
frustrated while working on a large project. It's possible that not every student Prepare a resource station with cardstock, safety
will experience frustration with this activity, but there are many opportunities to scissors, tape, and anything else you think might be
open a discussion about moments in the past where students have felt fun for students to build with. Include a stack of the
frustrated but nevertheless persisted. “Marble Run Hints” pages from the Teacher Prep
Guide, but do not advertise their existence.
Agenda (Optional) Allow students to bring cardboard,
Warm Up (15 min) popsicle sticks, string, or other tidbits from home to
Stevie and the Big Project add to the resource station.
Vocabulary Make sure each student has a Think Spot
Marble Run (20 - 45 min) Journal - Reflection Journal.
Before the Project
Building the Marble Run
Links
After the Marble Run
Heads Up! Please make a copy of any
Wrap Up (5 min)
documents you plan to share with
Journaling
students.
Extended Learning
For the Teacher
Stevie and the Big Project - Teacher Video
Marble Run - Teacher Prep Guide
Vocabulary Stevie and the Big Project - Storybook (PDF)
(download)
F.A.I.L. - First Attempt In Learning
Frustrated - Feeling annoyed or angry because For the Students
something is not the way you want it. Feeling Faces - Emotion Images
Persistence - Trying again and again, even when Stevie and the Big Project - Online Story
something is very hard. Think Spot Journal - Reflection Journal
254
Teaching Guide
Warm Up (15 min)
Stevie and the Big Project Lesson Tip
This lesson is meant to introduce students to the idea that they
should not give up just because they are frustrated. Sample Questions:
Read: Begin by reading Stevie and the Big Project - How would you feel if you were given a project that feels much
Storybook (PDF). Students will be introduced to the ideas of harder than what you are used to?
persistence and frustration through the relatable challenges of Do you think it’s okay to try something new, even if it doesn’t
Stevie the Squirrel and her crew. Chief among these are the work out the first time?
concept that struggle leads to learning and that persistence can Why do you think Stevie smashed her project?
lead to success. Do you think that helped her or hurt her when it comes to
This book should be read as a classroom story, any other format reaching her goal?
exists only for students without access to a teacher. What do you think Stevie should have done instead of
breaking her project?
Discuss: When sharing this story with your class, feel free to use
the reading techniques that work in your classroom. If your Can somebody explain what frustration is?
students like to discuss things that happen as they appear in the How do you think you can know when you are frustrated?
book, be sure to stop your class after large plot areas like when What face do you make when you are frustrated?
Stevie breaks her structure, or when Laurel explains frustration. How can you make yourself feel better when you start to get
If your students like to sit through a whole story and discuss at the frustrated?
end, read through the book, then prompt their memory with some We all get frustrated sometimes. Does that mean that we
“Remember when…” type questions. should give up?
Persistence - Say it with me: Purr-siss-tense. Not giving up. Persistence works best when you try things many different ways, many
different times.
Frustrated - Say it with me: Frus - straight - ted. Feeling annoyed or angry because something is not the way you want it.
F.A.I.L. - First Attempt in learning. When you try to do something, but you don't do it quite right.
Set-Up: How you conduct this lesson depends heavily on your confidence in your own classroom. If you don't feel that your students are
ready to be taping rolled paper into tubes, then you might want to modify the lesson and its materials to be something that students can be
more successful with. Some alternatives are:
The options are really endless. Just make sure that the point of the activity remains the same. Students need to struggle with a hard task
long enough to be able to identify the feeling of frustration in themselves, then they must be intentionally persistent.
255
Building the Marble Run
Remarks
Now, we’re going to do something very fun, and very challenging! I am going to let you all try to make a Marble Run of your own!
This is supposed to be challenging. That’s part of the fun! Your Marble Run probably won’t work right the first time, and that’s
alright. The goal for this game is to practice being persistent.
Remember, Stevie showed us that this might be difficult, and
sometimes difficult things are frustrating. It is okay if you get Teaching Tip
frustrated during this activity. Most of us probably will at some
point. How should we handle those feelings?
Before the Project
Count to 10
Take deep breaths It is vitally important that students understand that this activity is
meant to help them learn about frustration and persistence. This is
Journal about them
not one of those times when we allow students to experience
Talk to a partner about them something, then give it a name afterward. Students need to know
Ask for help that they will be feeling some emotions, and that those emotions
are okay.
Time to be an engineer!
Take a moment to relate the next activity back to the book that you
Group: Break students up into pairs and have them quickly come just read. The class might be excited that they get to try the same
up with a team name. This should help to unify them in their work. project that Stevie did, but they might also be apprehensive at the
thought of tackling something difficult.
Next, point out the resource station that you have set up with all
of the supplies and goodies that students will have access to. Encourage your students to have their Think Spot Journals around
during the activity so they can use them to plan, solve, and voice
Make sure you are very clear about whether they are limited only
concerns.
to the items in the resource station or whether they are allowed to
ask for other items for their creation.
Remind students that this activity was planned to teach students Can you put into words what you are feeling right now?
how to identify feelings of frustration and work past them to be Stevie would be so proud of you. What do you think Laurel and
persistent. Jorge would say if you told them how you feel?
What would it be called if you said out loud that you are
Discuss the difference between being successful at building their
frustrated, but decided to keep working anyway?
contraption and being successful for the purpose of this activity.
Do you feel like you can be persistent with me today?
Allow students the opportunity to celebrate their hard work and
persevering through frustration.
Wrap Up (5 min)
Journaling
Goal: Allow students to reflect on the emotions and processes experienced during the lesson.
Journal Prompts:
Finish out this lesson by asking students to spend some time in their Think Spot Journal.
Draw one of the Feeling Faces - Emotion Images that shows how you felt about today's lesson in the corner of your journal page.
Draw a picture of what you look like when you’re frustrated.
Draw a picture that shows things you can do to feel better when you’re frustrated.
What does persistence look like?
256
Extended Learning
Add a third piece to the beginning of the Marble Run. Can students start a marble up even higher and get it to flow through the rest of
their contraption?
Talking through frustration. Can students think of things that they can say to classmates to help them be persistent when they are
frustrated?
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
RL - Reading Literature
SL - Speaking & Listening
Common Core Math Standards
G - Geometry
MD - Measurement And Data
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
257
T
U Marble Run
Teacher Prep Teacher Prep Guide
This guide will provide assistance through a set of two lessons using a Marble Run contraption.
The first portion of this kindergarten series is the debugging lesson, where students will help
you debug your Marble Run. In order to do this, you need to have a broken prototype that can
be fixed in a predictable way. This guide will suggest an easy step-by-step solution, and give
you tips for making a creation using your own design.
For the second half, we are going to ask students to do something incredibly challenging in
order to stretch their understanding and aptitude for persistence. This guide will provide
additional suggestions and resources to keep the project grade appropriate.
Stage 1: Debugging
The Rules:
The rules of the student version of the Marble Run activity are pretty simple:
1) Build two Marble Runs.
2) Each Marble Run should have at least 3 pieces.
3) Marble Run 1 should take a marble at Start height and finish at Middle height.
4) Marble Run 2 should take a marble at Middle height and finish at End height.
5) Put the two Marble Runs together and watch the marble go from Start to End .
There are a couple of additional rules to adapt this to be effective for the lesson on debugging:
1) The teacher’s contraption must not work to begin with.
2) The fix for the issue should be detectable by following the marble’s path and determining
where the change from “expected” to “unexpected” occurs.
The Set-Up:
Use the Marble Run Ruler (provided on page 2) to determine the starting and ending height
for each of the two components, we will call those Component A and Component B.
Component A needs to take in a marble (Input A) at a height that falls somewhere within the
highlighted “Start” region. It should then return the marble (Output A) at a height somewhere
within the highlighted “Middle” region.
Component B should take a marble (input B) at a height that falls somewhere within the high-
lighted “Middle” region. It should then return the marble (Output B) at a height somewhere
within the highlighted “End” region.
Two simple ways for a teacher to initiate an easy-to-fix failure would be:
A) Have two working components, but connect them in an incorrect way
B) Have Component A release the marble lower than Component B can receive it
Proceed to the teacher guide for Stage 2 for more information on building a Marble Run that
falls into either of those categories.
Revision 160921.1a
258
Start Start
Middle Middle
End 259
End
T
U Marble Run
Teacher Prep Teacher Prep Guide
The Set-Up:
Set-up of the student resource area is crucial. Supplies should be plentiful and easy to locate.
In addition to the classroom norms (cardstock, tape, safety scissors) volunteers can also
donate extra items if given enough notice (paper cups, cereal boxes, and the like).
For further support, place a stack of copies of “Marble Run Hints” (pages 7 & 8) for students to
find. You do not need to let the class know that those are available. Students will feel more
like they have “discovered” something if the teacher is not involved in the process.
The Build:
We have provided tutorials on four relatively simple pieces that are quite helpful for this
project. These pieces are:
• Tube (fig. 1) - A piece of paper that has been rolled into a cylinder
• Ramp (fig. 2) - Paper folded in a zig-zag fashion to provide a ramp with attaching flaps
• Bridge (fig. 3) - Paper where two sides have been folded into the center to create a bridge
• Cone (fig. 4) - Paper rolled first into a cylinder, then tightened at the bottom and
loosened at the top. Once the basic cone has been created, secure with tape, then
cut the top and bottom to customize.
A low-frills example contraption can be created using the steps that follow.
Component A:
1) Cut an 8.5”x11” sheet of cardstock in half lengthwise, then cut one of those
halves lengthwise again. Fold both of the quarter strips bridge style.
2) Lay the bridges on their sides and tape free edges together to form a square or
rectangle.
3) Cut an 8.5”x11” sheet of cardstock in quarters (length, then width). Roll two of
the pieces along the long edge and two along the short edge, then secure with
tape, to make a total of 4 tubes.
4) Tape the long tubes to the back of the square case from step 2, and the short
tubes should be taped in front.
260
T
U Marble Run
Teacher Prep Teacher Prep Guide
Component A (continued):
5) Cut an 8.5”x11” sheet of cardstock in half widthwise. Fold one piece in half
lengthwise, then fold the long edges back out toward the crease to make a
ramp.
6) Tape the edges of the ramp to the tops of the posts. This gives your main
marble path, but it’s not quite tall enough.
7) Add a cone at the intake point, and you’ll be set!
Component B:
8) Cut an 8.5”x11” sheet of cardstock in half widthwise and roll one of the pieces
along the short side, to make an 8.5” tube. Secure with tape.
9) Cut the tube at a point anywhere from 2” - 4” at about a 45 degree angle.
10) Rotate one of the pieces to form an elbow, and tape back together.
11) Cut a 1“ strip from the remaining 8.5” x 5.5” cardstock half (lengthwise) and
make a bridge to use as a triangular base for the tube to sit in.
12) Use the remaining cardstock to make an input cone for the top of Component B.
Trim tube and cone to get appropriate height.
Note: It is highly unlikely that your students will come up with anything this clean and
stable. That is OKAY! The version here is meant to be messed with and reused.
261
T
U Marble Run
Teacher Prep Teacher Prep Guide
Step 1: Fold strips “bridge style” Step 2: Tape ends of folded strips
together to make a base.
Step 3: Roll quartered paper into Step 4: Tape tubes inside case.
tubes and secure with tape. Make sure to tape them near the
top for height.
Step 5: Make a ramp from a half Step 6: Tape ramp to base and
sheet of cardstock. check height.
262
T
U Marble Run
Teacher Prep Teacher Prep Guide
Step 7: Add cone to finish Step 8: Roll 1/2 sheet into tube to
Component A. start on Component B.
Step 9: Cut tube at an angle. Step 10: Tape tubes back together
to make an elbow.
Step 11: Make a base from a thin Step 12: Add a cone to the top and
strip of cardstock. trim pieces to size.
263
H
U Marble Run Hints
Handout Student Handout
Tube
Ramp
Bridge
Cone
264
H
U Marble Run Hints
Handout (Continued)
Tube Ramp
or
Ramp Bridge
or
Bridge Tube
or
Cone Tube
or
265
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13 14
A
Lesson 1: Unspotted Bugs
Bug | Debugging | Persistence | Unplugged
Overview Objectives
This lesson will guide students through the steps of debugging. Students will Students will be able to:
learn the mantra: "What happened? What was supposed to happen? What Express that they have noticed when something
does that tell you?" goes differently than what is expected.
Identify what the expected result was before an error
Purpose occurs.
Determine and describe the difference between what
Research shows that some students have less trouble debugging a program
was expected and what actually happened in the
than writing one when they first learn to code. In this lesson, we introduce the
event of an error.
idea of debugging in a real world sense.
The goal in this lesson is to teach students steps to spot a bug and to increase Preparation
persistence by showing them that it's normal to find mistakes. In later lessons,
Watch the Unspotted Bugs - Teacher Video.
students will debug actual programs on Code.org.
Review the Unspotted Bugs Story (Unspotted
Agenda Bugs - Online Story)
Pre-read Unspotted Bugs to identify appropriate
Warm Up (12 min) questions for your classroom
Unspotted Bugs Follow instructions in the Marble Run - Teacher
Vocabulary Prep Guide to make a Marble Run (which will be
Marble Run Breakdown (10 - 20 min) arranged incorrectly at the start)
Debug the Run Give a Think Spot Journal - Reflection Journal
Wrap Up (10 - 20 min) to each student
Journaling
Extended Learning
Links
Real Life Bug Hunting
Heads Up! Please make a copy of any
documents you plan to share with
students.
For the Teacher
Unspotted Bugs - Teacher Video
Marble Run - Teacher Prep Guide
Unspotted Bugs - Storybook (PDF)
For the Students
Feeling Faces - Emotion Images
Unspotted Bugs - Online Story
Think Spot Journal - Reflection Journal
Vocabulary
Bug - Part of a program that does not work correctly.
Debugging - Finding and fixing problems in an
algorithm or program.
Persistence - Trying again and again, even when
something is very hard.
266
Teaching Guide
Warm Up (12 min)
Goal: Help students understand the steps involved in debugging.
Unspotted Bugs
This story can be presented in several ways, including:
Vocabulary
This lesson has three new and important vocabulary words:
Bug - Say it with me: Buhh-g. Something that is going wrong. An error.
Persistence - Say it with me: Purr-siss-tense. Not giving up. Persistence works best when you try things many different ways, many
different times.
Debug the Run
Now that students have been introduced to the idea of looking for problems, they can try to apply it to more places in the real world. This
next activity gives them practice looking for bugs in Marble Runs (a project that they will be working with next week.)
Grab your sample marble run (built from our plans, or something similar.) Show the students how each piece works, then demonstrate
putting them together (but put them together incorrectly, to prevent the ball from flowing properly from A to B.
The goal of this exercise is to help the students identify when something goes wrong, so if they don’t catch it the first time, run it again, and
again. It can help to make exaggerated frustration faces when the ball doesn’t do what you would like it to do.
Let the students share hypotheses about what is going wrong, and how to fix it. Students should feel free to try things that you know will be
incorrect. If students misidentify solutions, use the bug finding formula on their configurations. Repeat until you get a working run.
Encouragement is key here. If things don’t work right away, praise the class for being so persistent and choosing not to give up. If they start
to get frustrated, encourage them to persist a bit longer, promising them that they will get it soon if they just hang in there.
267
Wrap Up (10 - 20 min) Lesson Tip
Say:
Journaling
Great! You all are so good at this, maybe you can help me with my
Goal: Students will start to understand the importance of the own problem!
activity they just completed by reflecting on it verbally, then
See, I have this marble run that I made. It comes in two pieces.
through drawing in their journals. When I put the ball in here (input A) it’s supposed to come out
Clear your mind: here (output A). When I put the ball in here (input B) it’s supposed
to come out here (output B). Now, when I slide them together, I
It can be distracting to a learner when they have unanswered should be able to put the ball in here (input A) and have it come
questions or doubts. To end this lesson, we’ll give everyone the out here (output B). But it doesn’t work, watch.
chance to get those out so that they can reflect on what they’ve [Slide the pieces together with output B facing output A.]
been taught.
Watch what happens. [Drop ball at input A and notice that it does
Encourage students to share their thoughts and questions either not come out output B.]
with the whole class or with an elbow partner. BUG!
Reflect:
What happened?
Once they’ve had time to ponder their own thoughts, get the
The ball fell on the table.
students thinking about the purpose of the lesson that they just
learned. Why did you do this activity? How will it help them later? What was supposed to happen?
Can they think of buggy things that they’ve seen in the real world? The ball was supposed to drop from A into B.
Students should finish by drawing or writing in their journal. What does that tell you?
Possible topics include:
You should turn B around so that the ball goes into the right
Draw one of the Feeling Faces - Emotion Images that place!
shows how you felt about today's lesson in the corner of your
journal page.
How do you feel when something that you are working on acts Lesson Tip
buggy?
How many times do you think you should try to fix a bug before Say:
you give up? What do you think we learned in this lesson?
What would you do if you notice that something is buggy, but
Debugging
you don't know how to fix it?
How to solve a problem
How to make a marble go
Extended Learning How do you think that can help us in other places?
Real Life Bug Hunting
Lesson Tip:
Take your students outside. Do you see any signs of bugs? What
The signs of real-live bugs won’t be as dramatic as upside down
are they? Now look closer... can you find the actual bug?
trees, but it might be dead leaves, spots on flowers, or slime on
the
Standards Alignment sidewalk. Have the students brainstorm these before going outside
to look for them.
View full course alignment
Common Core English Language Arts Standards
RL - Reading Literature
SL - Speaking & Listening
Common Core Math Standards
G - Geometry
MD - Measurement And Data
MP - Math Practices
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
268
T
U Marble Run
Teacher Prep Teacher Prep Guide
This guide will provide assistance through a set of two lessons using a Marble Run contraption.
The first portion of this kindergarten series is the debugging lesson, where students will help
you debug your Marble Run. In order to do this, you need to have a broken prototype that can
be fixed in a predictable way. This guide will suggest an easy step-by-step solution, and give
you tips for making a creation using your own design.
For the second half, we are going to ask students to do something incredibly challenging in
order to stretch their understanding and aptitude for persistence. This guide will provide
additional suggestions and resources to keep the project grade appropriate.
Stage 1: Debugging
The Rules:
The rules of the student version of the Marble Run activity are pretty simple:
1) Build two Marble Runs.
2) Each Marble Run should have at least 3 pieces.
3) Marble Run 1 should take a marble at Start height and finish at Middle height.
4) Marble Run 2 should take a marble at Middle height and finish at End height.
5) Put the two Marble Runs together and watch the marble go from Start to End .
There are a couple of additional rules to adapt this to be effective for the lesson on debugging:
1) The teacher’s contraption must not work to begin with.
2) The fix for the issue should be detectable by following the marble’s path and determining
where the change from “expected” to “unexpected” occurs.
The Set-Up:
Use the Marble Run Ruler (provided on page 2) to determine the starting and ending height
for each of the two components, we will call those Component A and Component B.
Component A needs to take in a marble (Input A) at a height that falls somewhere within the
highlighted “Start” region. It should then return the marble (Output A) at a height somewhere
within the highlighted “Middle” region.
Component B should take a marble (input B) at a height that falls somewhere within the high-
lighted “Middle” region. It should then return the marble (Output B) at a height somewhere
within the highlighted “End” region.
Two simple ways for a teacher to initiate an easy-to-fix failure would be:
A) Have two working components, but connect them in an incorrect way
B) Have Component A release the marble lower than Component B can receive it
Proceed to the teacher guide for Stage 2 for more information on building a Marble Run that
falls into either of those categories.
Revision 160921.1a
269
Start Start
Middle Middle
End 270
End
T
U Marble Run
Teacher Prep Teacher Prep Guide
The Set-Up:
Set-up of the student resource area is crucial. Supplies should be plentiful and easy to locate.
In addition to the classroom norms (cardstock, tape, safety scissors) volunteers can also
donate extra items if given enough notice (paper cups, cereal boxes, and the like).
For further support, place a stack of copies of “Marble Run Hints” (pages 7 & 8) for students to
find. You do not need to let the class know that those are available. Students will feel more
like they have “discovered” something if the teacher is not involved in the process.
The Build:
We have provided tutorials on four relatively simple pieces that are quite helpful for this
project. These pieces are:
• Tube (fig. 1) - A piece of paper that has been rolled into a cylinder
• Ramp (fig. 2) - Paper folded in a zig-zag fashion to provide a ramp with attaching flaps
• Bridge (fig. 3) - Paper where two sides have been folded into the center to create a bridge
• Cone (fig. 4) - Paper rolled first into a cylinder, then tightened at the bottom and
loosened at the top. Once the basic cone has been created, secure with tape, then
cut the top and bottom to customize.
A low-frills example contraption can be created using the steps that follow.
Component A:
1) Cut an 8.5”x11” sheet of cardstock in half lengthwise, then cut one of those
halves lengthwise again. Fold both of the quarter strips bridge style.
2) Lay the bridges on their sides and tape free edges together to form a square or
rectangle.
3) Cut an 8.5”x11” sheet of cardstock in quarters (length, then width). Roll two of
the pieces along the long edge and two along the short edge, then secure with
tape, to make a total of 4 tubes.
4) Tape the long tubes to the back of the square case from step 2, and the short
tubes should be taped in front.
271
T
U Marble Run
Teacher Prep Teacher Prep Guide
Component A (continued):
5) Cut an 8.5”x11” sheet of cardstock in half widthwise. Fold one piece in half
lengthwise, then fold the long edges back out toward the crease to make a
ramp.
6) Tape the edges of the ramp to the tops of the posts. This gives your main
marble path, but it’s not quite tall enough.
7) Add a cone at the intake point, and you’ll be set!
Component B:
8) Cut an 8.5”x11” sheet of cardstock in half widthwise and roll one of the pieces
along the short side, to make an 8.5” tube. Secure with tape.
9) Cut the tube at a point anywhere from 2” - 4” at about a 45 degree angle.
10) Rotate one of the pieces to form an elbow, and tape back together.
11) Cut a 1“ strip from the remaining 8.5” x 5.5” cardstock half (lengthwise) and
make a bridge to use as a triangular base for the tube to sit in.
12) Use the remaining cardstock to make an input cone for the top of Component B.
Trim tube and cone to get appropriate height.
Note: It is highly unlikely that your students will come up with anything this clean and
stable. That is OKAY! The version here is meant to be messed with and reused.
272
T
U Marble Run
Teacher Prep Teacher Prep Guide
Step 1: Fold strips “bridge style” Step 2: Tape ends of folded strips
together to make a base.
Step 3: Roll quartered paper into Step 4: Tape tubes inside case.
tubes and secure with tape. Make sure to tape them near the
top for height.
Step 5: Make a ramp from a half Step 6: Tape ramp to base and
sheet of cardstock. check height.
273
T
U Marble Run
Teacher Prep Teacher Prep Guide
Step 7: Add cone to finish Step 8: Roll 1/2 sheet into tube to
Component A. start on Component B.
Step 9: Cut tube at an angle. Step 10: Tape tubes back together
to make an elbow.
Step 11: Make a base from a thin Step 12: Add a cone to the top and
strip of cardstock. trim pieces to size.
274
H
U Marble Run Hints
Handout Student Handout
Tube
Ramp
Bridge
Cone
275
H
U Marble Run Hints
Handout (Continued)
Tube Ramp
or
Ramp Bridge
or
Bridge Tube
or
Cone Tube
or
276
COURSE 1 2 3 4 5 6 7 8 9 10 11 12 13
B
Lesson 3: Your Digital Footprint
Common Sense Education | Unplugged
Overview Objectives
In collaboration with Common Sense Education - Website, this lesson Students will be able to:
helps students learn about the similarities of staying safe in the real world and Understand that being safe when they visit websites
when visiting websites. Students will also learn that the information they put is similar to staying safe in real life.
online leaves a digital footprint or “trail.” This trail can be big or small, helpful or Learn to recognize websites that are safe for them to
hurtful, depending on how they manage it. visit.
Recognize if they should ask an adult they trust
Purpose before they visit a particular website.
Explore what information is appropriate to be put
Common Sense Education has created this lesson to teach kids the importance
online.
of understanding the permanence of something posted on the internet. By
relating footprints on a map to what a student might post online, students will
make important connections between being tracked by a physical footprint on a
Preparation
path and being tracked based on information posted online. Watch this Your Digital Footprint - Teacher
Video.
Agenda Prepare to show Your Digital Footprint - Lesson
Warm Up (20 min) Video.
(Optional) Prepare to show Pause and Think
Vocabulary
Pause and Think Online - Video.
Common Sense Education's Follow the Digital
Main Activity (20 min)
Trail - Worksheet game.
Follow the Digital Trail - Worksheet
Print one Animal Tracks chart (page 7) for each
Wrap Up (15 min)
student.
Flash Chat: What did we learn? Print one Digital Footprint - Assessment for
Journaling
each student.
Assessment (5 min) Review CSF Digital Citizenship - Resource List
Digital Footprint - Assessment for more online safety content.
Extended Learning
Links
For the Teacher
Your Digital Footprint - Teacher Video
Your Digital Footprint - Lesson Video
Follow the Digital Trail - Worksheet
Digital Footprint - Assessment
Digital Footprint - Assessment Answer Key
Common Sense Education - Website
CSF Digital Citizenship - Resource List
For the Students
Feeling Faces - Emotion Images
Think Spot Journal - Reflection Journal
Vocabulary
Digital Footprint - The collected information about
an individual across multiple websites on the
Internet.
277
Teaching Guide
Warm Up (20 min)
Vocabulary
This lesson has one new and important phrase:
Pause and Think
Ask What does it mean to be safe?
When you walk down the street or play in your neighborhood without a trusted adult there, how do you stay safe?
Tell students that just as they should stay safe in the real world, they should stay safe when they go into the online world (visiting
websites). Make parallels between the answers students gave you about their neighborhood and the online world.
Mizzle Electra
the Mouse the Elephant
Which animal can you describe better from his or her photo?
278
Lesson Tip
Directions:
If your students have trouble writing, feel free to do this activity as
Place the Digital Trail Squares on the ground, face down, in
a group and have students raise their hand when they find clues.
two different trails, keeping Mizzle the Mouse and Electra the This will allow you (or a teacher aide) to help communicate and
Elephant’s trails separate from one another. record the information being shared.
Share the stories of Mizzle and Electra. These animals
For more in-depth modules, you can find additions to this
decided it would be fun to put some information about curriculum at the Common Sense Education - Website page
themselves online. They went onto www.wildkingdom.com on Scope and Sequence.
and posted information. The only problem is that they forgot to
ask their parents if it was okay first.
Explain to students that they are from the “Things Big and Small” Detective Agency. A hunter has hired them to find out as much as
possible about Mizzle the Mouse and Electra the Elephant. The more the detectives learn, the better for their plan to take over the animal
kingdom.
Divide students into groups of four. Tell them that each group should have a detective that will keep detailed notes.
Invite students to go on a hunt for information. Let them know that the information that Mizzle and Electra post can be seen by anyone,
including the detectives. Each group should follow the digital trail of both animals, starting with the mouse and then the elephant. Stagger
the groups so they are on the trail at slightly different times. Students should fill out their handout as they go.
Wrap Up (15 min)
Flash Chat: What did we learn?
Who can the detectives find out more about, and why?
Lesson Tip
Which animal has a bigger digital footprint?
Mizzle says some interesting things about himself on the Flash Chat questions are intended to spark big-picture thinking
Internet. What are they? about how the lesson relates to the greater world and the students'
Is there anything that Electra posted on the Internet that could greater future. Use your knowledge of your classroom to decide if
you want to discuss these as a class, in groups, or with an elbow-
become a problem for her? If so, what and why?
partner.
Take the time to discuss what is appropriate information to share
on the Internet, and what is not:
Interests Address
Journaling
Having students write about what they learned, why it’s useful, and how they feel about it can help solidify any knowledge they obtained
today and build a review sheet for them to look to in the future.
Journal Prompts:
Assessment (5 min)
279
Extended Learning
Use these activities to enhance student learning. They can be used as outside of class activities or other enrichment.
Common Sense Education
Visit Common Sense Education - Website to learn more about how you can keep your students safe in this digital age.
Standards Alignment
View full course alignment
Common Core English Language Arts Standards
L - Language
SL - Speaking & Listening
Common Core Math Standards
IC - Impacts of Computing
Next Generation Science Standards
If you are interested in licensing Code.org materials for commercial purposes, contact us.
280
LESSON PLAN
GRADES K-2
Follow the Digital Trail UNIT 2
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2015
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
281
1
introduction
Warm-up (5 minutes)
SHARE with students that you can place information online much like you pin something to a bulletin board.
ASK:
INVITE students to imagine that all of the information on the walls of their classroom was pinned up on a
bulletin board at a local grocery store.
ASK:
Would you be comfortable with this Guide students to think about how some information is better
information being up for everyone to see? kept for only their eyes or the eyes of people close to them.
EXPLAIN that there is certain information that might be fine to show anyone. But there is also personal and
private information – such as their addresses, birth dates, and photos of their family vacations – which is not
meant for most people’s eyes.
teach 1
Follow the Digital Trail (15 minutes)
DEFINE the Key Vocabulary term trail.
PLACE the Digital Trail Squares on the ground, face down, in two different trails,
keeping Mizzle the Mouse’s and Electra the Elephant’s trails separate from each another.
SHARE the stories of Mizzle and Electra. These animals decided it would be fun to put some information
about themselves online. They went onto www.wildkingdom.com and posted information. The only problem is
that they forgot to ask their mamas if it was okay first.
EXPLAIN to students that they are from the Things Big and Small Detective Agency. An evil human has hired
them to find out as much as possible about Mizzle the Mouse and Electra the Elephant. The more the detectives
learn, the better for their plan to take over the animal kingdom.
DIVIDE students into groups of four. Tell them that each group should have a detective that will keep
detailed notes.
DISTRIBUTE the Animal Tracks Student Handout to each group.
INVITE students to go on a hunt for information. Let them know that the information that Mizzle and Electra
post can be seen by anyone, including the detectives. Each group should follow the digital trail of both animals,
starting with the mouse and then the elephant. Stagger the groups so they follow the trails at slightly different
times. Students should fill out their handout as they go.
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2015
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
282
2
teach 2
Digital Footprints (20 minutes)
INVITE each group to report to the rest of the class what they learned about each of
the animals, using the Animal Tracks Student Handout.
6. Which animal can you describe better from his or her photo? x
Who can the detectives find out more about, Electra, because we now know where Electra lives, what she
and why? looks like, and private and personal information about her
life. Point out to students that having a bigger digital footprint
means the detectives can learn more about them too.
Which animal has a bigger digital footprint? Electra, because she put more private and personal
information online than Mizzle.
Mizzle says some funny things about He says he likes Swiss cheese, his photo is of cheese, and
himself on the Internet. What are they? he has a pet flea.
Is there anything that Electra posted on the Private and personal information (e.g., address, full name)
Internet that could become a problem for allows others to learn more about her. This could be
her? If so, what and why? unsafe. Saying that she fights with her brother could hurt
her brother’s feelings because it is public.)
CREATE a chart with students that summarizes which information is okay to share online and what is not okay.
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2015
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
283
3
DISCUSS how Mizzle and Electra both had very interesting information online, but Mizzle used better
judgment about what was most appropriate to post. Mizzle had a smaller digital footprint. Electra put some
information online that might make her unsafe or might upset her brother.
REMIND students that the Internet is a public space where people they do not know will likely see their
information. And this information is very hard to remove. It is basically permanent.
EMPHASIZE that it’s important for students to ask their parents or caregives for permission before sharing
information about themselves online.
closing
Wrap-up (5 minutes)
You can use these questions to assess your students’ understanding of the lesson objectives.
ASK:
What is a digital footprint, and what did A digital footprint is the information about you on the
Mizzle’s and Electra’s footprints look like? Internet. Mizzle’s footprint is pretty small and does not
reveal private or personal information. Electra’s is large
and contains information that could make her unsafe or
upset others.
What kind of information is okay to share Appropriate: interests, hobbies, first name.
on the Internet? What kind of information Inappropriate: full name, address, hurtful information about
is NOT okay to share on the Internet? others.
Can you put interesting and Absolutely. Just look at the information that Mizzle posted.
funny information online and still
be appropriate?
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2015
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
284
4
Digital Trail Squares
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2015
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
285
5
Electra the Elephant
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2015
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
286
6
ANIMAL TRACKS
Directions
Follow the trails of Mizzle the Mouse and Electra the Elephant. Fill in the
chart below. Then answer the questions.
Mizzle Electra
the Mouse the Elephant
1. Whose full name do you know?
2. Whose house could you find?
3. Whose birth date do you know?
4. Whose username and password do
you know?
5. Who let out a secret on
the Internet?
6. Which animal can you describe
better from his or her photo?
Question
1. Who can the detectives find out more about, and why?
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2015
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
287 1
3. Mizzle says some funny things about himself on the
Internet. What are they?
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2015
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
288 2
ASSESSMENT
3. Which animal below has the digital footprint that leaves him or her
most unsafe?
HINT: Think about which animal shares the most private information online.
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2015
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
289 1
ASSESSMENT
Follow the Digital Trail TEACHER VERSION
Answer feedback
The correct answer is c. Your digital footprint is the information
about you online, such as a news story with your name in it or something that you write online.
Answer feedback
The correct answer is b. It is okay to share your first name or your
username online. But sharing your address or birth date could make your information unsafe
because other people might use your information to pretend to be you!
3. Which animal below has the digital footprint that leaves him or her most unsafe?
HINT: Think about which animal shares the most private information online.
Answer feedback
The correct answer is c.
Tony the Tiger put private
information online, like his
address, which is not safe.
Fran and Betty shared
information, but they did
not share anything private
about themselves.
DIGITAL LIFE 101 / ASSESSMENT / DIGITAL LITERACY AND CITIZENSHIP IN A CONNECTED CULTURE / REV DATE 2015
www.commonsense.org | CREATIVE COMMONS: ATTRIBUTION-NONCOMMERCIAL-SHAREALIKE
290 1
U
Name: Date:
Just because you can share something online doesn’t mean that you should!
Cross out the information that you should not share online. Use the words that are leftover
as the key to what you should find in the word search.
WORDS
Which animal below has the digital footprint that leaves him or her most unsafe?
HINT: Think about which animal shares the most private information online.
Circle One:
A) Fran the Fish
B) Betty the Bird
C) Tony the Tiger
Revision 140625.1a
291
CS Fundamentals Curriculum Guide
Appendix B:
Glossary of Vocabulary
292
CS Fundamentals Curriculum Guide
Vocabulary
Encouraging students to learn and use official computer science terms will enable them to
communicate correctly and efficiently with others and builds their knowledge such that it can be
further developed without having to relearn terms and concepts at a later time. The terms and
concepts used in the unplugged lessons are defined using words that young students can
understand.
abstraction
Pulling out specific differences to make one solution work for multiple problems.
accessibility
The design of products, devices, services, or environments taking into consideration the ability for all
users to access, including people who experience disabilities or those who are limited by older or
slower technology.
algorithm
A list of steps to finish a task. A set of instructions that can be performed with or without a computer.
For example, the collection of steps to make a peanut butter and jelly sandwich is an algorithm.
binary
A way of representing information using only two options.
binary alphabet
The two options used in your binary code.
bit
A contraction of "Binary Digit". A bit is the single unit of information in a computer, typically
represented as a 0 or 1.
Blockly
The visual programming language used in Code.org's online learning system for K-5 students.
bug
An error in a program that prevents the program from running as expected.
293
CS Fundamentals Curriculum Guide
byte
the most common fundamental unit of digital data eg. Kilobyte, Megabyte, etc. A single byte is 8
bits-worth of data.
call (a variable)
Use a variable in a program.
call (a function)
This is the piece of code that you add to a program to indicate that the program should run the code
inside a function at a certain time.
click
Press the mouse button.
code
One or more commands or algorithm(s) designed to be carried out by a computer. See also: program
command
An instruction for the computer. Many commands put together make up algorithms and computer
programs.
computational thinking
Mental processes and strategies that include: decomposition, pattern matching, abstraction,
algorithms (decomposing problems into smaller, more manageable problems, finding repeating
patterns, abstracting specific differences to make one solution work for multiple problems, and
creating step-by-step algorithms).
computer science
Using the power of computers to solve problems.
conditionals
Statements that only run under certain conditions or situations.
crowdsourcing
Getting help from a large group of people to finish something faster.
cyberbullying
Doing something on the internet, usually again and again, to make another personal feel angry, sad,
or scared.
294
CS Fundamentals Curriculum Guide
data
Information. Often, quantities, characters, or symbols that are the inputs and outputs of computer
programs.
debugging
Finding and fixing errors in programs.
decompose
Break a problem down into smaller pieces.
define (a function)
To add code inside a function so that the program knows what it is supposed to do when the function
is called.
digital citizen
Someone who acts safely, responsibly, and respectfully online.
digital footprint
The information about someone on the Internet.
double-click
Press the mouse button twice very quickly
drag
Click your mouse button and hold as you move the mouse pointer to a new location
drop
Release your mouse button to "let go" of an item that you are dragging
DSL/cable
A method of sending information using telephone or television cables.
event
An action that causes something to happen.
event-handler
A monitor for a specific event or action on a computer. When you write code for an event handler, it
will be executed every time that event or action occurs. Many event-handlers respond to human
actions such as mouse clicks.
295
CS Fundamentals Curriculum Guide
F.A.I.L
First Attempt In Learning
for loop
A loop with a predetermined beginning, end, and increment (step interval).
frustrated
Feeling annoyed or angry because something is not the way you want it.
function
A piece of code that you can easily call over and over again. Functions are sometimes called
‘procedures.’ A function definition is a segment of code that includes the steps performed in the
function. A function call is the code segment, typically within the main logic of the program, which
invokes the function.
function call
The piece of code that you add to a program to indicate that the program should run the code inside a
function at a certain time.
function definition
The code inside a function that instructs the program on what to do when the function is called.
if-statement
The common programming structure that implements "conditional statements".
input
A way to give information to a computer.
Internet
A group of computers and servers that are connected to each other.
IP address
A number assigned to any item that is connected to the Internet.
iteration
A repetitive action or command typically created with programming loops.
loop
The action of doing something over and over again.
296
CS Fundamentals Curriculum Guide
online
Connected to the internet.
output
A way to get information out of a computer.
packets
Small chunks of information that have been carefully formed from larger chunks of information.
pattern matching
Finding similarities between things.
parameter
An extra piece of information that you pass to the function to customize it for a specific need.
persistence
Trying again and again, even when something is very hard.
pixel
Short for "picture element" it is the fundamental unit of a digital image, typically a tiny square or dot
which contains a single point of color of a larger image.
program
An algorithm that has been coded into something that can be run by a machine.
programming
The art of creating a program.
repeat
To do something again.
run program
Cause the computer to execute the commands you've written in your program.
search engine
A program that searches for and identifies items in a database that correspond to keywords or
characters specified by the user, used especially for finding particular sites on the World Wide Web.
servers
Computers that exist only to provide things to others.
297
CS Fundamentals Curriculum Guide
toolbox
The tall grey bar in the middle section of Code.org's online learning system that contains all of the
commands you can use to write your program.
trustworthy
Able to be relied on as honest or truthful.
try
Attempt to do something
username
A name you make up so that you can see or do things on a website, sometimes called a “screen
name.”
variable
A placeholder for a piece of information that can change.
website
A location connected to the Internet that maintains one or more pages on the World Wide Web.
while loop
A loop that continues to repeat while a condition is true.
Wi-Fi
A wireless method of sending information using radio waves.
workspace
The white area on the right side of Code.org's online learning system where you drag and drop
commands to build your program.
298
CS Fundamentals Curriculum Guide
Appendix C:
Student Skills and Strategies for
Tackling Difficult Challenges
299
CS Fundamentals Curriculum Guide
This appendix outlines specific strategies that you can encourage students to take in tackling challenges in CS
Fundamentals.
Frustration
Frustration is a natural part of learning. Instead of trying to avoid frustration at Code.org, we embrace it. The
key to persistence is in learning that frustration is a positive sign, not a negative one. When a student gets
frustrated, it means that they are about to learn something new. It can be compared to the pain you feel in your
mouth before you get a new tooth, or the soreness in your muscles before you get stronger. Congratulate
students on recognizing and persevering through frustration.
Most of our online lessons contain one “challenge” puzzle near the end of the series. This puzzle was carefully
placed to inspire students to practice new concepts in a different way. It will test their persistence, highlight
misconceptions, and hopefully lead them to the “ah-ha” moment that educators love! Additionally, spending a
fair amount of time with the challenge puzzle will help the following levels feel simple in comparison, even
though the levels that follow demonstrate the exact target of understanding expected from a student by the
time they finish each lesson.
In order to provoke those strong accomplishments, challenge levels must all but guarantee that they cannot be
solved quickly. Because of this, they will be far too hard for many students, which means that the messaging of
these challenges is extremely important. Keep these things in mind, and make sure that you review them with
your students before each visit to the computer lab.
● When you get to the challenge puzzle, give it your best try!
● Keep notes as you try to solve the puzzle so that you don’t lose your place or try the same thing over
and over again.
● These puzzles are supposed to be hard. You don’t have to solve it in order to learn from it, but you do
have to try your best!
● Remember that you can come back to the challenge puzzle later. If you start to get frustrated, go ahead
and skip the challenge until you complete the rest of the lesson. You can come back to it when you’ve
finished everything else!
Lesson Extras
Many teachers like to keep their entire class on the same lesson instead of letting students skip ahead to new
concepts. For that reason, we have provided an area at the end of each lesson series where students can use
the concepts that they’ve learned in new and interesting ways. These puzzles are considered “optional.” They
are a sandbox to keep the quickest students challenged and entertained until the end of class. In addition, the
Lesson Extras can be used to add an additional day onto concept lessons, offering the opportunity for students
to come back and create personal and authentic projects with their newest concepts.
301
CS Fundamentals Curriculum Guide
Copy/Paste
Though we do not make it obvious, most individual blocks in CS Fundamentals are able to be copied/pasted
within the same level. If you feel that the ability to copy and paste blocks will enhance your student’s learning
experience, then you can share the copy/paste method with them:
1. Highlight the block that you want to copy
2. Press ctrl+c to copy
3. Press ctrl+v to paste
4. Move your pasted block to where you would like it
While this “hack” generally only allows you to copy one block at a time, there is a work around for duplicating
larger chunks of code. All you need to do is pull a statement block (like a loop, conditional, or simple function)
from the toolbox and place all of the code to be copied inside. Now, select the statement block and copy/paste.
All of the code inside will be duplicated. You can now pull the extra code out of the statement block and use it
as desired.
Debugging
Small misunderstandings can lead to big problems! Help keep students moving by showing them some basic
debugging skills.
Step Button
Most puzzles in CS Fundamentals have a “Step” button (excluding Artist, Play Lab, and BB-8 levels.) With the
“Step” button, it is possible to go through a program block by block to see what happens each step of the way.
This is a helpful tool when your code moves too quickly to understand where things get off course.
To use the “Step” button, simply click on “Step” instead of “Run”. Your code will run exactly one block before
coming to a rest again. To continue through the code, keep pressing “Step” until you have completed your
program, or found your bug!
In Artist puzzles, the “Step” button is replaced by a speed slider. For a similar effect, try moving the slider to
the far left and watching the artist go through each step very slowly.
302
CS Fundamentals Curriculum Guide
Example of level with “Step” button. Example of level with speed slider.. Example level with no “Step” button.
Finger/Paper Tracing
For puzzles that don’t have a “Step” button, students can find a great amount of help looking through their
program on their own.
The ability to predict what a program will do is an amazing skill, but it takes a lot of practice. Students can find
opportunities to grow in this area by using finger tracing and/or paper tracing as they code in CS
Fundamentals.
● Finger Tracing
○ Use your finger to point to the first block on the screen. What does everything look like? What
values do the variables hold (if there are any)? What happens to that landscape after the current
block is executed?
○ Drop your finger to the next block and ask the same questions.
○ Can you run through the whole program and predict the outcome?
● Paper Tracing
○ Draw a line down the center of your paper
○ On one side, write the code for your program
○ On the other side, write notes on the starting state of the program: Where are the characters?
What are the values of the variables? Anything else to note?
○ Now look at the first line of your program. What changes when it is executed? Write the new
details in your notes area.
○ Continue to run through the written code until you reach the end. Is everything as you
expected?
Critical Questions
If looking through your code does not provide the answers you need, you will have to dig a little more deeply.
These questions will help students to highlight the clues provided by their program when things are not
working:
● What does it do?
● What is it supposed to do?
● What does that tell me?
● Is it right at the first step?
● Is it still right at the second step?
● Where is the first place that it goes wrong?
303
CS Fundamentals Curriculum Guide
With this system (3/3/Me) students are asked to tackle a problem with three different solutions before asking
peers for help. Once their classmates get involved, they should try three more solutions together before
involving a teacher. At that point, as an educator, you should ask them to put in words what they tried and what
that told them. Also ask them if they have narrowed down any places where the problem is not. If they have
not yet solved their problem, guide them in trying a few additional options.
In all cases, make sure that you and your class are familiar with the right way to help a student:
● Don’t sit in the classmate’s chair
● Don’t use the classmate’s keyboard or tablet
● Don’t touch the classmate’s mouse
● Make sure the classmate can describe the solution to you out loud before you walk away
If, after all of this, issues still persist, you might consider filing a bug report with Code.org through the website
or by emailing support@code.org.
304