Presentation is loading. Please wait.

Presentation is loading. Please wait.

Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 Answers to QUIZ 1 1. What are.

Similar presentations


Presentation on theme: "Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 Answers to QUIZ 1 1. What are."— Presentation transcript:

1 Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 Answers to QUIZ 1 1. What are the steps in Polya’s problem solving methodology? 1.Understand the problem 2.Design or devise a solution 3.Implement the solution 4.Evaluate the solution 2. What are the 3 control structures in computer programming? 1.Sequence 2. Decision 3. Repetition 3. What was the most important thing you learned today? Your own opinion!

2 Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 REMINDER: rest of the week Think about what you want to do Think about what you want to do Working in pairs or trios: Working in pairs or trios: You will build your own world including:You will build your own world including: Some common goal your team chooses Some common goal your team chooses Event handling Event handling All three control structures All three control structures At least three active objects At least three active objects Help each other, shareHelp each other, share Ideas Ideas Solutions Solutions

3 Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 REMINDER: Our schedule Day One: Day One: Introduction, Tutorials, ExamplesIntroduction, Tutorials, Examples Day Two: Day Two: Begin your own first World with EventsBegin your own first World with Events Day Three: Day Three: Add DecisionAdd Decision Day Four: Day Four: Add RepetitionAdd Repetition Day Five: Day Five: DemonstrationsDemonstrations

4 Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 REMINDER: Homework Schedule Day One: Day One: Go over tutorials and think about what you want to do for your projectGo over tutorials and think about what you want to do for your project Practice using events in your worldPractice using events in your world Day Two: Day Two: Practice adding decision structuresPractice adding decision structures Day Three: Day Three: Practice adding repetitionPractice adding repetition Day Four: Day Four: Fine tune your final projectFine tune your final project

5 Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 Day Two - Events Do something when user Do something when user ClicksClicks Presses a keyPresses a key Examples Examples Penguins sing when clickedPenguins sing when clicked Penguins sing song when any key pressedPenguins sing song when any key pressed Song is recorded when the Record button is clickedSong is recorded when the Record button is clicked Ice Skater skates toward an object when clickedIce Skater skates toward an object when clicked

6 Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 Using Polya, make a plan and include events Understand: What is the goal? Understand: What is the goal? Design: How will the goal be attained? Design: How will the goal be attained? Implement: Do it in Alice! Implement: Do it in Alice! Evaluate: Can we make it better? Evaluate: Can we make it better?

7 Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 Understand: Write it down. What is the goal? What is the goal? What questions do you have? What questions do you have? What objects will you need? What objects will you need? What will the objects need to do? What will the objects need to do? What is the sequence of events? What is the sequence of events? What decisions will be needed? What decisions will be needed? What will need to be repeated? What will need to be repeated?

8 Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 Design a Solution: Tools Flow charting Flow charting Psuedocoding Psuedocoding UML diagrams UML diagrams

9 Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 Implement the Solution: Code! In Alice! In Alice! Set the scene: Set the scene: Choose a templateChoose a template Add objects and “pose them”Add objects and “pose them” Write the methods and create events Write the methods and create events Play! Play!

10 Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 Evaluate the Solution Did it reach the goal? Did it reach the goal? Were their any problems? Were their any problems? What could make it better? What could make it better? Make it better! Make it better! Play again Play again

11 Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 Solve a problem with your team: Answer the Understand questions Answer the Understand questions Begin your Design on paper Begin your Design on paper Write the psuedocode/flow chartWrite the psuedocode/flow chart Does it make sense?Does it make sense? Implement a simple event and make it work Implement a simple event and make it work Evaluate it and make it better! Evaluate it and make it better!

12 Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 QUIZ TWO: Understand Template The goal is to _________ The goal is to _________ How will I_, __, __, _, …, _? How will I_, __, __, _, …, _? Objects I need are Objects I need are My ___object needs to ___My ___object needs to ___ The order of events is 1,2,3,4,5,6… The order of events is 1,2,3,4,5,6… If __ then ____ else ___ If __ then ____ else ___ ___ will repeat based on ____ ___ will repeat based on ____


Download ppt "Dawn McKinney ° School of Computer and Information Sciences ° University of South Alabama ° Mobile, AL ° June – July 2007 Answers to QUIZ 1 1. What are."

Similar presentations


Ads by Google