CMPT After Midterm Flashcards
(99 cards)
What is System Modelling?
System modeling is the process of developing abstract models of a
system, with each model presenting a different view or perspective
of that system.
System modeling has now come to mean representing a system
using some kind of graphical notation, which is now almost always
based on notations in the Unified Modeling Language (UML).
System modelling helps the analyst to understand the functionality
of the system and models are used to communicate with customers.
Abstraction
Is the act of representing essential features without including the background details or explanations
used to reduce complexity and allow efficient design and implementation of complex design
What is UML
UML is a way of visualizing a software program using a collection of diagrams
UML DIagram Types
- Activity diagrams, which show the activities involved in a process or
in data processing . - Use case diagrams, which show the interactions between a system
and its environment. - Sequence diagrams, which show interactions between actors and the
system and between system components. - Class diagrams, which show the object classes in the system and the
associations between these classes. - State diagrams, which show how the system reacts to internal and
external events
An external perspective
where you model the context or
environment of the system.
interaction perspective
where you model the interactions
between a system and its environment, or between the components
of a system.
A structural perspective
Where you model the organization of a
system or the structure of the data that is processed by the system.
A behavioral perspective,
where you model the dynamic behavior of the system and how it responds to events.
System boundaries
- System boundaries are established to define what is inside and what
is outside the system.
Interaction Model
An overarching set of design patterns that are consistent throughout an application
Use Case Modeling
The Use Case Model describes the proposed functionality of the new
system.
- A Use Case represents a discrete unit of interaction between a user
(human or machine) and the system. - A Use Case is a single unit of meaningful work; for example login to
system, register with system and create order are all Use Cases.
Sequence Diagrams
Sequence diagrams are part of the UML and are used to model the
interactions between the actors and the objects within a system.
- A sequence diagram shows the sequence of interactions that take
place during a particular use case or use case instance.
Context Model
How context data are structured and maintained also demonstrates the other systems in the environment
of the system being developed
Interaction Models: Sommerville
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 modeling.
Use case modeling
The Use Case Model describes the proposed functionality of the new
system.
- A Use Case represents a discrete unit of interaction between a user
(human or machine) and the system.
Class Diagrams
Class diagrams are used when developing an object-oriented system
model to show the classes in a system and the associations between
these classes.
Generalization
- Generalization is an everyday technique that we use to manage
complexity. - Rather than learn the detailed characteristics of every entity that we
experience, we place these entities in more general classes (animals,
cars, houses, etc.) and learn the characteristics of these classes.
Object Class Aggregation Models
A class that is a collection of other classes
ex car - engine, windows, brake
Behavioral Model
Behavioral models are models of the dynamic behavior of a system as
it is executing. They show what happens or what is supposed to
happen when a system responds to a stimulus from its environment.
two types:
* Data Some data arrives that has to be processed by the system.
* Events Some event happens that triggers system processing. Events may have associated data, although this is not always the case.
Data-Driven Modelling
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 show the sequence of actions involved in
processing input data and generating an associated output.
Event Driven Modeling
Real-time systems are often event-driven, with minimal data processing.
State Machine Model
Model the behaviour of the system in response to external and internal events
Computer Hardware Architecture
The set if rules and methods that describe the functionality, organization, and implementations of computer systems
Software Architecture
refers to the fundamental structures of
a software system, the discipline of creating such structures,
and the documentation of these structures.
As an example, the systems that controlled the space
shuttle launch vehicle had the requirement of being
very fast and very reliable.