Professional Documents
Culture Documents
SAD ASS 1 Solved Waqas Arif70067876
SAD ASS 1 Solved Waqas Arif70067876
SAD ASS 1 Solved Waqas Arif70067876
Assignment 1
Submitted by:
M Waqas Arif
70067876
Section T
Submitted to:
Resp. Sir Yahiyah sb
➢ Type of diagrams
• Use case diagram.
• Component diagram.
• Sequence diagram.
• State diagram.
• Activity diagram.
• Class diagram.
➢ Advantages
• UML saves a lot of time.
• UML save a lot of human effort.
• UML eases the development process.
• UML saves the developer from making unnecessary mistakes.
➢ Component diagram
• UML component diagram is used to wire small components together to form a larger
component.
• Component diagram is used to model physical aspects of a system.
• This diagram is use to visualize the relationships and collaboration of components with one
another.
• It does not describe the functionality of the system but it describes the elements that are used
to build those functionalities.
• It is used during the implementation phase of the system.
➢ Sequence diagram
• Sequence diagram shows the interaction between classes in terms of information exchange
over time.
• It is also known as event diagram.
• It is used to validate many runtime scenarios.
• This diagram helps to predict how the system that is going to build will behave.
• This diagram is also used to gather requirements by software engineers.
➢ State diagram
• State diagram is use to state the events responsible for change in state.
• It describes the behavior of a single object in response to a series of events in a system.
• It consists of states, transitions, events, and activities.
• It is also referred to as State machines.
• It shows the changes in state, not the processes that created those changes.
➢ Activity diagram
• Activity diagram is basically a flowchart.
• It represents the flow from one activity to another activity.
• It is also called object-oriented flowchart.
• It visually presents a series of actions or flow of control in a system.
• It has an initial state and a final state.
➢ Class diagram
• Class diagram is use to show many classes are going to be declared in coding phase.
• It also shows the attributes and functions in a class.
• It also shows the communication between the classes.
• It is the main building block of object-oriented modeling.
• Class diagrams can also be used for data modeling.