Day 8

Instructional Days: 7-8

Topic Description: This lesson introduces the concept of event driven programming and provides practice through the

creation of an alphabet learning game.

Objectives:

The students will be able to:

 Explain event driven programming.

 Write a program that responds to user created events from the mouse and keyboard.

Outline of the Lesson:

 Presentation of solution for baseball extra credit (10 minutes)

 Journal Entry (10 minutes)

 Event lecture/description of Alphabet Learning Game (20 minutes)

 Alphabet Learning Game (60 minutes)

 Student presentations (10 minutes)

Student Activities:

 Present solution for baseball extra credit.

 Complete journal entry.

 Develop an Alphabet Learning game.

 Volunteers complete presentations.

Students will do the following:

Create an Alphabet Learning Game for kids: https://scratch.mit.edu/projects/16624931/

1. Presentation of solution for baseball extra credit

o A student may present while others watch. If no student completed the extra credit, teacher presents.

See baseball solution.sb from previous lesson.

2. Journal entry: How do the programs on the computer know what the user wants to do next? In other words, if

you are surfing the web, how does the computer know what page to go to next?

 Event lecture/description of Alphabet Learning Game

o Allow some students to share journal entry with class. Steer them towards the idea of user events

(clicks, typing) driving the program and causing it to respond.

o Scratch provides some blocks that allow you to write programs that respond to user events relatively

easily.

 When green flag clicked (we’ve already seen this)

 When Sprite clicked

 When _ key pressed

3. Make an alphabet learning game.

3.1 Create the first letter in front of the class with the students helping you. See alphabet learning.sb.

 Show how to create new costumes.

 Explain that students may bring in pictures from the internet.

4. Download a .gif or .jpg.

5.Use import or paint to make it the second costume for your letter.