Вы находитесь на странице: 1из 7

UNIFIED MODELING

LANGUAGE
IMPORTANCE OF MODELING

Modeling

The Importance of Modeling :

While writing the S/W the main objective is to create the right s/w
and in figuring out less s/w. This makes quality s/w development is an issue
of architecture ,process and tools.

Unsuccessful projects fail in their own unique ways, but all


successful projects are alike in many ways.
There are many elements that contribute to a successful s/w organization;
one common method is Modeling.
Modeling is a proven and well-accepted engineering technique
Modeling is a central part of all the activities that lead
up to the deployment of good S/W. We build models to
communicate the desired structure and behavior of our
system.

We build models to visualize and control the system’s


architecture.

We build models to better understand and often exposing


opportunities for simplification and re-use.

We build models for documentation purpose

We build models which acts as a template,which helps to


construct the system.
What is a model?
• A model is a simplification of reality-
Model provides the blue prints of a
system.These models contain detailed
plans, as well as more general plans that
gives a foot view of the system.
Why do we model?

• To better understand the system what we


are developing.

• models for complex systems - we cannot


comprehend such a system in its entirety
Principles of Modeling
• The choice of what models to create has a profound influence on how a
problem is attacked and how a solution is shaped.
Choose
your models well.

• Every model may be expressed at different levels of precision.


Visualize a system at different levels of
detail at different times.

• The best models are connected to reality.


Models simplify reality but be sure simplifications
don’t mask any details.

• Every nontrivial system is best approached through a small set of nearly


independent models.
No single model is
sufficient.
Object-Oriented Modeling-
Modeling approaches are of two types
2. Traditional approach which is Algorithmic Perspective.
3. Object – Oriented approach which uses main building blocks as
Classes and Objects.
Features of Object-Oriented approach
1.Encapsulation
2.Class
3.Object
4.Inheritance------Types-----1.simple Inheritance
2.Multiple Inheritance
3.Multi-Level Inheritance
4.Hybrid Inheritance
5. Hierachical Inheritance.
5.PolyMorphism-----1.Static Polymorphism
2.Dynamic Polymorphism