Lab 2-1
Lab 2-1
Objective:
• What is UML
• Why the UML is necessary
• Modelling with Objects
Basic Concept:
The Unified Modeling Language (UML) is a visual modeling language that enables system
builders to create blueprints that capture their visions in a standard, easy-to-understand way, and
provides a mechanism to effectively share and communicate these visions with others. The
purpose of the diagrams is to present multiple views of a system; this set of multiple views is
called a model. UML model describes what a system is supposed to do. It doesn’t tell how to
implement the system
Design Phase:
Specifying the structure of how a software system will be written and function, without actually
writing the complete implementation. A transition from "what" the system must do, to "how" the
system will do it
1) What classes will we need to implement a system that meets our requirements?
2) What fields and methods will each class have?
3) How will the classes interact with each other?
Structural Things
Graphical notations used in structural things are most widely used in UML. These are considered
as the nouns of UML models. Following are the list of structural things.
Classes
Object
Interface
Collaboration
Use case
Active classes
Components
Nodes
Class Notation
UML class is represented by the following figure. The diagram is divided into four parts.
Note: Lab Assignment will be checked via plagiarism checker tool, therefore try to not
copy.