SlideShare a Scribd company logo
Lecture Five
System Modeling
Assistant Lecturer Huda A. Alameen
hudaa.alameen@uokufa.edu.iq
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.
Introduction
The Unified Modeling Language (UML) is a general purpose,
developmental, modeling language in the field of software
engineering, that is intended to provide a standard way to visualize
the design of a system.
The elements are like components which can be associated
in different ways to make a complete UML pictures which is known
as diagram. So it is very important to understand the different
diagrams to implement the knowledge in real life systems.
Unified Modeling Language
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.
System Modeling
You may develop models of both the existing system and the
system to be developed
Models of the existing system are used during requirements
engineering.
Models of the new system are used during requirements
engineering to help explain the proposed requirements to other
system stakeholders.
You may develop different models to represent the system from
different perspectives.
System Modeling
UML Five Diagram Types
1. Activity diagrams
2. Use case diagrams
3. Sequence diagrams
4. Class diagrams
5. State diagrams
Context Models
Context models are used to illustrate the operational context of a
system - they show what lies outside the system boundaries.
Social and organizational concerns may affect the decision on
where to position system boundaries.
Architectural models show the system and its relationship with
other systems.
System boundaries
System boundaries are established to define what is inside and
what is outside the system.
They show other systems that are used or depend on the system
being developed.
The position of the system boundary has a profound effect on
the system requirements.
Defining a system boundary is a political judgment
There may be pressures to develop system boundaries that
increase / decrease the influence or workload of different parts
of an organization.
The context of the Mentcare system
where an automated
system is replacing an
existing manual or
computerized system,
the environment of the
new system is usually
the same as the existing
system’s environment.
Interaction models
 All systems involve interaction of some kind. This can be user interaction,
which involves user inputs and outputs, interaction between the system being
developed and other systems or interaction between the components of the
system.
1. External Interaction
2.Internal Interaction
 Use case modeling, which is mostly used to model interactions between a system
and external actors (users or other systems).
 Sequence diagrams, which are used to model interactions between system
components, although external agents may also be included.
Note:-
Use case models and sequence diagrams present interaction at different levels of
detail and so may be used together.
Use Case Modeling
 Each use case represents a discrete task that involves external interaction with a system.
 A use case is shown as an ellipse with the actors involved in the use case represented.
 Notice that there are two actors in this use case: the operator who is transferring the data
and the patient record system. The stick figure notation was originally developed to cover
human interaction but it is also now used to represent other external systems and
hardware. Formally, The arrows in the UML indicate the direction of flow of messages.
A use case in the Mentcare system
Tabular description of the ‘Transfer
data’ usecase
MHC-PMS: Transfer data
Actors Medical receptionist, patient records system (PRS)
Description A receptionist may transfer data from the Mentcase
system to a general patient record database that is
maintained by a health authority. The information
transferred may either be updated personal information
(address, phone number, etc.) or a summary of the
patient’s diagnosis and treatment.
Data Patient’s personal information, treatment summary
Stimulus User command issued by medical receptionist
Response Confirmation that PRS has been updated
Comments The receptionist must have appropriate security
permissions to access the patient information and the
PRS.
Use cases in the Mentcare system involving
the role ‘Medical Receptionist’
System Modeling
Sequence diagrams
 Sequence diagrams in the UML are primarily used to model the interactions
between the Actors and the Objects in a system and the interactions between
the objects themselves.
 A sequence diagram shows the sequence of interactions that take place during
a particular use case or use case instance.
Mechanisms
 The objects and actors involved are listed along the top of the
diagram, with a dotted line drawn vertically from these.
 Interactions between objects are indicated by annotated arrows.
 The rectangle on the dotted lines indicates the lifeline of the object
concerned (i.e., the time that object instance is involved in the
computation).
 You read the sequence of interactions from top to bottom. The
annotations on the arrows indicate the calls to the objects, their
parameters, and the return values.
Sequence diagram for View patient
information
Structural Models
 Structural models of software display the organization of a system in
terms of the components that make up that system and their
relationships.
 Structural models:
1.Static Model
2.Dynamic Model
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.
 When you are developing models during the early stages of the software
engineering process, objects represent something in the real world, such
as a patient, prescription, a doctor, etc.
 As an implementation is developed, you usually need to define additional
implementation objects that are used to provide the required system
functionality.
Class Name Attributes
Operations
OOR(Object Oriented Relationship)
 There are two Kinds of Relationship:
1.Generalization
2.Association(Aggregation and Composition )
Generalization
Association
System Modeling

More Related Content

DOCX
ER diagrams for blood bank management system
PDF
online Blood Bank management system
PPTX
Tcp presentation
DOCX
Blood Bank Management System
PDF
Blood bank management system
PPTX
ONLINE BLOOD BANKING SYSTEM
PDF
Blood Bank Management System
PPTX
Viewing transformation
ER diagrams for blood bank management system
online Blood Bank management system
Tcp presentation
Blood Bank Management System
Blood bank management system
ONLINE BLOOD BANKING SYSTEM
Blood Bank Management System
Viewing transformation

What's hot (20)

DOC
Online blood bank management system
PPT
Sorting network
PPT
Blood Bank Management System by CDAC
PPTX
Attributes of output primitives( curve attributes & area fill attributes)
PDF
Full report on blood bank management system
DOCX
online blood bank system design
PPTX
Blood bank
PPTX
Extended relational algebra
PPT
Chapter3
PPTX
Blood bank system Project PPT
PPTX
open system interconnection
PPT
Global Trends Of It Outsourcing.
PPTX
Blood Bank Management System
DOCX
Matrimonial web site Documentation
PPTX
Specialization and generalization quizz
PPTX
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
PPTX
Digital Differential Analyzer Line Drawing Algorithm
PPT
DOCX
Creating a data report in visual basic 6
PPTX
Blood Bank Management System (including UML diagrams)
Online blood bank management system
Sorting network
Blood Bank Management System by CDAC
Attributes of output primitives( curve attributes & area fill attributes)
Full report on blood bank management system
online blood bank system design
Blood bank
Extended relational algebra
Chapter3
Blood bank system Project PPT
open system interconnection
Global Trends Of It Outsourcing.
Blood Bank Management System
Matrimonial web site Documentation
Specialization and generalization quizz
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
Digital Differential Analyzer Line Drawing Algorithm
Creating a data report in visual basic 6
Blood Bank Management System (including UML diagrams)
Ad

Similar to System Modeling (20)

PPTX
System Modelling
PDF
Systemprocessing 160107234141
PDF
Software engineering ,system modeing >>Abu ul hassan sahadvi
PPTX
Module 2 17CS45
PPT
Chap 5 - System Modeling Part 1.ppt
PPT
Chap 5 - System Modeling Part 1.ppt
PPTX
Software Engineering System Modeling (Context models)
PDF
SE Complete notes mod 4 &5.pdf
PPTX
Ch5- Software Engineering 9
PPTX
Ch5 - System Modeling
PDF
ch5systemmodeling-150102101848-conversion-gate01.pdf
PPTX
Ch5 System modeling globally availabless
PPTX
UML and Software Modeling Tools.pptx
PPTX
software engineering Chapter 5 System modeling.pptx
PPT
2.2. Software cycle Models-System_Models.ppt
DOCX
Course NumberCourse SectionCourse Name.docx
PPT
SystemModel5PresentationSYSTEMSmodeling.ppt
PPT
Below the tectonic plates lies the Earth’s asthenosphere. The asthenosphere b...
PPT
System Modelling
Systemprocessing 160107234141
Software engineering ,system modeing >>Abu ul hassan sahadvi
Module 2 17CS45
Chap 5 - System Modeling Part 1.ppt
Chap 5 - System Modeling Part 1.ppt
Software Engineering System Modeling (Context models)
SE Complete notes mod 4 &5.pdf
Ch5- Software Engineering 9
Ch5 - System Modeling
ch5systemmodeling-150102101848-conversion-gate01.pdf
Ch5 System modeling globally availabless
UML and Software Modeling Tools.pptx
software engineering Chapter 5 System modeling.pptx
2.2. Software cycle Models-System_Models.ppt
Course NumberCourse SectionCourse Name.docx
SystemModel5PresentationSYSTEMSmodeling.ppt
Below the tectonic plates lies the Earth’s asthenosphere. The asthenosphere b...
Ad

More from Huda Alameen (20)

PDF
Architectural design
PDF
Requirements Engineering
PDF
Java Repetiotion Statements
PDF
Java input Scanner
PDF
Java Print method
PDF
Softweare Engieering
PDF
Softweare Engieering
PDF
Structured query language(sql)
PDF
Sql viwes
PDF
Relational algebra
PDF
Normalization
PDF
Lecture one db
PDF
Introduction to structured query language
PDF
Indexing techniques
PDF
Agg fun
PDF
Se lec1 (1)
PDF
Se lec6
PDF
Se lec5
PDF
Se lec 4
PDF
Se lec 3
Architectural design
Requirements Engineering
Java Repetiotion Statements
Java input Scanner
Java Print method
Softweare Engieering
Softweare Engieering
Structured query language(sql)
Sql viwes
Relational algebra
Normalization
Lecture one db
Introduction to structured query language
Indexing techniques
Agg fun
Se lec1 (1)
Se lec6
Se lec5
Se lec 4
Se lec 3

Recently uploaded (20)

PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Construction Project Organization Group 2.pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
composite construction of structures.pdf
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPT
Mechanical Engineering MATERIALS Selection
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
Safety Seminar civil to be ensured for safe working.
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Internet of Things (IOT) - A guide to understanding
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Operating System & Kernel Study Guide-1 - converted.pdf
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Construction Project Organization Group 2.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
composite construction of structures.pdf
R24 SURVEYING LAB MANUAL for civil enggi
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
Foundation to blockchain - A guide to Blockchain Tech
CYBER-CRIMES AND SECURITY A guide to understanding
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Mechanical Engineering MATERIALS Selection
III.4.1.2_The_Space_Environment.p pdffdf
Safety Seminar civil to be ensured for safe working.

System Modeling

  • 1. Lecture Five System Modeling Assistant Lecturer Huda A. Alameen hudaa.alameen@uokufa.edu.iq
  • 2. 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. Introduction
  • 3. The Unified Modeling Language (UML) is a general purpose, developmental, modeling language in the field of software engineering, that is intended to provide a standard way to visualize the design of a system. The elements are like components which can be associated in different ways to make a complete UML pictures which is known as diagram. So it is very important to understand the different diagrams to implement the knowledge in real life systems. Unified Modeling Language
  • 4. 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.
  • 5. System Modeling You may develop models of both the existing system and the system to be developed Models of the existing system are used during requirements engineering. Models of the new system are used during requirements engineering to help explain the proposed requirements to other system stakeholders. You may develop different models to represent the system from different perspectives.
  • 6. System Modeling UML Five Diagram Types 1. Activity diagrams 2. Use case diagrams 3. Sequence diagrams 4. Class diagrams 5. State diagrams
  • 7. Context Models Context models are used to illustrate the operational context of a system - they show what lies outside the system boundaries. Social and organizational concerns may affect the decision on where to position system boundaries. Architectural models show the system and its relationship with other systems.
  • 8. System boundaries System boundaries are established to define what is inside and what is outside the system. They show other systems that are used or depend on the system being developed. The position of the system boundary has a profound effect on the system requirements. Defining a system boundary is a political judgment There may be pressures to develop system boundaries that increase / decrease the influence or workload of different parts of an organization.
  • 9. The context of the Mentcare system where an automated system is replacing an existing manual or computerized system, the environment of the new system is usually the same as the existing system’s environment.
  • 10. Interaction models  All systems involve interaction of some kind. This can be user interaction, which involves user inputs and outputs, interaction between the system being developed and other systems or interaction between the components of the system. 1. External Interaction 2.Internal Interaction  Use case modeling, which is mostly used to model interactions between a system and external actors (users or other systems).  Sequence diagrams, which are used to model interactions between system components, although external agents may also be included. Note:- Use case models and sequence diagrams present interaction at different levels of detail and so may be used together.
  • 11. Use Case Modeling  Each use case represents a discrete task that involves external interaction with a system.  A use case is shown as an ellipse with the actors involved in the use case represented.  Notice that there are two actors in this use case: the operator who is transferring the data and the patient record system. The stick figure notation was originally developed to cover human interaction but it is also now used to represent other external systems and hardware. Formally, The arrows in the UML indicate the direction of flow of messages.
  • 12. A use case in the Mentcare system
  • 13. Tabular description of the ‘Transfer data’ usecase MHC-PMS: Transfer data Actors Medical receptionist, patient records system (PRS) Description A receptionist may transfer data from the Mentcase system to a general patient record database that is maintained by a health authority. The information transferred may either be updated personal information (address, phone number, etc.) or a summary of the patient’s diagnosis and treatment. Data Patient’s personal information, treatment summary Stimulus User command issued by medical receptionist Response Confirmation that PRS has been updated Comments The receptionist must have appropriate security permissions to access the patient information and the PRS.
  • 14. Use cases in the Mentcare system involving the role ‘Medical Receptionist’
  • 16. Sequence diagrams  Sequence diagrams in the UML are primarily used to model the interactions between the Actors and the Objects in a system and the interactions between the objects themselves.  A sequence diagram shows the sequence of interactions that take place during a particular use case or use case instance.
  • 17. Mechanisms  The objects and actors involved are listed along the top of the diagram, with a dotted line drawn vertically from these.  Interactions between objects are indicated by annotated arrows.  The rectangle on the dotted lines indicates the lifeline of the object concerned (i.e., the time that object instance is involved in the computation).  You read the sequence of interactions from top to bottom. The annotations on the arrows indicate the calls to the objects, their parameters, and the return values.
  • 18. Sequence diagram for View patient information
  • 19. Structural Models  Structural models of software display the organization of a system in terms of the components that make up that system and their relationships.  Structural models: 1.Static Model 2.Dynamic Model
  • 20. 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.  When you are developing models during the early stages of the software engineering process, objects represent something in the real world, such as a patient, prescription, a doctor, etc.  As an implementation is developed, you usually need to define additional implementation objects that are used to provide the required system functionality.
  • 22. OOR(Object Oriented Relationship)  There are two Kinds of Relationship: 1.Generalization 2.Association(Aggregation and Composition )