Learning Guide Sequence
Learning Guide Sequence
Vocabulary
Lessons
Preview
Lesson Plans
fuzzFamily Frenzy
fuzzFRIENDzy
14
fuzzFamily Fever
17
fuzzFamily Face-Off
20
23
Sequence
On-Screen
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
"! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
27
Sequence Overview
Sequence Overview
!
What is Sequence?
Sequence is the very first concept a student must understand when learning to code. Also known as
order of events, a computer will execute commands exactly in the order or sequence they are
written. As a programmer, it is important to make sure that the commands given to a computer are
in the right sequence, otherwise a program might not run as expected.
Sequence in Programming:
When learning sequence, it is first important to understand how a computer reads and translates
code. Remember the brilliant Choose Your Own Adventure series? Interestingly, a computer reads
code the exact same way that we would read a Choose Your Own Adventure game book.
If you elect to walk into the cave, turn to page 24.!! If you want to open the mysterious door, turn to
page 77.! If you choose to enter the forbidden wilderness, turn to page 90.
A computer program translates code just as humans read written text: line- by-line, top to bottom,
and left to right. However, when a computer interprets code, it is making a string of decisions that
influence the flow of code, or the path that a program takes.
Like a reading a Choose Your Own Adventure game book, a computer program is constantly making
decisions along its journey that send the computer backwards, forwards, and in circles. A
programmer orchestrates all of these movements and decisions, ensuring the successful execution
of the program.
What is an Algorithm?
An algorithm is a sequence of logical instructions or steps needed to finish a task. An algorithm can
be performed with or without a computer.
@! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
These instructions would be very problematic for a computer because they lack proper sequence
and detail.
A correct computer algorithm is meticulously sequenced and as detailed as possible. When writing
an advanced computer algorithm for the creation of our peanut butter and jelly sandwich, it should
be so detailed that the reader is initially unaware that a peanut butter and jelly sandwich is even
being made:
!!
!!
!!
!!
!!
C! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
D! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
Sequence Vocabulary
Terms and Definitions
1.! Sequence: Also known as the order of events, commands that are executed by a computer
exactly as they are written. The sequence must be in the correct order for the program to run
properly.
2.! Flow Control Structures: The programmers means of influencing a computer programs
decision-making process and movements. There are three flow control structures in
programming: sequence, conditions, and loops.
3.! Command: A specific instruction given to a computer in written code from a programmer.
4.! Code: The language written by humans to communicate with computers to complete a
process; programming language that gives instructions to a computer.
5.! Computer: A device for storing and processing information, responds to instructions in
programming language that is written by humans.
6.! Computer Science: The study of computers.
7.! Internet: An electronic communications network that connects computer networks around the
world.
8.! Program: A sequence of instructions written in a code that a computer can interpret and
execute.
9.! Programmer: A person who writes code and communicates instructions to a computer.
10.! Robot: A device that sometimes resembles a human and can be programmed to carry out
complex tasks.
11.! Algorithm: A sequence of logical instructions or steps needed to finish a task. Can be
performed with or without a computer.
12.! Pseudocode: An informal method of writing an algorithm for a computer program using
English and not code. Used for planning and is intended for humans to read it, not
computers.
13.! Syntax: The spelling and grammar of a programming language.
B! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
E! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
Learning Objectives
Lesson Description
On-Screen
fuzzFamily
Frenzy
1.1-1.5 in 1,2,3
Roll.
fuzzFRIENDzy
1.1-1.5 in 1,2,3
Roll.
fuzzFamily
Fever
1.6-1.10 Alien
Algorithms
fuzzFamily
Face-Off
1.11-1.15, Buggy
Basics
Fuzz Family
Maze Maker
2. SWBAT solve
programming problems. !
3. SWBAT visually
represent programming
problems. !
4. SWBAT explain
programming processes.
F! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
!
!
!
!
!
!
!
!
G! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
Introduction to Sequence:
fuzzFamily Frenzy
Programming concept covered: Sequence
Time: 45-50 minutes
Lesson Materials
Chalk board, white board,
etc.
Markers, chalk, etc.
Floor space
Kodable
Objectives
! Students will be able to explain what a programmer does.
! Students will be able to move a robot forward, spin, and jump using basic programming
language.
Vocabulary
! Programmer: A person that writes the code (language) that tells the computer what to do.
! Code: The language that programmers use and create to tell computers what to do.
! Sequence: Sequence is one of three basic flow control structures in programming, and is the
very first concept a student must understand when learning to code. Also known as order of
events, a computer will execute commands exactly in the order or sequence they are written.
As a programmer, it is important to make sure that the commands given to a computer are in
the right sequence, otherwise a program might not run as expected.
!"#$%&$'#(&)*&$'%&+),"-&,'%,-&).&$#/%0&
Right
Leg
forward
Spin
!
!
!
!
!
"A! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
Jump
!
Left
Our Code
Activity Materials
1.! White board, markers, smart board or other writing area that everyone can see.
2.! It is ideal to have another adult be the robot, but a student would be another option if you
dont have a TA, assistant or room parent.
3.! Floor space for the robot to move and for students to sit.
Important! All robots must be told when to start either with a high five or by saying start
together as a class. Also, most robots are noise sensitive and cant function if there is a lot of
noise in the room.
Activity
Have students seated on the floor or rug area. Explain that the other teacher, student, or parent is a
robot, and that they need instructions from a programmer. Review that computers arent as smart as
people.
Explain that we want to program the robot to walk forward, spin and jump. Demonstrate this for
them.
T: (Ask) How do we walk? (Acceptable response: with our feet, with our legs)
Discuss why we use our feet to walk. Ask everyone to show you their right foot
and left foot. Explain that we have to walk right, left, right, left so that we dont
end up in the splits. We need commands to tell our robot to move their right
foot and left foot, because our robot wont know what to do without instructions.
Write the commands on the board, and explain why they look that way. (circle to indicate which foot
should stay still and arrow to indicate which leg to move)
T: (Ask) What should we tell our robot to do first? (Either right foot or left foot forward) Write the
program under our code with all commands separated by commas. Ask for the second move.
T: (Ask) Did our robot take enough steps? How can we tell? (students should want to test the
code)
Chose a student to high-five the robot to activate it. The robot will take two steps forward and crash,
then you can rewind it.
T: (Ask) Oh no! Our robot crashed! Why did it crash? (Because it needs more code to complete the
program)
Based on how big the steps are, determine how many more steps need to be taken. Ask students
how many more steps are needed. If weve taken 2 steps and were half way there, how many more
do we need?
Repeat as many times as needed to complete the correct number of steps.
T: After the robot is getting to the correct spot, ask Now what do we want our robot to do? (Turn
""! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
"@! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
fuzzFamily Frenzy
You have been chosen to help the fuzzFamily explore earth. Program
your robot to complete the obstacle course using the code below.
Left
Right
Leg Forward
Leg Backward
Body Rotate
Grab
Drop
Jump
Squat
Sequence Lesson 2:
fuzzFRIENDzy
Programming concept covered: Sequence
Time: 45-50 minutes
Objective
! Students will be able to write a code using commands.
Lesson Materials
Pencil
FuzzFamily Frenzy worksheet
Space for arranging obstacles
(gym, playground, yard or
classroom)
Obstacles (desks, tables,
blankets, etc.)
!
Vocabulary
! Computer: A device for storing and processing information, responds to instructions in
programming language that is written by humans.
! Program: A sequence of instructions written in a code that a computer can interpret and
execute.
! Programmer: A person who writes code and communicates instructions to a computer.
! Sequence: Also known as the order of events, commands that are executed by a computer
exactly as they are written. The sequence must be in the correct order for the program to run
properly.
! Command: A specific instruction given to a computer in written code from a programmer.
! Code: The language written by humans to communicate with computers to complete a
process; programming language that gives instructions to a computer.
T (say): Today we are going to be programmers and use our knowledge about sequence,
commands, and code to program a partner like we did our class robot. Are you ready to become
programmers together?!
Activity Materials
!
!
!
!
Pencil
fuzzFRIENDzy worksheet
Space for arranging obstacles (gym, playground, yard or classroom)
Obstacles (These can be very ordinary items- chairs, desks, tables, blankets, etc.)
Activity
Have students seated on the floor or rug area. Explain that they are becoming programmers and
today they are going to write a code that will program a classmate through an obstacle course (you
can set the course up in advance, or have students do it as part of the activity, whichever you
prefer).
Students will complete the activity by using the code key on the fuzzFamily Frenzy worksheet. Once
they have written their code their partner must follow instructions to navigate the obstacle course.
T (Say): You have been selected by the fuzzFamily to explore Earth with a partner! We are going to
use commands to program a partner through an obstacle course. Here is the code key and the
commands we will use today. Some of these commands we already are familiar with, does anybody
remember the commands we used in our last activity?
Jump forward
T (say): We want our partner to safely get through the course without bumping into or touching
objects. Our code always keeps our partner out of danger! Be sure to review your specific
classroom norms on being safe and respectful before beginning the activity. If the obstacle course is
pre-made, show students the course.
"B! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
fuzzFamily Frenzy
You have been chosen to help the fuzzFamily explore earth. Program
your robot to complete the obstacle course using the code below.
Left
Right
Leg Forward
Leg Backward
Body Rotate
Grab
Drop
Jump
Squat
Sequence Lesson 3:
fuzzFamily Fever
Lesson Materials
1.
2.
3.
4.
Pencil
fuzzFamily Fever Handout
Kodable
SMART Board or Projector
(optional)
Objective
! Students will be able to test and debug code.
Vocabulary
! Program: A sequence of instructions written in a code that a computer can interpret and
execute.
! Sequence: Also known as the order of events, commands that are executed by a computer
exactly as they are written. The sequence must be in the correct order for the program to run
properly.
! Command: A specific instruction given to a computer in written code from a programmer.
! Code: The language written by humans to communicate with computers to complete a
process; programming language that gives instructions to a computer.
! Bug: An Error, or mistake, in the code.
! Debug: The process of finding and fixing bugs (mistakes) in the code so that the program will
run properly.
d.! What would happen if we gave the wrong commands, or commands in a language that our
computer wouldnt understand? (the program will not run correctly)
e.! What do you do when you are writing and you make a spelling mistake? How is this like
debugging a bug?
T (say): Today we are going to continue to learn about what happens when we make a mistake
writing our code. The mistake in the code is called a bug; bugs can be fixed by finding the
mistake in the code and fixing, or debugging, it. We are going to practice debugging to make
sure our program will run correctly.
Activity Materials
!
!
!
!
!
Pencil
fuzzFamily Fever Handout
Kodable
SMART Board or Projector (optional)
Activity
Have students seated on the floor or rug area. Explain that they are becoming programmers and in
the activity today they are going to test and fix commands to debug code.
T (say): The fuzzFamily has crash landed on the planet Smeeborg and needs your help! Your job is
to fill in the boxes below each maze with the correct commands to navigate the fuzzFamily to
safety.
Optional: include instruction on cardinal directions. If students have already been taught
cardinal directions, include north, east, south, and west with the arrows that correspond.
Hand each student a copy of the fuzzFamily Fever worksheet. Instruct students to draw the proper
command (optional: include the corresponding cardinal direction with the command) in the brown
boxes below each maze. Students may confer with one partner after completing commands for each
maze.
Once students have completed the commands for each maze, have them log into their Kodable
accounts. Students will independently test and debug their code in the corresponding lesson in
Kodable. Lesson numbers can be found at the top of each handout.
Whole group option: Kodable on the projector or SMART Board.
"G! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
What is a bug?
What is debugging?
Why is debugging important when coding?
When does a programmer debug their code?
How does a programmer debug their code?
What happened when we debugged our code?
Why do we have to debug our mistakes?
Close the lesson by sending students to independently practice the concept on their devices.
"H! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
!
!
Command
Direction
!
!
!
!
!
!
East
!
!
Command
Direction
!
!
!
!
!
!
!
!
Command
Direction
!
!
!
!
!
!
!
!
Command
Direction
!
!
!
!
!
!
!
!
Command
Direction
!
!
!
!
!
!
!
!
Command
Direction
!
!
!
!
!
!
Sequence Lesson 4:
fuzzFamily Face-Off
Lesson Materials
5. Pencil
6. fuzzFamily Face-Off
Handout
7. Kodable
8. SMART Board or
Projector (optional)
Objective
! Students will be able to identify bugs in code and deduce correct solutions.
Vocabulary
! Program: A sequence of instructions written in a code that a computer can interpret and
execute.
! Sequence: Also known as the order of events, commands that are executed by a computer
exactly as they are written. The sequence must be in the correct order for the program to run
properly.
! Command: A specific instruction given to a computer in written code from a programmer.
! Code: The language written by humans to communicate with computers to complete a
process; programming language that gives instructions to a computer.
! Bug: An Error, or mistake, in the code.
! Debug: The process of finding and fixing bugs (mistakes) in the code so that the program will
run properly.
d.! Why do computers need to be programmed? (because people are smarter than computers
and computers do what humans tell them to do in their language, code)
e.! What is a bug? (Errors, or mistakes, in the syntax of a programming language)
f.! What is debugging? (The process of finding and fixing errors (bugs) in the syntax so the
computer program will run properly)
g.! Why is debugging important when coding? (errors must be identified and fixed for the
program to run)
h.! When does a programmer debug their code? (when they find a mistake)
i.! How does a programmer debug their code? (going back through the code and looking at each
step to find the error, or where the program didnt work correctly)
T (say): Today, we are going to continue to find bugs and think like programmers to identify the
code that will work correctly.
Activity Materials
!
!
!
!
!
Pencil
fuzzFamily Face-Off Handout
Kodable
SMART Board or Projector (optional)
Activity
Have students seated on the floor or rug area. Explain that they are becoming programmers and
today they are going to look for bugs in different examples of code to find the code that is bug-free.
T (say): The fuzzFamily is lost on the planet Smeeborg and needs your help getting home! BlueFuzz,
HollyFuzz, and ColeFuzz all believe that they know the way home, but only one of them is correct. In
each lesson, select the fuzz who provides the right commands to navigate the fuzzFamily to safety!
Hand each student a copy of the fuzzFamily Face-Off worksheet. Instruct students to analyze each
code and select the fuzz in each lesson with the line of code that matches the commands needed to
successfully navigate the maze. Model an example for students, thinking out loud as you come
across errors or a code that is incorrect.
Once students have selected the fuzz with the correct line of code for each lesson, have them log
into their Kodable accounts. Students will independently run and debug their code in the
corresponding lesson in Kodable. Lesson numbers can be found at the top of each handout.
@"! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
Close the lesson by sending students to independently practice the concept on their devices.
@@! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
Sequence Lesson 5:
fuzzFamily Maze Maker
Lesson Materials
Objectives
1.!
2.!
3.!
4.!
Pencil !
Scissors !
Glue Stick
fuzzFamily
MazeMaker handout
5. Coloring Supplies !
1.
2.
3.
4.
Vocabulary
! Program: A sequence of instructions written in a code that a computer can interpret and
execute.
! Sequence: Also known as the order of events, commands that are executed by a computer
exactly as they are written. The sequence must be in the correct order for the program to run
properly.
! Command: A specific instruction given to a computer in written code from a programmer.
! Code: The language written by humans to communicate with computers to complete a
process; programming language that gives instructions to a computer.
! Bug: An Error, or mistake, in the code.
! Debug: The process of finding and fixing bugs (mistakes) in the code so that the program will
run properly.
@C! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
What is sequence?
Why is sequence important in computer programming?!
What is a bug?!
What is debugging?
What do you do when you find a bug in the code you are working with?
Why do bugs need to be fixed?
T (say): Today we are going to use all of our programming knowledge on sequence and bugs to
create and solve our own programming problem.
Activity Materials
!
!
!
!
!
!
Pencil
Scissors
Glue Stick
fuzzFamily Maze Maker handout
Coloring supplies
Activity
Have students seated on the floor or rug area. Explain that they are becoming programmers and
today they are going to create and solve their own programming problem.
T (say): The fuzzFamily is lost in the TechnoMazes of Smeeborg without a map! Your job is to
program them to safety. You are going to think like a programmer and draw a map that provides the
correct instructions to help navigate the fuzzFamily to safety. Remember, the fuzzFamily doesnt
speak our language, so we have to speak to them in code, using our commands like a
programmer.
Hand each student a copy of the fuzzFamily MazeMaker handout. Send students to their work
spaces where they will cut and glue. Explain that students will be cutting out the directional
commands and fuzzes that are on the attached sheet. Model an example of how students will cut,
glue, and create their maze, or have one prepared and visually accessible for students.
@D! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
!What is sequence?!
Why is sequence important in TechnoMaze building?!
Why is sequence important in computer programming?!
What is a bug?
!What is debugging?!
Were there any bugs in your TechnoMaze?
!Why did you design and build your TechnoMaze the way that you did?
@B! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
@E! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!
!
!
!
!
fuzzFamily MazeMaker
Commands
fuzzFamily MazeMaker
Commands
fuzzFamily MazeMaker
Commands
fuzzFamily MazeMaker
Commands
Sequence On-Screen
Independent Practice
On-screen lessons reinforce concepts learned through unplugged
instruction and activities and are a direct application of student
knowledge. Students collect coins and earn stars for accurately
solving the TechnoMazes. Stars and coins are directly correlated
with how well a student understands a programming concept and
applies what they have learned to solve a TechnoMaze on-screen.
Example 1.1
How it Works
The fuzz, such as the one in Example 1.1, represents a computer that must be given a specific
algorithm in the correct sequence to complete the TechnoMaze. The arrow commands are
Kodables programming language, and when strung together in the correct sequence become an
executable computer program. Students must use the commands to write the correct code for their
fuzz to move through the maze successfully. Once this happens, and it may take a few attempts, the
fuzz will roll onto the next lesson.
!
!
!
!
Sequence Lesson 1
In Lesson 1.1, students are introduced to on-screen lessons
with a tutorial. The tutorial explains how to provide blueFuzz
with commands to complete the TechnoMaze: Students will
drag and drop the commands from the command bin into the
computer program (the empty boxes on the top of the screen).
Once students complete the code to move their fuzz through
the maze, they will hit the green play button between their code
and the command bin. This will execute the program they just
wrote. It may take students multiple tries to figure this out, but
we encourage letting them fail once or twice in the learning
process. Failure is a part of programming, and we encourage
making mistakes and resiliency. If a students program has any
Example 1.2
bugs, or mistakes in their code, they will be presented with a fail
screen such as the one in Example 1.2. Instruct these students to try again until they succeed.
@F! !
#$%!&'($!)$**'+!,)-+*!)./$!%0$*$1!2'3-4)$56'&768((.68)8&5!!
9$**'+*!,)-+*!-($!6',:(.;0%!'<!=8(<=6'($>!?+65!@A"B5!!