Programming Lesson Plan: Program Your Partner
Submitted by: Andrew Gardner
In this hands-on, movement-based lesson, students will use BrainPOP resources as they are introduced to the concept of coding and programming. They will create short programs and sequences and then follow the computer programs from their individual partners.
- Create short programs using simple commands.
- Interpret and process programs from their peers.
- Create their own programming language.
- Computers with internet access for BrainPOP
- sticky notes
- blank paper
Preparation:You may want to watch the BrainPOP Programming movie beforehand and get the sense of the concepts explored. Like the movie, students will write programs that direct each other to move. You may want to prepare students for the physical activity by reminding them of your classroom rules about movement.
Your students will work in pairs for this activity, and they will need to navigate through the classroom to a certain “goal”/location. In advance of the lesson, identify good student pairings, and write individual numbers onto sticky notes. After the group demonstration, each partnership will need to go to one of the sticky notes.
- Activate prior knowledge by asking students to consider various situations in which they require instructions to get something accomplished (recipes, games, etc).
- Ask students which senses they use to understand instructions (sight allows them to read a recipe or watch a how-to video, hearing allows them to listen to instructions, follow a coach, and so on).
- Play the Computer Programming movie for students, and explain to students that they are going to write a program. Programming is the way to make computers and inanimate objects follow instructions.
- Tell students that computers often have sensors that act like the senses, like sight or hearing. They are inputs, and humans program computers to do things in response to specific inputs. In this activity, students are going to use their eyes as sensor inputs: student will create and follow their own codes.
- Give each student 5 sticky notes. On each sticky note, a student can write a symbol INPUT and a written verb/noun action called OUTPUT. Examples: circle = clap hands, square = lift left arm, squiggle = lift right arm, rhombus = scan the classroom for something red.
- Ask students to create up to 5 symbols that used together can get their partner to do something useful in the classroom . This is the “goal.” Examples: get a book, pick up a pencil, get a tablet computer, pat a friend on the back.
- Explain that students can create simple code commands OR code “functions” (refer to the definition of function in the movie)
- Have students hold up each sticky note for their partner. Partners practice “reading” each individual code input. The partner’s action is the output.
- Tell students they will be “programming” each other to reach the “goal”. One partner needs to write out code for the other partner to follow.
- Can students use the 5 units of code to guide their partner successfully? If not, students may need to create additional code. By discarding old code and writing new code, they are “iterating.”
- Partners can switch roles. If there is extra time, they can write more complex “goals” for one another.
- After both partners have had the chance to code and be programmed, come back to the meeting area and share stories of success and failure in programming one another. Ask for examples of both. Highlight that programmers learn more from failure than from success.
- Have students share the specificity of the output associated with each unit of “code.” Ask if any student used “functions”.
- Ask students to reflect on how codes, functions and programming is apparent in one of their favorite technologies.
Filed as: 3-5, 6-8, 9-12, Blockly: Maze, BrainPOP, CCSS.ELA-Literacy.RI.11-12.7, CCSS.ELA-Literacy.RI.3.7, CCSS.ELA-Literacy.RI.4.10, CCSS.ELA-Literacy.RI.4.7, CCSS.ELA-Literacy.RI.5.3, CCSS.ELA-Literacy.RI.5.7, CCSS.ELA-Literacy.RI.6.7, CCSS.ELA-Literacy.RI.7.7, CCSS.ELA-Literacy.RI.8.7, CCSS.ELA-Literacy.RI.9-10.7, CCSS.ELA-Literacy.RST.11-12.3, CCSS.ELA-Literacy.RST.11-12.4, CCSS.ELA-Literacy.RST.11-12.7, CCSS.ELA-Literacy.RST.11-12.9, CCSS.ELA-Literacy.RST.6-8.3, CCSS.ELA-Literacy.RST.6-8.4, CCSS.ELA-Literacy.RST.6-8.7, CCSS.ELA-Literacy.RST.9-10.3, CCSS.ELA-Literacy.RST.9-10.4, CCSS.ELA-Literacy.RST.9-10.5, CCSS.ELA-Literacy.RST.9-10.7, Cloud Computing, Code Week, Computer History, Computer Programming, Digital Animation, Flipped Classroom, Lesson Plan, Logic Gates, Programming Games, Technology, Tynker: Puppy Adventure, programming for kids