Analysis And Design
Analysis
- Emphasizes on the investigation of the problem and requirements rather than solution.
Design
- Emphasizes on a conceptual solution that fulfills the requirements rather than its implementation Both are summarized the following phrase: “Do the right things (analysis),and do the things right (design).”
Object Oriented Analysis and Design
Object Oriented Analysis
- Emphasize on finding and describing the objects or concepts in the problem domain. – E.g. Flight Information System: Plane, Flight, Pilot etc.
Object Oriented Design
- Emphasize on defining domain objects and how they collaborate to fulfills the requirements. – E.g. Flight Information System has flightNumber attribute and getFlightHistory behavior
Simple Example – Dice Game
Problem Statement:
A dice game can be played by one user. When player rolls
the die if the faces values are seven he wins otherwise he
lose.
- How to analyze and then design this game?
- Instead of traditional approach, We have a better analysis and designing language called UML.
- Use Cases
- Domain Model / Conceptual Diagram / Conceptual object Model
- Class Diagram
No comments:
Post a Comment