Mississippi State University Page 1 2/21/2016 The Eureka Story

Embed Size (px)

DESCRIPTION

Mississippi State University Page 3 2/21/2016 Senior Design Software Engineering Deliverables Product Drawings (showing externally visible objects) List of Use Cases Two Use Cases (often traveled sunny and rainy day) Information Model (externally visible objects) One State Model (behavior of your most interesting object) One Process Model (describing activity in every state) Object Communication Model Revised Information Model (externally visible plus internal objects)

Citation preview

Mississippi State University Page 1 2/21/2016 The Eureka Story Mississippi State University Page 2 2/21/2016 Senior Design Software Engineering Deliverables Demonstrate Evidence of Software Engineering through: Use Cases Models Mississippi State University Page 3 2/21/2016 Senior Design Software Engineering Deliverables Product Drawings (showing externally visible objects) List of Use Cases Two Use Cases (often traveled sunny and rainy day) Information Model (externally visible objects) One State Model (behavior of your most interesting object) One Process Model (describing activity in every state) Object Communication Model Revised Information Model (externally visible plus internal objects) Mississippi State University Page 4 2/21/2016 Externally Visible Vending Machine Objects Mississippi State University Page 5 2/21/2016 Vending Machine Use Case Scenarios Mississippi State University Page 6 2/21/2016 Correct Change Vending Machine Use Case Mississippi State University Page 7 2/21/2016 Vending Machine Information Model Mississippi State University Page 8 2/21/2016 Vending Machine State and Process Model Mississippi State University Page 9 2/21/2016 Vending Machine Object Communication Model Mississippi State University Page 10 2/21/2016 Introducing the Use Case Describes User Interaction with your system in terms of externally visible objects Mississippi State University Page 11 2/21/2016 Externally Visible Vending Machine Objects Mississippi State University Page 12 2/21/2016 Vending Machine Use Case Scenarios Mississippi State University Page 13 2/21/2016 Correct Change Vending Machine Use Case Mississippi State University Page 14 2/21/2016 Externally Visible Objects Are Explicitly Included in Use Cases Mississippi State University Page 15 2/21/2016 Introducing the Information Model Relationships, Objects, and Attributes Mississippi State University Page 16 2/21/2016 Vending Machine Information Model Mississippi State University Page 17 2/21/2016 Vending Machine Information Model Mississippi State University Page 18 2/21/2016 Information Model Consists of: Objects Attributes Relationships One-to-one One-to-many Many-to-many Unconditional Conditional Mississippi State University Page 19 2/21/2016 Object Definition Set of real-world things with common characteristics All instances of an object behave the same Mississippi State University Page 20 2/21/2016 Identifying Objects Tangible things that make up the problem Roles played by people or organizations Incidents, e.g. accidents, system crashes, service calls Interactions with a transaction or contract quality, e.g. purchase related to buyer, seller, and thing purchased Table Specifications, e.g. definition of a things attributes Mississippi State University Page 21 2/21/2016 Identifying Objects Object identification is: an art refined by experience an iterative process Mississippi State University Page 22 2/21/2016 Keys To the IM Imagine youre a specific instance of an object when evaluating relationships; e.g. one-to-one, one-to-many, etc. Answer questions about relationships from the mindset of an object instance Understand that relationships represent information exchange agreements between objects Dont create an object unless youre absolutely convinced youve got to have it Objects are work - more often than not, a lot of work Mississippi State University Page 23 2/21/2016 Senior Design Software Engineering Focus Object-Oriented Analysis Mississippi State University Page 24 2/21/2016 Object-Oriented Analysis A different way to see, discover, and describe the same old problems Describe the solution in terms of the problem OOA Models represent a higher layer of abstraction When used in product development, the goal is to maintain the models, not the code Object-oriented Analysis describes the problem using coupled graphical equations: information, state, and process models Object-oriented Development produces the code Mississippi State University Page 25 2/21/2016 Models Are Coupled Graphical Equations If you change one model, you change them all The Information Model is coupled to its State and Process Models PM is coupled to IM and SM SM is coupled to IM and PM OCM is derived from IM, SM, and PM Mississippi State University Page 26 2/21/2016 Object-Oriented Systems Analysis What is Object-Oriented Analysis? Behavior specification using models Models reflect the things in the problem (objects) Behavior simulation by walking through (or executing) the models Mississippi State University Page 27 2/21/2016 FYI: Object-Oriented Development What is Object-Oriented Development? Performance specification Template creation Code generation Mississippi State University Page 28 2/21/2016 Senior Design Focus On the Models Behavior specification (required): Types of models: IM, SM, PM, plus OCM Behavior simulation (model walk-through is required): (Compiling and executing models is not required) Mississippi State University Page 29 2/21/2016 Behavior Specification Behavior specification using three types of models: Information State Process (An Object Communication Model results from Information, State, and Process models) Mississippi State University Page 30 2/21/2016 OOA Motivation: Concise Behavior Communication and Code Generation Mississippi State University Page 31 2/21/2016 Backup Story: A Tale of More Models Mississippi State University Page 32 2/21/2016 Information Model Mississippi State University Page 33 2/21/2016 State And Process Model - Room Mississippi State University Page 34 2/21/2016 State and Process Model - Person Mississippi State University Page 35 2/21/2016 Object Communication Model OOA Signaling Diagram Mississippi State University Page 36 2/21/2016 Object Communication Model - OCM Mississippi State University Page 37 2/21/2016 Where Most People Find Themselves On The OOA Learning Curve The Bottom Of The Paraboloid