Lecture 2modelling and System Design
Lecture 2modelling and System Design
UML Basics
By
Mr. M. Mulenga
Lecturer, CICTE
Modeling involves:
1) representation or simplification of reality
2) providing a blueprint of a system
1) better understand the system we are
developing
2) describe the structure or behaviour of the
system
3) experiment by exploring multiple solutions
4) furnish abstraction for managing complexity
5) document the design decisions
6) visualize the system “as-is” and ”to-be”
7) provide a template for constructing a system
1) the choice of models affects how a problem
is tackled
2) every model may be expressed at different
levels of abstraction
3) effective models are connected to reality
4) no single model is sufficient to describe
non-trivial systems
UML = Unified Modeling Language
A language for visualizing, specifying, constructing
and documenting artifacts of software-intensive
systems.
4) represents implementations of
patterns of cooperation that
make up a system
5) represented as a named
ellipse drawn with a dashed line
1) description of a sequence of
actions that a system performs to
deliver an observable result to a
particular actor
3) realized by collaboration
4) graphically rendered as an
ellipse drawn with a solid line
1) a class whose objects own
one or more processes or
threads and therefore can
initiate an action
2) a class whose objects have
concurrent behaviour with
other objects
3) it also can be used to
represent processes and
threads
4) graphically, an active class
is rendered just like a class
drawn with a thick line
1) a sequence of states an object or
interaction goes through during its lifetime,
and its response to external events
1) Jackie Chan
2) a set of operations for validating dates
3) a module capable of validating dates based on the
operations in 2
4) a set of trainees
5) “withdraw money” request from an ATM system
6) a computer server that hosts the payroll system
Four basic types of relationships:
1) dependency
2) associations
3) generalization
4) Realization
of the system.
Implementation View encompasses the components
and files that are used to assemble and release the
physical system.
1. class diagrams
2. object diagrams
3. use case diagrams
4. sequence diagrams
5. collaboration diagrams
6. statechart diagrams
7. activity diagrams
8. component diagrams
9. deployment diagrams