尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
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.
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

Component based software engineering
Component based software engineeringComponent based software engineering
Component based software engineering
Charotar University Of Science And Technology,Gujrat
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process Models
Hassan A-j
 
Software design
Software designSoftware design
Software Engineering : Requirement Analysis & Specification
Software Engineering : Requirement Analysis & SpecificationSoftware Engineering : Requirement Analysis & Specification
Software Engineering : Requirement Analysis & Specification
Ajit Nayak
 
golden rules of user interface design
golden rules of user interface designgolden rules of user interface design
golden rules of user interface design
gadige harshini
 
State Machine Diagram
State Machine DiagramState Machine Diagram
State Machine Diagram
Niloy Rocker
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
Ashesh R
 
Type checking in compiler design
Type checking in compiler designType checking in compiler design
Type checking in compiler design
Sudip Singh
 
Loop optimization
Loop optimizationLoop optimization
Loop optimization
Vivek Gandhi
 
Software design
Software designSoftware design
Software design
Benazir Fathima
 
Software quality assurance lecture 1
Software quality assurance lecture 1Software quality assurance lecture 1
Software quality assurance lecture 1
Abdul Basit
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
City University
 
Requirements analysis
Requirements analysisRequirements analysis
Requirements analysis
asimnawaz54
 
Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9
koolkampus
 
Lecture 12 requirements modeling - (system analysis)
Lecture 12   requirements modeling - (system analysis)Lecture 12   requirements modeling - (system analysis)
Lecture 12 requirements modeling - (system analysis)
IIUI
 
Cohesion and coupling
Cohesion and couplingCohesion and coupling
Cohesion and coupling
Aprajita (Abbey) Singh
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metrics
Indu Sharma Bhardwaj
 
Chapter 12 user interface design
Chapter 12 user interface designChapter 12 user interface design
Chapter 12 user interface design
SHREEHARI WADAWADAGI
 
State Diagrams
State DiagramsState Diagrams
State Diagrams
Vaidik Trivedi
 

What's hot (20)

Component based software engineering
Component based software engineeringComponent based software engineering
Component based software engineering
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process Models
 
Software design
Software designSoftware design
Software design
 
Software Engineering : Requirement Analysis & Specification
Software Engineering : Requirement Analysis & SpecificationSoftware Engineering : Requirement Analysis & Specification
Software Engineering : Requirement Analysis & Specification
 
golden rules of user interface design
golden rules of user interface designgolden rules of user interface design
golden rules of user interface design
 
State Machine Diagram
State Machine DiagramState Machine Diagram
State Machine Diagram
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Type checking in compiler design
Type checking in compiler designType checking in compiler design
Type checking in compiler design
 
Loop optimization
Loop optimizationLoop optimization
Loop optimization
 
Software design
Software designSoftware design
Software design
 
Software quality assurance lecture 1
Software quality assurance lecture 1Software quality assurance lecture 1
Software quality assurance lecture 1
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
Requirements analysis
Requirements analysisRequirements analysis
Requirements analysis
 
Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9
 
Lecture 12 requirements modeling - (system analysis)
Lecture 12   requirements modeling - (system analysis)Lecture 12   requirements modeling - (system analysis)
Lecture 12 requirements modeling - (system analysis)
 
Cohesion and coupling
Cohesion and couplingCohesion and coupling
Cohesion and coupling
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metrics
 
Chapter 12 user interface design
Chapter 12 user interface designChapter 12 user interface design
Chapter 12 user interface design
 
State Diagrams
State DiagramsState Diagrams
State Diagrams
 

Similar to Data and functional modeling

WBC Entity Relationship and data flow diagrams
WBC Entity Relationship and data flow diagramsWBC Entity Relationship and data flow diagrams
WBC Entity Relationship and data flow diagrams
ArshitSood3
 
Lecture7.pptx
Lecture7.pptxLecture7.pptx
Lecture7.pptx
HarpreetHeer1
 
ER modeling
ER modelingER modeling
ER modeling
Dabbal Singh Mahara
 
Unit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxUnit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptx
MaryJoseph79
 
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptxDATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
JasmineMichael1
 
Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)
tameemyousaf
 
DIY ERM (Do-It-Yourself Electronic Resources Management) for the Small Library
DIY ERM (Do-It-Yourself Electronic Resources Management) for the Small LibraryDIY ERM (Do-It-Yourself Electronic Resources Management) for the Small Library
DIY ERM (Do-It-Yourself Electronic Resources Management) for the Small Library
NASIG
 
DATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCE
DATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCEDATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCE
DATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCE
AqibMehmood43
 
ER diagram slides for datanase stujdy-1.pdf
ER diagram slides for datanase stujdy-1.pdfER diagram slides for datanase stujdy-1.pdf
ER diagram slides for datanase stujdy-1.pdf
SadiaSharmin40
 
Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)
tameemyousaf
 
Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)
tameemyousaf
 
Cn presentation on the topic called as re modelling
Cn presentation on the topic called as re modellingCn presentation on the topic called as re modelling
Cn presentation on the topic called as re modelling
g30162363
 
Lecture#5.pptx
Lecture#5.pptxLecture#5.pptx
Lecture#5.pptx
GulRana13
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
Jayant Dalvi
 
Structured system analysis
Structured system analysisStructured system analysis
Structured system analysis
learnt
 
Review of object orientation
Review of object orientationReview of object orientation
Review of object orientation
Gurbakash Phonsa
 
Common Data Model - A Business Database!
Common Data Model - A Business Database!Common Data Model - A Business Database!
Common Data Model - A Business Database!
Pedro Azevedo
 
Systems Analyst and Design - Data Dictionary
Systems Analyst and Design -  Data DictionarySystems Analyst and Design -  Data Dictionary
Systems Analyst and Design - Data Dictionary
Kimberly Coquilla
 
Relational database (Unit 2)
Relational database (Unit 2)Relational database (Unit 2)
Relational database (Unit 2)
Ismail Mukiibi
 
week1-thursday-2id50-q2-2021-2022-intro-and-basic-fd.ppt
week1-thursday-2id50-q2-2021-2022-intro-and-basic-fd.pptweek1-thursday-2id50-q2-2021-2022-intro-and-basic-fd.ppt
week1-thursday-2id50-q2-2021-2022-intro-and-basic-fd.ppt
RidoVercascade
 

Similar to Data and functional modeling (20)

WBC Entity Relationship and data flow diagrams
WBC Entity Relationship and data flow diagramsWBC Entity Relationship and data flow diagrams
WBC Entity Relationship and data flow diagrams
 
Lecture7.pptx
Lecture7.pptxLecture7.pptx
Lecture7.pptx
 
ER modeling
ER modelingER modeling
ER modeling
 
Unit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxUnit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptx
 
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptxDATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
 
Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)
 
DIY ERM (Do-It-Yourself Electronic Resources Management) for the Small Library
DIY ERM (Do-It-Yourself Electronic Resources Management) for the Small LibraryDIY ERM (Do-It-Yourself Electronic Resources Management) for the Small Library
DIY ERM (Do-It-Yourself Electronic Resources Management) for the Small Library
 
DATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCE
DATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCEDATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCE
DATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCE
 
ER diagram slides for datanase stujdy-1.pdf
ER diagram slides for datanase stujdy-1.pdfER diagram slides for datanase stujdy-1.pdf
ER diagram slides for datanase stujdy-1.pdf
 
Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)
 
Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)
 
Cn presentation on the topic called as re modelling
Cn presentation on the topic called as re modellingCn presentation on the topic called as re modelling
Cn presentation on the topic called as re modelling
 
Lecture#5.pptx
Lecture#5.pptxLecture#5.pptx
Lecture#5.pptx
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
 
Structured system analysis
Structured system analysisStructured system analysis
Structured system analysis
 
Review of object orientation
Review of object orientationReview of object orientation
Review of object orientation
 
Common Data Model - A Business Database!
Common Data Model - A Business Database!Common Data Model - A Business Database!
Common Data Model - A Business Database!
 
Systems Analyst and Design - Data Dictionary
Systems Analyst and Design -  Data DictionarySystems Analyst and Design -  Data Dictionary
Systems Analyst and Design - Data Dictionary
 
Relational database (Unit 2)
Relational database (Unit 2)Relational database (Unit 2)
Relational database (Unit 2)
 
week1-thursday-2id50-q2-2021-2022-intro-and-basic-fd.ppt
week1-thursday-2id50-q2-2021-2022-intro-and-basic-fd.pptweek1-thursday-2id50-q2-2021-2022-intro-and-basic-fd.ppt
week1-thursday-2id50-q2-2021-2022-intro-and-basic-fd.ppt
 

More from Slideshare

Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010
Slideshare
 
Report generation
Report generationReport generation
Report generation
Slideshare
 
Trigger
TriggerTrigger
Trigger
Slideshare
 
Security in Relational model
Security in Relational modelSecurity in Relational model
Security in Relational model
Slideshare
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
Slideshare
 
OLAP
OLAPOLAP
Major issues in data mining
Major issues in data miningMajor issues in data mining
Major issues in data mining
Slideshare
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
Slideshare
 
What is in you
What is in youWhat is in you
What is in you
Slideshare
 
Propositional logic & inference
Propositional logic & inferencePropositional logic & inference
Propositional logic & inference
Slideshare
 
Logical reasoning 21.1.13
Logical reasoning 21.1.13Logical reasoning 21.1.13
Logical reasoning 21.1.13
Slideshare
 
Logic agent
Logic agentLogic agent
Logic agent
Slideshare
 
Statistical learning
Statistical learningStatistical learning
Statistical learning
Slideshare
 
Resolution(decision)
Resolution(decision)Resolution(decision)
Resolution(decision)
Slideshare
 
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313
Slideshare
 
Neural networks
Neural networksNeural networks
Neural networks
Slideshare
 
Instance based learning
Instance based learningInstance based learning
Instance based learning
Slideshare
 
Statistical learning
Statistical learningStatistical learning
Statistical learning
Slideshare
 
Neural networks
Neural networksNeural networks
Neural networks
Slideshare
 
Logical reasoning
Logical reasoning Logical reasoning
Logical reasoning
Slideshare
 

More from Slideshare (20)

Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010
 
Report generation
Report generationReport generation
Report generation
 
Trigger
TriggerTrigger
Trigger
 
Security in Relational model
Security in Relational modelSecurity in Relational model
Security in Relational model
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
OLAP
OLAPOLAP
OLAP
 
Major issues in data mining
Major issues in data miningMajor issues in data mining
Major issues in data mining
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
What is in you
What is in youWhat is in you
What is in you
 
Propositional logic & inference
Propositional logic & inferencePropositional logic & inference
Propositional logic & inference
 
Logical reasoning 21.1.13
Logical reasoning 21.1.13Logical reasoning 21.1.13
Logical reasoning 21.1.13
 
Logic agent
Logic agentLogic agent
Logic agent
 
Statistical learning
Statistical learningStatistical learning
Statistical learning
 
Resolution(decision)
Resolution(decision)Resolution(decision)
Resolution(decision)
 
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313
 
Neural networks
Neural networksNeural networks
Neural networks
 
Instance based learning
Instance based learningInstance based learning
Instance based learning
 
Statistical learning
Statistical learningStatistical learning
Statistical learning
 
Neural networks
Neural networksNeural networks
Neural networks
 
Logical reasoning
Logical reasoning Logical reasoning
Logical reasoning
 

Recently uploaded

Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024
Friends of African Village Libraries
 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
Derek Wenmoth
 
Creativity for Innovation and Speechmaking
Creativity for Innovation and SpeechmakingCreativity for Innovation and Speechmaking
Creativity for Innovation and Speechmaking
MattVassar1
 
Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024
khabri85
 
pol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdfpol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdf
BiplabHalder13
 
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
Nguyen Thanh Tu Collection
 
The basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptxThe basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptx
heathfieldcps1
 
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
yarusun
 
Slides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptxSlides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptx
shabeluno
 
The Rise of the Digital Telecommunication Marketplace.pptx
The Rise of the Digital Telecommunication Marketplace.pptxThe Rise of the Digital Telecommunication Marketplace.pptx
The Rise of the Digital Telecommunication Marketplace.pptx
PriyaKumari928991
 
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptxScience-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Catherine Dela Cruz
 
How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...
Infosec
 
Diversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT KanpurDiversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT Kanpur
Quiz Club IIT Kanpur
 
Keynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse CityKeynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse City
PJ Caposey
 
What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17
Celine George
 
IoT (Internet of Things) introduction Notes.pdf
IoT (Internet of Things) introduction Notes.pdfIoT (Internet of Things) introduction Notes.pdf
IoT (Internet of Things) introduction Notes.pdf
roshanranjit222
 
bryophytes.pptx bsc botany honours second semester
bryophytes.pptx bsc botany honours  second semesterbryophytes.pptx bsc botany honours  second semester
bryophytes.pptx bsc botany honours second semester
Sarojini38
 
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT KanpurDiversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Quiz Club IIT Kanpur
 
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
220711130083 SUBHASHREE RAKSHIT  Internet resources for social science220711130083 SUBHASHREE RAKSHIT  Internet resources for social science
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
Kalna College
 
How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17
Celine George
 

Recently uploaded (20)

Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024
 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
 
Creativity for Innovation and Speechmaking
Creativity for Innovation and SpeechmakingCreativity for Innovation and Speechmaking
Creativity for Innovation and Speechmaking
 
Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024
 
pol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdfpol sci Election and Representation Class 11 Notes.pdf
pol sci Election and Representation Class 11 Notes.pdf
 
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
 
The basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptxThe basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptx
 
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
Get Success with the Latest UiPath UIPATH-ADPV1 Exam Dumps (V11.02) 2024
 
Slides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptxSlides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptx
 
The Rise of the Digital Telecommunication Marketplace.pptx
The Rise of the Digital Telecommunication Marketplace.pptxThe Rise of the Digital Telecommunication Marketplace.pptx
The Rise of the Digital Telecommunication Marketplace.pptx
 
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptxScience-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
 
How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...
 
Diversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT KanpurDiversity Quiz Finals by Quiz Club, IIT Kanpur
Diversity Quiz Finals by Quiz Club, IIT Kanpur
 
Keynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse CityKeynote given on June 24 for MASSP at Grand Traverse City
Keynote given on June 24 for MASSP at Grand Traverse City
 
What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17
 
IoT (Internet of Things) introduction Notes.pdf
IoT (Internet of Things) introduction Notes.pdfIoT (Internet of Things) introduction Notes.pdf
IoT (Internet of Things) introduction Notes.pdf
 
bryophytes.pptx bsc botany honours second semester
bryophytes.pptx bsc botany honours  second semesterbryophytes.pptx bsc botany honours  second semester
bryophytes.pptx bsc botany honours second semester
 
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT KanpurDiversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
 
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
220711130083 SUBHASHREE RAKSHIT  Internet resources for social science220711130083 SUBHASHREE RAKSHIT  Internet resources for social science
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
 
How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17
 

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.
  • 22.
  • 23.
  • 24.
  • 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.
  翻译: