1 / 9

Lecture #3 Agenda

Lecture #3 Agenda. Cell phones off & name signs out Questions? Activity Problem solving. I have a question for you!. The question was: What did you have for breakfast today?. Activity. The goal of this short activity is to demonstrate two things: objects have behaviors

cassia
Download Presentation

Lecture #3 Agenda

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. Lecture #3Agenda • Cell phones off & name signs out • Questions? • Activity • Problem solving

  2. I have a question for you! • The question was: What did you have for breakfast today?

  3. Activity The goal of this short activity is to demonstrate two things: • objects have behaviors • sending message to objects can trigger those behaviors

  4. When I tell you to… you should… START begin doing jumping jacks STOP stop jumping, and stand normally anything else do nothing Activity details3 volunteers, a.k.a. objects When I tell you to… you should… anything at all do nothing When I tell you to… you should… START start counting slowly, 0…1…2… etc, but always starting at zero STOP stop counting, but remember where you left off CONTINUE keep counting up from where you left off anything else do nothing

  5. Activity Review • Why did we do this activity? • What is an object?

  6. Problem solving • How do we go about solving a problem? • Simplification through abstraction is key. • Essay writing process • A process of iterative refinement • Apply same idea to writing software

  7. Apply same idea to developingsoftware solutions: Executable Model Conceptual Model

  8. The conceptual model • A model of the problem domain • Problem domain consists of: • objects • properties • capabilities • relationships between objects

  9. A more refined picture(iterative refinement in action!) Problem Domain Compilation MACHINE EXECUTABLE PROGRAM CODE Executable Model Initial Conceptual Model Iterative refinement of model

More Related