3. Importance of modeling
What is a model?
A model is a simplified representation of a real-world system, process, or concept.
• It captures the important details while ignoring unnecessary complexities.
• Example: A blueprint for a house or a diagram showing how a system works.
Why do we model?
Understand Complex Systems: Break down complicated ideas into simpler parts.
1.Visualize and Plan: See how things work before building them.
2.Communication: Help teams and stakeholders understand the system.
3.Predict and Analyze: Test ideas and identify problems early.
We model to simplify, communicate, and improve design before implementation.
4. Model
•The model is an iterative process.
•It can represent static or dynamic situations.
Model
Static Dynamic
Provides a system’s
parameters at rest or
at a specific point in
time.
(e.g.) class diagram
Represents a system’s
behaviors that, taken together,
reflect its behavior over time.
(e.g.) interaction & activity
diagrams
5. Advantages of modeling
• Easy to express complex ideas
• Reduce complexity
• Easy to change the model
6. 1. Notation
Refers to the visual symbols and diagrams used to represent object-oriented concepts.
Example: UML diagrams like class diagrams, use case diagrams, and sequence diagrams.
2. Process/Method
Describes the Step–by–step approach for developing Software.
It includes.
1. Analysis: Understanding the problem and identifying objects.
2. Design: Structuring the solution using classes, objects, and interactions.
3. Implementation: Converting designs into working code.
3. Tool
Refers to software tools for creating, managing, and implementing object-oriented models.
Examples: Tools like Rational Rose, Enterprise Architect, and StarUML help automate modeling and
maintain consistency.
7. What is Unified Modeling Language
(UML)?
Unified Modeling Language (UML) is a standard way to create diagrams that help us plan,
design, and understand how a software system works. It shows the system's structure behavior,
and interactions using an easy-to-understand diagram.
It is a Unified Modeling Language, which is mainly a collection of graphical notation that
methods use to express the designs.
8. History of UML
Before UML, different methods and notations were used to design and describe systems.
1. Booch method by Grady Booch
2. Object Modeling Technique (OMT) by Jim Rumbaugh
3. Object Oriented Software Engineering (OOSE) by Ivar Jacobson
Each method had its strengths & weaknesses.
1. Booch was great in design
2. OMT & OOSE were great in analysis
9. What is the Problem behind this
method?
Each of these methods was useful but it had its own symbols, rules, and technique. This caused
confusion because
• Different teams used different methods, making it hard to understand each other designs.
• Combing models from various methods was challenging.
• There was no single “Standard” way to design systems.
10. Why UML was created?
• To solve these problems, Grady Booch, James Rumbaugh, and Ivar Jacobson worked together to
combine their methods into a single, unified approach.
• This Unified approach becomes UML. Providing a common language for designing and describing
systems that everyone could understand and use.