Professional Documents
Culture Documents
Assignment # : 05
Subject : “CS-511-Software
Engineering-II”
Q1: Explain Collaboration Diagram in UML with example.
Answer:
Collaboration Diagram in UML:
Collaboration diagrams are also known as communication diagrams. They can
demonstrate how objects communicate to execute a specific use case's actions or an
aspect of a use case. Designers can use collaboration diagrams to explain and identify
the roles of objects performing a specific flow of events in a use case. They are the main
information source used to establish class roles and interfaces.
Collaboration diagrams have been used to envision the structural organization and
interactions between objects. At the other hand, sequence diagrams concentrate on the
order of messages moving in between objects. Nonetheless, a single figure is not
enough in most situations to explain a system's behavior, so both diagrams are
necessary.
Symbols and Components of Collaboration Diagram-
Links: Links connect objects as well as actors. These are cases of associations, and
each link within the class diagram relates to a connection.
Actor: Typically an instance of the actor exists as the beginning of the interaction
in the relationship. If multiple instances of actors are present in the same
diagram, focus on keeping them towards the outside of the diagram.
Object: An object is depicted by an object symbol displaying the object's name,
and underlining its class, differentiated by a colon.
Message A message is an interaction between objects conveying information
with the belief that the action will follow. A message is displayed in collaboration
diagrams as a labelled arrow, located near a link.
Collaboration Diagram Examples:
Diagram 1: Purchase Journey-
This example depicts a collaboration diagram of an admin panel. It shows the user
signing in using their unique Id to access an interface of profiles, products, etc.
Summary:
Collaboration diagrams are particularly well suited for depicting simplistic interactions
between small numbers of objects. While collaboration diagrams are not used as
frequently as sequence diagrams, they are an incredibly useful aspect of UML. It helps to
envision, in a single diagram, all the complex dimensions of collaboration and the
relationships between objects.
Q2: Discuss System Design Process with Examples?
Answer:
Definition:
Systems design is the process of defining elements of a system like modules, architecture,
components and their interfaces and data for a system based on the specified requirements. It
is the process of defining, developing and designing systems which satisfies the specific needs
and requirements of a business or organization.
In this phase, the complex activity of system development is divided into several smaller sub-activities,
which coordinate with each other to achieve the main objective of system development.
Logical design pertains to an abstract representation of the data flow, inputs, and outputs of the
system. It describes the inputs (sources), outputs (destinations), databases (data stores),
procedures (data flows) all in a format that meets the user requirements.
While preparing the logical design of a system, the system analyst specifies the user needs at
level of detail that virtually determines the information flow into and out of the system and the
required data sources. Data flow diagram, E-R diagram modeling are used.
Physical Design-
Physical design relates to the actual input and output processes of the system. It focuses on
how data is entered into a system, verified, processed, and displayed as output.
It produces the working system by defining the design specification that specifies exactly what
the candidate system does. It is concerned with user interface design, process design, and data
design.
Specifying the input/output media, designing the database, and specifying backup procedures.
Devising a test and implementation plan, and specifying any new hardware and software.
Architectural Design-
It is also known as high level design that focuses on the design of system architecture. It
describes the structure and behavior of the system. It defines the structure and relationship
between various modules of system development process.
Detailed Design
It is representation of organizational data which includes all the major entities and relationship.
System analysts develop a conceptual data model for the current system that supports the
scope and requirement for the proposed system.
The main aim of conceptual data modeling is to capture as much meaning of data as possible.
Most organization today use conceptual data modeling using E-R model which uses special
notation to represent as much meaning about data as possible.
a. Unified Modelling Language (UML): To describe software both structurally and behaviorally with
graphical notation.
c. Business Process Modelling Notation (BPMN): Used for Process Modelling language.
Design methods:
1) Architectural design: To describes the views, models, behaviour, and structure of the system.
2) Logical design: To represent the data flow, inputs and outputs of the system. Example: ER Diagrams
(Entity Relationship Diagrams).
3) Physical design: Defined as a) How users add information to the system and how the system
represents information back to the user. b) How the data is modeled and stored within the system. c)
How data moves through the system, how data is validated, secured and/or transformed as it flows
through and out of the system.
System Design Process Examples: