The Unified Modeling Language (UML) Notes
The Unified Modeling Language (UML) Notes
1) write about
principles of modeling?
Ans):-
Principles of Modeling
There are
four basic principles of model
1.
The choice of what models to create has a
profound influence on how a problem is attacked and how a solution is shaped.
2.
Every model may be expressed at different
levels of precision.
3.
The best models are connected to reality.
4.
No single model is sufficient. Every
nontrivial system is best approached through a small set of nearly independent
models.
2)write about
object oriented modeling?
Ans):-
Object Oriented Modeling
In software, there
are several ways to approach a model. The two most common ways are
1.
Algorithmic perspective
2.
Object-oriented perspective
Algorithmic
Perspective
The traditional view of software development
takes an algorithmic perspective.
In this approach, the main building block of
all software is the procedure or function.
This view leads developers to focus on
issues of control and the decomposition of larger algorithms into smaller ones.
As requirements change and the system grows, systems built with an
algorithmic focus turn out to be very hard to maintain.
Object-oriented
perspective
The contemporary view of software
development takes an object-oriented perspective.
In this approach, the main building block of
all software systems is the object or class.
A class is a description of a set of common
objects.
Every object has identity, state, and
behavior.
Object-oriented development provides the
conceptual foundation for assembling systems out of components using technology
such as Java Beans or COM+.
3)What is model?
What are aims of modeling?
Ans):- Aim of modeling are as Follows
Modeling allows us
to specify, visualize, construct and document the system to be constructed
·
Visualizing
·
Specifying
·
Constructing
·
Documenting
·
Visualizing:-
The UML is
more than just a bunch of graphical symbols. Rather, behind each symbol in the
UML notation is a well-defined semantics. In this manner, one developer can
write a model in the UML, and another developer, or even another tool, can
interpret that model unambiguously
·
Specifying:-
Specifying means
building models that are precise, unambiguous, and complete.
Constructing:-
the UML is not
a visual programming language, but its models can be directly connected to a
variety of programming languages
Documenting:-
A healthy software
organization produces all sorts of artifacts in addition to raw executable
code. These artifacts
include
4)Explain about
conceptual model of The UML?
Ans):-
Conceptual model of the UML
Conceptual model of the UML cover three major elements:
1.
Things
2.
Relationships
3.
Diagrams
Things in the UML
There are four kinds
of things in the UML:
Structural things
Behavioral things
Grouping things
Annotational things
Structural things
Structural things are
the nouns of UML models. These are the mostly static parts of a model,
representing elements that are either conceptual or physical. In all, there are
seven kinds of structural things.
1.
Classes
2.
Interfaces
3.
Collaborations
4.
Use cases
5.
Active classes
6.
Components
7.
Nodes
Class
Class is a description
of a set of objects that share the same attributes, operations, relationships,
and semantics. A class implements one or more interfaces. Graphically, a class
is rendered as a rectangle, usually including its name, attributes, and
operations.........
The Unified Modeling Language (UML) Notes
0 commentaires: