1 / 12

Answers to QUIZ 1

Answers to QUIZ 1. What are the steps in Polya’s problem solving methodology? Understand the problem Design or devise a solution Implement the solution Evaluate the solution What are the 3 control structures in computer programming? Sequence 2. Decision 3. Repetition

drago
Download Presentation

Answers to QUIZ 1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

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

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

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

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

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

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

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

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

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

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

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

More Related