




















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





















Why do we need Modelling ”Blue prints”? O bject O riented A nalysis and D esign - OOAD. Object Oriented vs. Functional Oriented Analysis and Design. U nified M odelling L anguage - UML. UML Models. Steps to OOAD.
It’s a structured method for analyzing, designing a system by applying the object-orientated concepts, and develop a set of graphical system models during the development life cycle of the software. (^) OOAD essential for creating well-designed, robust & maintainable software system using OO Programming Language (e.g. Java, C+ +, Python etc…). (^) It is the latest and most used way of design now. UML ( U nified M odeling L anguage) is a modeling language for OOS.
The software life cycle is typically divided up into stages going from abstract descriptions of the problem to designs then to code and testing and finally to deployment.
An investigation of the problem (rather than how a solution is defined). (^) During OO analysis, there is an emphasis on finding and describing the objects (or concepts) in the problem domain. (^) Example: Concepts in a Library Information System include; Book and Catalog.
(^) Emphasizes a conceptual solution that fulfills the requirements specified in the analysis. (^) Need to define software objects and how they collaborate to fulfill the requirements. (^) Designs are implemented in a Programming Language. (^) Example: in the Library Information System, a Book software object may have a title attribute and a display() method. And implemented using any OO programming language; e.g. Java.
More Analysis Oriented More Design Oriented Design Oriented (^) How (^) Logical Solution Analysis Oriented (^) What (^) Requirements (^) Investigation of Domain
(^) In essence, to consider a problem domain and logical solution from the perspective of objects (things, concepts, or entities) (^) OOA: emphasis on finding and describing the objects in the problem domain (^) OOD: emphasis on defining logical software objects and how they should collaborate (via method calls) to fulfill the requirements (^) OOP: commitment to code.
Plane tailNumber public class Plane { private String tailNumber ; public List getFlightHistory () { ... } } 1 domain concept 2 visualization of domain concept 3 representation in an object - oriented programming language Fig: Object-orientation revolves around objects.
(^) A notational system aimed at modeling systems using object oriented concepts. (^) A language for specifying, visualising and constructing the artifacts of software systems (^) A de facto standard; We focus on diagrams that are used frequently: Refer to the UML 2.0 standard (2003) for the details of the language.
Define use - 1 cases Define use - 1 cases Conceptual - 2 Model Conceptual - 2 Model Collaboration - 3 Diagrams Collaboration - 3 Diagrams Design Class - 4 Diagram Design Class - 4 Diagram
The Conceptual Model Fig 1.3 Partial domain model of the dice game. Player name DiceGame Die faceValue Rolls Plays Includes 2 2 1 1 1 1 Player name DiceGame Die faceValue Rolls Plays Includes 2 2 1 1 1 1