SlideShare a Scribd company logo
Data and Functional Modeling

                                      Saranya.V
                                       AP/CSE,
 Sri Vidya College of Engineering & Technology,
                                  Virudhunagar
Introduction


• Data Modeling in software Engineering is the process
  of creating a data model by applying formal data
  model descriptions using data modeling techniques.

• Used to define and analyze data requirements needed
  to support the business processes of an organization.

• Data requirements are recorded as a Conceptual
  Model.

• Implementation of Conceptual model is called as
  logical model.
Uses of Data Modeling

• Manage data as a resource.

• For the integration of information systems

• For designing databases, data warehouses and
  data repositories.
Tasks in Data Modeling
• Application developer should know the fundamentals of data
  modeling in order to work effectively with Database
  Administrator(DBA).
   • Identify entity types

   • Identify attributes

   • Apply naming conventions

   • Identify relationships

   • Assign keys

   • Apply data model patterns

   • Normalize to reduce data redundancy

   • Denormalize to improve performance.
Entity/Relationship diagrams or a
  Complete Data Model

• Entity/Relationship Diagram(ER Diagram) is an abstract
  and conceptual representation of data.

• ER modeling is a database modeling method used to
  produce a type of conceptual schema or semantic data
  model of a system.

• Diagrams created by this process are called Entity
  Relationship Diagrams, ER diagrams or ERD’s
Entity and Entity sets
• Entity is an object that exists and is distinguishable from
  other objects.

• An Entity may be Concrete (a Person, book, etc) or
  Abstract (like bank account)

• An Entity Set is a Set of entities of the same type. (all
  persons having an account at a bank)

• Entity sets may not be a disjoint. (example Entity set
  Employee (all employees of a bank) and the entity set
  customer(all customers of the bank) may have members in
  common.
:
 Similarity between ERD and programming
language notation
• A Entity represented as a Set of Attributes.
   • Name , Street, city, id customer entity
• The domain of the attribute is the set of permitted values(ph
  number has minimum 7 to 10 digits)
• Every entity is described by a set of (attribute and value)
  pairs.
• Ex:
• Customer: Entity
{(name,priya),(id,1111),(street,North),(city,Chennai)
  }
• Entity set corresponds to the programming language
  type definition.
• Programming language variable corresponds to an entity
  in the ER model.
• Five entity sets:
   • Branch  set of all branches of a particular bank.
   • Customer set of all people having an account at
      the bank
   • Employee with attributes(name and ph num
      )
   • Account  set of all accounts created and
      maintained in the bank.
   • Transaction  set of all account transactions
Relationships and Relationship Sets

• Relationship is an association between several
  entities.
• Relationship set is a set of relationships of the same type.
   • A role of an Entity is the function it plays in a
      Relationship.
   • Relationship “Works for”              ordered pairs of
      “Employee” .
   • Attributes:
Employee  Entity Set
Attributes  Employee name, Employee phone-number
The phone be treated as an entity itself, with attributes phone
  number and location.
Mapping Constraints or Cardinality
• ER scheme may define certain constraints.
• Mapping Cardinalities: express the number of entities
  to which another entity can be associated via a
  relationship. A and B relationship must be:
• One to One: A is associated with at most one entity in
  B and B is associated with at must one entity in A.
• One to Many: A is associated with any number in B. An
  entity in B is associated with at most one entity in A.
• Many to One: An entity in A is associated with at most
  one entity in B. An entity in B is associated with any
  number in A.
• Many to Many: Entities in A and B are associated with
  any number from each other.
• Existence Dependency:       if the existence of entity X
  depends on the existence of entity Y then X is said to be
  existence Dependent on Y.
Entity Relationship Diagram:
• Graphical Representation:
• Rectangles: entity sets

• Ellipses: attributes

• Diamonds: relationship sets

• Lines: Linking attributes to entity sets to relationship
  sets.
One to One Entity Relationship



             1:1         1:1
                                 Register
   Student
                                  Num
One to Many Entity Relationship


           1:M

Football               Players
 Team
                 1:M
Many to One Entity Relationship


            M:1


customers               Bank
                  M:1
Many to Many Entity Relationship


            M:M


 Student                    Subject
                    M:M
Functional Model
 • Structures Representation of the functions or process
   within the subject area.

 • Also known as activity model or process model.

 • Graphical representation.

 • Used to describe the functions and processes.

 • Identify opportunities.
Data Flow Diagram
• Shows the flow of data through a system.

• Any complex system will not perform the transformation
  in a “single Step”.

• It aims to capture the transformations that take place
  within the system to the input data so that eventually
  the output data is produced.

• Input to output transformations is called “ Process”.

• 2 types:

   • Physical  used in “Analysis phase”

   • Logical  “Design Phase”.
Elements of Data Flow Diagram:

                     External Entity
• External Entity:



• Processes:          Processes




                        Data Store
• Data Store :
                                       or
• Data Flow:

                     Data flow

• External Entity : determine the system boundary.
                • May represent the another system.
• Processes: work or actions (no subject)
                • Inputs and outputs
                • Always “Running” state
                • Major functions are Computations
                  and making decisions.
• Data Store: act as repository.
      • Temp or permanent.
      • 2 or more systems can share the data.
Rules for drawing DFD:
 • Process must have one input and one output flow.

 • Never label a process with an IF-Then statement.

 • Never show time dependency directly on DFD.

 • A process begins to perform its tasks as soon as it received the
    necessary input data flows.

 • A primitive process performs a single Well-Defined Function.

 • Be sure that data Stores, Data Flows, Data Processes have
    descriptive titles. Processes should use imperative verbs to project
    action.

 • All processes receive and generate at least one data flow.

 • Begin/End data flows with the Bubble.
Data and functional modeling
Data and functional modeling
Data and functional modeling
Guidelines for drawing DFD:
• Identify the key processing system.
• Process bubbles should be arranged from top left to
  bottom right.
• Name each data flow with noun.
• Data stores and destinations are also named with noun.
• Number the each processes.(1.0, 2.0) name the
  process with verb.
• Summarize the entire system as one bubble and shows
  inputs and outputs to a system.
• Don’t change the inputs and outputs.
• Do not try to put everything know on the DFD.
Functional Modeling Methods

• Functional Flow Block Diagram.

• N2 chart.

• IDEFO

• Axiomatic Design

• Operator Function Model

• Business Process Modeling Notation.

• HIPO and IPO hierarchical input process output.

More Related Content

What's hot (20)

PPT
3.2 The design model & Architectural design.ppt
THARUNS44
 
PPTX
Design Concept software engineering
Darshit Metaliya
 
PPT
08 state diagram and activity diagram
Baskarkncet
 
PPTX
Deadlock dbms
Vardhil Patel
 
PPT
Architecture design in software engineering
Preeti Mishra
 
PPTX
Cocomo model
Baskarkncet
 
PDF
Software Designing - Software Engineering
Purvik Rana
 
PPT
Object Oriented Design in Software Engineering SE12
koolkampus
 
PPT
Unit 4
gopal10scs185
 
PPT
Software design
Benazir Fathima
 
PPTX
Software design
Syed Muhammad Hammad-ud-Din
 
PPTX
Overview of UML Diagrams
Manish Kumar
 
PPT
UML
iQra Rafaqat
 
PPT
Uml in software engineering
Mubashir Jutt
 
PPTX
Software Project Management
NoorHameed6
 
PPTX
Object Oriented Analysis & Design
Meghaj Mallick
 
PPTX
Software Process Models
Hassan A-j
 
PPT
Data Flow Diagram
nethisip13
 
3.2 The design model & Architectural design.ppt
THARUNS44
 
Design Concept software engineering
Darshit Metaliya
 
08 state diagram and activity diagram
Baskarkncet
 
Deadlock dbms
Vardhil Patel
 
Architecture design in software engineering
Preeti Mishra
 
Cocomo model
Baskarkncet
 
Software Designing - Software Engineering
Purvik Rana
 
Object Oriented Design in Software Engineering SE12
koolkampus
 
Software design
Benazir Fathima
 
Overview of UML Diagrams
Manish Kumar
 
Uml in software engineering
Mubashir Jutt
 
Software Project Management
NoorHameed6
 
Object Oriented Analysis & Design
Meghaj Mallick
 
Software Process Models
Hassan A-j
 
Data Flow Diagram
nethisip13
 

Similar to Data and functional modeling (20)

PPTX
data Modelling in Database introduction and design.pptx
kbjoash1
 
PPTX
ER modeling
Dabbal Singh Mahara
 
PPTX
uml.pptx
amanuel236786
 
PPTX
Software prototyping.pptx
DrTThendralCompSci
 
PDF
WBC Entity Relationship and data flow diagrams
ArshitSood3
 
PDF
Relational data base management system (Unit 1)
Ismail Mukiibi
 
PPTX
Introduction of Database Design and Development
Er. Nawaraj Bhandari
 
DOCX
Database DESIGN CONCEPTSDr. Dexter Francis2Data Design
OllieShoresna
 
PPTX
Unit-1-DBMS-SUN-4 everything you need to know.pptx
nirajsharmapuneiat
 
PPTX
Unit 2_DBMS_10.2.22.pptx
MaryJoseph79
 
PDF
DATABASE DESIGNS ER DIAGRAMS REATIONA; ALGEBRA
saranyaksr92
 
PDF
Relational data base and Er diagema Normalization
saranyaksr92
 
PPT
Database design
FLYMAN TECHNOLOGY LIMITED
 
PPT
Data Modelling on the Relation between two or more variables
AminuHassanJakada1
 
PPTX
Database Management System
VasanthiMuniasamy2
 
PDF
SQL Tutorial - Basics of Structured Query Language Day 1.pdf
RiturajDas28
 
PPTX
Structured system analysis and design
Jayant Dalvi
 
PPTX
database
MonirHossain707319
 
PPTX
DBMS Class 3
Dr. Mazin Mohamed alkathiri
 
PPTX
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
JasmineMichael1
 
data Modelling in Database introduction and design.pptx
kbjoash1
 
ER modeling
Dabbal Singh Mahara
 
uml.pptx
amanuel236786
 
Software prototyping.pptx
DrTThendralCompSci
 
WBC Entity Relationship and data flow diagrams
ArshitSood3
 
Relational data base management system (Unit 1)
Ismail Mukiibi
 
Introduction of Database Design and Development
Er. Nawaraj Bhandari
 
Database DESIGN CONCEPTSDr. Dexter Francis2Data Design
OllieShoresna
 
Unit-1-DBMS-SUN-4 everything you need to know.pptx
nirajsharmapuneiat
 
Unit 2_DBMS_10.2.22.pptx
MaryJoseph79
 
DATABASE DESIGNS ER DIAGRAMS REATIONA; ALGEBRA
saranyaksr92
 
Relational data base and Er diagema Normalization
saranyaksr92
 
Database design
FLYMAN TECHNOLOGY LIMITED
 
Data Modelling on the Relation between two or more variables
AminuHassanJakada1
 
Database Management System
VasanthiMuniasamy2
 
SQL Tutorial - Basics of Structured Query Language Day 1.pdf
RiturajDas28
 
Structured system analysis and design
Jayant Dalvi
 
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
JasmineMichael1
 
Ad

More from Slideshare (20)

PPTX
Crystal report generation in visual studio 2010
Slideshare
 
PPTX
Report generation
Slideshare
 
PPT
Trigger
Slideshare
 
PPTX
Security in Relational model
Slideshare
 
PPTX
Entity Relationship Model
Slideshare
 
PPTX
OLAP
Slideshare
 
PPTX
Major issues in data mining
Slideshare
 
PPTX
Data preprocessing
Slideshare
 
PPTX
What is in you
Slideshare
 
PPTX
Propositional logic & inference
Slideshare
 
PPTX
Logical reasoning 21.1.13
Slideshare
 
PPT
Logic agent
Slideshare
 
PPTX
Statistical learning
Slideshare
 
PPTX
Resolution(decision)
Slideshare
 
PPT
Reinforcement learning 7313
Slideshare
 
PPTX
Neural networks
Slideshare
 
PPTX
Instance based learning
Slideshare
 
PPTX
Statistical learning
Slideshare
 
PPTX
Neural networks
Slideshare
 
PPTX
Logical reasoning
Slideshare
 
Crystal report generation in visual studio 2010
Slideshare
 
Report generation
Slideshare
 
Trigger
Slideshare
 
Security in Relational model
Slideshare
 
Entity Relationship Model
Slideshare
 
Major issues in data mining
Slideshare
 
Data preprocessing
Slideshare
 
What is in you
Slideshare
 
Propositional logic & inference
Slideshare
 
Logical reasoning 21.1.13
Slideshare
 
Logic agent
Slideshare
 
Statistical learning
Slideshare
 
Resolution(decision)
Slideshare
 
Reinforcement learning 7313
Slideshare
 
Neural networks
Slideshare
 
Instance based learning
Slideshare
 
Statistical learning
Slideshare
 
Neural networks
Slideshare
 
Logical reasoning
Slideshare
 
Ad

Recently uploaded (20)

PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
PDF
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PPTX
How to Set Maximum Difference Odoo 18 POS
Celine George
 
PDF
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
How to Set Maximum Difference Odoo 18 POS
Celine George
 
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 

Data and functional modeling

  • 1. Data and Functional Modeling Saranya.V AP/CSE, Sri Vidya College of Engineering & Technology, Virudhunagar
  • 2. Introduction • Data Modeling in software Engineering is the process of creating a data model by applying formal data model descriptions using data modeling techniques. • Used to define and analyze data requirements needed to support the business processes of an organization. • Data requirements are recorded as a Conceptual Model. • Implementation of Conceptual model is called as logical model.
  • 3. Uses of Data Modeling • Manage data as a resource. • For the integration of information systems • For designing databases, data warehouses and data repositories.
  • 4. Tasks in Data Modeling • Application developer should know the fundamentals of data modeling in order to work effectively with Database Administrator(DBA). • Identify entity types • Identify attributes • Apply naming conventions • Identify relationships • Assign keys • Apply data model patterns • Normalize to reduce data redundancy • Denormalize to improve performance.
  • 5. Entity/Relationship diagrams or a Complete Data Model • Entity/Relationship Diagram(ER Diagram) is an abstract and conceptual representation of data. • ER modeling is a database modeling method used to produce a type of conceptual schema or semantic data model of a system. • Diagrams created by this process are called Entity Relationship Diagrams, ER diagrams or ERD’s
  • 6. Entity and Entity sets • Entity is an object that exists and is distinguishable from other objects. • An Entity may be Concrete (a Person, book, etc) or Abstract (like bank account) • An Entity Set is a Set of entities of the same type. (all persons having an account at a bank) • Entity sets may not be a disjoint. (example Entity set Employee (all employees of a bank) and the entity set customer(all customers of the bank) may have members in common.
  • 7. : Similarity between ERD and programming language notation • A Entity represented as a Set of Attributes. • Name , Street, city, id customer entity • The domain of the attribute is the set of permitted values(ph number has minimum 7 to 10 digits) • Every entity is described by a set of (attribute and value) pairs. • Ex: • Customer: Entity {(name,priya),(id,1111),(street,North),(city,Chennai) }
  • 8. • Entity set corresponds to the programming language type definition. • Programming language variable corresponds to an entity in the ER model. • Five entity sets: • Branch  set of all branches of a particular bank. • Customer set of all people having an account at the bank • Employee with attributes(name and ph num ) • Account  set of all accounts created and maintained in the bank. • Transaction  set of all account transactions
  • 9. Relationships and Relationship Sets • Relationship is an association between several entities. • Relationship set is a set of relationships of the same type. • A role of an Entity is the function it plays in a Relationship. • Relationship “Works for” ordered pairs of “Employee” . • Attributes: Employee  Entity Set Attributes  Employee name, Employee phone-number The phone be treated as an entity itself, with attributes phone number and location.
  • 10. Mapping Constraints or Cardinality • ER scheme may define certain constraints. • Mapping Cardinalities: express the number of entities to which another entity can be associated via a relationship. A and B relationship must be: • One to One: A is associated with at most one entity in B and B is associated with at must one entity in A. • One to Many: A is associated with any number in B. An entity in B is associated with at most one entity in A. • Many to One: An entity in A is associated with at most one entity in B. An entity in B is associated with any number in A. • Many to Many: Entities in A and B are associated with any number from each other.
  • 11. • Existence Dependency: if the existence of entity X depends on the existence of entity Y then X is said to be existence Dependent on Y.
  • 12. Entity Relationship Diagram: • Graphical Representation: • Rectangles: entity sets • Ellipses: attributes • Diamonds: relationship sets • Lines: Linking attributes to entity sets to relationship sets.
  • 13. One to One Entity Relationship 1:1 1:1 Register Student Num
  • 14. One to Many Entity Relationship 1:M Football Players Team 1:M
  • 15. Many to One Entity Relationship M:1 customers Bank M:1
  • 16. Many to Many Entity Relationship M:M Student Subject M:M
  • 17. Functional Model • Structures Representation of the functions or process within the subject area. • Also known as activity model or process model. • Graphical representation. • Used to describe the functions and processes. • Identify opportunities.
  • 18. Data Flow Diagram • Shows the flow of data through a system. • Any complex system will not perform the transformation in a “single Step”. • It aims to capture the transformations that take place within the system to the input data so that eventually the output data is produced. • Input to output transformations is called “ Process”. • 2 types: • Physical  used in “Analysis phase” • Logical  “Design Phase”.
  • 19. Elements of Data Flow Diagram: External Entity • External Entity: • Processes: Processes Data Store • Data Store : or
  • 20. • Data Flow: Data flow • External Entity : determine the system boundary. • May represent the another system. • Processes: work or actions (no subject) • Inputs and outputs • Always “Running” state • Major functions are Computations and making decisions. • Data Store: act as repository. • Temp or permanent. • 2 or more systems can share the data.
  • 21. Rules for drawing DFD: • Process must have one input and one output flow. • Never label a process with an IF-Then statement. • Never show time dependency directly on DFD. • A process begins to perform its tasks as soon as it received the necessary input data flows. • A primitive process performs a single Well-Defined Function. • Be sure that data Stores, Data Flows, Data Processes have descriptive titles. Processes should use imperative verbs to project action. • All processes receive and generate at least one data flow. • Begin/End data flows with the Bubble.
  • 25. Guidelines for drawing DFD: • Identify the key processing system. • Process bubbles should be arranged from top left to bottom right. • Name each data flow with noun. • Data stores and destinations are also named with noun. • Number the each processes.(1.0, 2.0) name the process with verb. • Summarize the entire system as one bubble and shows inputs and outputs to a system. • Don’t change the inputs and outputs. • Do not try to put everything know on the DFD.
  • 26. Functional Modeling Methods • Functional Flow Block Diagram. • N2 chart. • IDEFO • Axiomatic Design • Operator Function Model • Business Process Modeling Notation. • HIPO and IPO hierarchical input process output.