Lesson 2 Flashcards
Is a standardized modeling language consisting of an integrated set of diagrams, developed to help system and software developers for specifying, visualizing,constructing, and
documenting the artifacts of software systems, as well as for business modeling and other non-
software systems.
UML, short for Unified Modeling Language
Depict a static view or structure of a system. It is widely used in the documentation of software architecture.
Structural diagrams
Are one of the most widely used diagrams. It is the backbone of all the object-oriented software systems.
Class diagrams
It displays the relationship between the parts and their configuration that ascertain the behavior of the class.
Composite Structure Diagrams
It describes the static structure of a system at a particular point in time. It can be used to test the accuracy of class diagrams.
Object Diagram
It portrays the organization of the
physical components within the system. It is used for modeling execution details.
Component Diagram
It presents the system’s software and its hardware by telling what the existing physical components are and what software components are running on them.
Deployment Diagram
Portray a dynamic view of a system or the behavior of a system, which describes the functioning of the system.
It includes use case diagrams, state diagrams, and activity diagrams.
Behavioral Diagrams
It portrays the system’s behavior
utilizing finite state transitions. It is also known as the State-charts diagram.
State Machine Diagram
It models the flow of control from one activity to the other. With the help of an activity diagram, we can model sequential and concurrent activities.
Activity Diagram
It represents the functionality of a
system by utilizing actors and use
cases. It encapsulates the functional requirement of a system and its association with actors.
Use Case Diagram
Are a subclass of behavioral diagrams that give emphasis to object interactions and also depicts the flow between various use case elements of a system.
Interaction diagrams
It shows the interactions between the objects in terms of messages exchanged over time
Sequence Diagram
It shows the interchange of sequence messages between
the objects. It focuses on objects and their relations. It describes the static and dynamic behavior of a system.
Communication Diagram
It is a special kind of sequence diagram used to depict the object’s behavior over a specific period of
time.
Timing Diagram
It is a mixture of activity and sequence diagram that depicts a sequence of actions to simplify the complex interactions into simple interactions.
Interaction Overview Diagram
Are the most important elements in modeling. Efficient and
appropriate use of notations is very important for making a complete and meaningful
model. The model is useless, unless its purpose is depicted properly.
UML notations
The top section is used to name the class.
The second one is used to show the attributes of the class.
The third section is used to describe the operations performed
by the class.
The fourth section is optional to show any additional
components
Class Notation
The object is represented in the same way as the class. The only difference is the name which is underlined as shown in the following figure.
Object Notation
Is represented by a circle as shown in the following figure. It has a name which is generally written belowthe circle. Interface is used to describe the functionality without implementation.
Interface Notation
Is represented by a dotted eclipse, ithas a name written inside the eclipse. Collaboration represents responsibilities. Generally, responsibilities are in a group.
Collaboration Notation
Is represented as an eclipse with a name inside it. It may contain additional responsibilities.
Use case is used to capture high level functionalities of a system
Use case Notation
Can be defined as some internal or external entity that interacts with the system. An actor is used in a use case diagram to describe the internal or external entities.
Actor Notation
Is defined to show the start of a process. This notation is used in almostall diagrams. The usage of Initial State Notation is to show the starting point of a process.
Initial State Notation
Is used to show the end of a process. This notation is also used in almost all diagrams to describe the end. The usage of Final State Notation is to show the termination point of a process
Final State Notation
Looks similar to a class with a solid border, is generally used
to describe the concurrent behavior of a system.
Active class is used to represent the concurrency in a system.
Active Class Notation