# Classroom Rules

• all students must be seated and copying the daily objective by the time the bell sounds
• all writing utensils should be ready to be used prior to the bell sounding
• no horse playing in the class
• no gum or candy is to enter the class
• notebooks and textbooks are to brought to class daily
• no gum or candy is to enter the class
• students are to raise their hand and wait to be called on before speaking
• students are not to turn on computers without permission
Parents must sign and return a rule sheet acknowledging, they have read, discussed and understand what is require of their child in computer science!

## Fun Lesson: Done the first days of class

Introducing Logic, Algorithms & Tracing

### Objectives: Students will

1. become familiar with algorithms (a step by step process to solve a problem)
2. learn that different is encouraged when programming
(as long as one receives his/her desired output)
3. learn to use top-down design (breaking large task into achievable steps)
4. translate algorithms into flowcharts

### Task/Problem: Create an algorithm for the following:

How to make a peanut butter & jelly sandwich

### Instructions:

• Have students list all steps in order from beginning of each task to the end.
make all steps clear and concise)
• the students may number steps if helpful.

** Remember papers will be exchanged and others will determine if they can

## optional:

• bring the materials to make the peanut butter & jelly sandwich
• have a students to read the steps on the paper and another student to do the demo.
You'll be surprised at how many steps are left out.
The students love it!!

### Purpose:

• To get the students to thinking, planning and writing pseudocode that will eventually turned into code to be executed.
• To introduce tracing and debugging (finding your errors)
• To assure students that there is more than one way to achieve the same desired output
• To instill in students that programming can be fun!

##### These pages were developed through GirlTECH, a teacher training program sponsored by the Center for Research on Parallel Computation (CRPC), a National Science Foundation Science and Technology Center. Pages copyright July 1999 by Ms. H. Connor.
Thanks to the RGK Foundation and EOT-PACI for its generous support of GirlTECH.