|
|
Lesson Plan Programming and PB&JTeach computer programming using the simplicity of peanut butter and jelly sandwiches.Deb Sweeney
Lesson Description: In this assignment, students learn the importance of accurate, written communication and logical organization. The assignment requires the students to write a detailed, step-by-step program (paragraph) on how to make a peanut butter and jelly sandwich for homework. The next day, the students will input (read) their instructions to the computer (teacher). The teacher will “make” the programs, being sure to do exactly what the students say. For example, if a student says, “Take a piece of bread out of the bag,” the teacher should take only a small “piece” out instead of a slice. Or, rip the bag open without using the twist tie because the directions didn’t tell you exactly how to get to the bread. Subject Area: This lesson can be used in a language arts or writing class to fulfill a technology lesson. It also makes a great lesson for a computer class to satisfy a writing-across-the-curriculum requirement as well as a prelude to a unit on programming. This lesson would be appropriate for middle levels, grades six through eight. Curriculum Standards: The standards addressed in this lesson include: Pennsylvania Academic Standards for Science and Technology for Grade Seven
Pennsylvania Academic Standards for Reading, Writing, Speaking and Listening for Grade Eight
ISTE’s Educational Technology Standards for Students: Creativity and Innovation
Resources:
Grading Rubric: This activity can be graded as a single assignment to include participation through reading their program aloud, submission of the written directions, the final “look” of the peanut butter and jelly sandwich, or a combination of all three. Students thoroughly enjoy this activity while at the same time learning the importance of precise writing and sequential thinking. With this lesson, they can visually “see” the errors, or bugs, in their programs. Deb Sweeney is the computer teacher/webpage manager at Tamaqua Area Middle School in the Tamaqua (Pa.) Area School District. Teaching Tips
|






When writing programs, a computer programmer needs to be precise in content and in order. Inaccurate or vague steps (garbage in) will result in an incorrect result (garbage out). This introductory programming assignment gives students a lesson on thinking in terms of precise writing and sequential thinking. The best way to learn something new is to start with something students are already familiar with — making a peanut butter and jelly sandwich!