Professional Documents
Culture Documents
GROUP 5
IBRAHIM BIT-1-3128-3/2022
ISHAQ AZZY BIT-1-2565-2/2022
ALVIN OBONYO BIT-1-0821-1/2017
CONTEXT MODEL
The model show how the system being modeled is place in an environment with other system
They show what lies outside the boundaries however they don’t show the type of relationship
between the system and environment and the system that need to be specified
It involves working with system stakeholders to decide what functionality should be included in
the system
These sytem are interconnected to each other and it forms the context of the
catering company it is a simple context with shows how the system should work
Advantage of context
1. avoid duplicating data
Disadvantages
1. using another system may make it slower to access information
INTERACTION MODELS
• Modeling user interaction is important as it helps to identify user requirements.
• Modeling system-to-system interaction highlights the communication problems that may
arise
• Modeling component interaction helps us understand if a proposed system structure is likely
to deliver the required system performance and dependability
• Use case diagrams and sequence diagrams may be used for interaction modelling
STRUCTURAL MODELS
Structural modelling captures the static features of a system. they consist of
• Class diagram
• Object diagram
• Component diagram
• Deployment diagram
Static features means fixed or stationary condition
-The purpose of structural models is, to reduce the “semantic gap” between the real world and
the world of the software. Communication should be established between the real world of the
system
-Creates a vocabulary for analysts and users
-Represent things,ideas and concepts of importance in the application domain.
-class diagram is the most widely used structural diagram.
Essential elements of a UML class diagram
• class
• attributes operations
• operations
• relationships-under relationship there are; association, generation. dependency, realization.
A class Is the description of a set of objects having similar attributes, operations, relationships
and behaviour.
Window
Size: size
Visibility: Boolean
display()
hide()
Class name
Attributes
Operations
Relationships in class diagram
1)Association-it is a structural relationship specifying that object of one class are connected to
object of a secong class.eg;An employee works for a company
3)composition-a strong form of aggregation, the whole is the sole owner of its parts.
-The part object may belong to only one whole
-multiplicity on the whole side must be zero or one
4)generalization-indicates the objects of the specialized class(subclass)are substitutable for
objects of the generalized class (superclass)
->” is kind of relationship
5)realization-it indicates that one class implements a behaviour specified by another class(an
interface)
-an interface can be realized by many classes
a) Structural model
b) Context model
c) Behavioral model
d) Interaction model
Answer: b
Explanation: Context models are used to illustrate the operational context of a system. They
show what lies outside the system's boundaries.
Data-Driven models many business systems are data processing systems that are primarily
driven by data. They are controlled by the data input to the system, with relatively little external
event processing data-driven models to show the sequence of actions involved in processing
input data and generating an associated output.
They are particularly useful during the analysis of requirements as they can be used to show
end-to-end processing in a system.
Event-driven modelling
Real-time systems are often event-driven, with minimal data processing. For example, a landline
phone switching system responds to events such as ‘receiver off hook’ by generating a dial
tone.
Event-driven modelling shows that a system responds to external and internal events.
It is based on the assumption that a system has a finite number of states and that events may
cause a transition from one state to another.
Pros
Allow the system to be considered at higher levels of abstraction
Generating code automatically means that it is cheaper to adapt the system to new platforms.
Cons
Models of abstraction and not necessarily right for implementation.
Savings from generating code may be outweighed by the costs of developing translators for
new platforms.
Types of model
A computation Independent Model CIM These models are the important domain abstraction
used in a system. Theft is sometimes called Domain names.
A Platform Independent model
These models are the operation of the system without reference to its implementation. The PIM
model is usually described using UML.
Platform special model (PSM) These are transformations of the platform-independent model
with a separate PSM for each application platform. In the principle, there may be layers of PSM,
with each layer adding some platform-specific detail.
Questions
What are the 4 basic components of behavioural modelling?
● Modeling
● Retention
● Rehearsal
● Feedback
Adoption of MDA
A range of factors has limited the adoption of MDE/MDA.
Specialized tool support is required to convert models from one level to another.
The limited tool availability and organizations may require tool adoption and customization to
their environment.
For the long-lifetime systems developed using MDA, companies are reluctant to develop their
own tools or rely on small companies that may go out of business.
Models are a good way of facilitating discussions about software design. However, the
abstractions that are useful for discussions may not be the right abstractions for implementation.
The widespread adoption of agile methods over the same period that MDA was evolving has
directed attention away from model-driven approaches.