NEW LESSONS SEARCH BROWSE SUBMIT!
<<PREV MORE LESSONS NEXT>>
Share | Print Teachers.Net Lesson Bank
Search Teachers.Net
Advanced
Quick Links: Set

#2166. Peanut Butter and Jelly Programming

Computer, level: Middle
Posted Tue Mar 6 07:33:12 PST 2001 by Deb Sweeney (sween4@yahoo.com).
Tamaqua Area Middle School, Tamaqua, PA USA
Materials Required: Paper, pencil, peanut butter, jelly, bread, butter knife
Activity Time: one class period
Concepts Taught: Written communication skills and sequential thinking with writing computer programs.

Goal: To understand the importance of "meaning what you say", or "garbage in-garbage out", integrated with sequential thinking. "Garbage in-garbage out"-means that if a programmer states inaccurate or incorrect steps (garbage), the computer will output garbage as well.

Objective: Students will write specific and sequential steps on how to make a peanut butter and jelly sandwich.

Procedure: Students will write a very detailed and step-by-step paragraph on how to make a peanut butter and jelly sandwich for homework. The next day, the students will then input (read) their instructions to the computer (teacher). The teacher will then "make" the programs, being sure to do exactly what the students said. For example, if they say, "Take a piece of bread out of the bag," the teacher would only take a small "piece" out instead of a slice (which is what they actually meant).

Assessment: I use this as an introduction to writing computer programs. I do not use it as a grade, except if the student did not do the assignment. Students have a great time with this assignment because they can actually "see" their errors, or bugs, in their programs when their sandwiches are only 1" square!

*Special acknowledgement to Mrs. Holly Morrison, who was the initiator of this great lesson!



 
 
 
June: The 30 Days of Teachers.Net (Introduction)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

     
     

Sponsors  

New Moms Wanted!
Join the community for new and expecting moms. Check out Maternityville.com Maternity Chat!

Free Lesson Plans
Thousands of lesson plans and curriculum ideas! teachers.net/lessons

Teaching Jobs
Thousands of teaching jobs and other jobs in education - visit jobs.teachers.net

 
Google
 
Web Teachers.Net
  Site Map: Home Search Teaching Jobs Classifieds Lessons Contacts PR Advertise
  © 1996 - 2008. All Rights Reserved. Please review our Terms of Use, Mission Statement, and Privacy Policy.