SlideShare une entreprise Scribd logo
1  sur  34
Chapter 8
Analyzing System Data
Requirements
Modern Systems Analysis
and Design
2Chapter 8
Learning Objectives
 Concisely define
 each of the following key data modeling terms: entity
type, attribute, multi-valued attribute, relationship,
degree, cardinality
 Draw
 an entity-relationship (E-R) diagram to represent
common business situations.
 Distinguish
 between unary, binary, and ternary relationships and
give an example of each.
Conceptual Data Modeling
3Chapter 8
FIGURE 8-1
Systems development life cycle with analysis phase highlighted
4Chapter 8
Conceptual Data Modeling
 Conceptual data modeling: a detailed
model that captures the overall structure of
data in an organization
Independent of any database management
system (DBMS) or other implementation
considerations
5Chapter 8
The Conceptual Data Modeling Process
 Develop
 a data model for the current system.
 Develop
 a new conceptual data model that includes all
requirements of the new system.
Conceptual Data Modeling (Cont.)
6Chapter 8
FIGURE 8-2
Relationship between data modeling and the systems development life cycle
7Chapter 8
Deliverables and Outcome
 Primary deliverable is an entity-relationship (E-
R) diagram or class diagram.
 Second deliverable is a set of entries about
data objects to be stored in repository or project
dictionary.
 Repository links data, process, and logic models
of an information system
 Data elements included in the DFD must appear in
the data model and vice versa
8Chapter 8
FIGURE 8-3
Sample conceptual data model
9Chapter 8
Gathering Information for Conceptual Data
Modeling
 Two perspectives on data modeling:
Top-down approach for a data model is
derived from an intimate understanding of the
business.
Bottom-up approach for a data model is
derived by reviewing specifications and
business documents.
10Chapter 8
Gathering Information for Conceptual Data
Modeling (Cont.)
 Requirements Determination Questions
for Data Modeling:
What are subjects/objects of the business?
 Data entities
 Descriptions
What unique characteristics distinguish
between subjects/objects of the same
type?
 Primary keys
11Chapter 8
Gathering Information for Conceptual Data
Modeling (Cont.)
What characteristics describe each
subject/object?
 Attributes
 Secondary keys
How do you use the data?
 Security controls
 User access privileges
12Chapter 8
Gathering Information for Conceptual Data
Modeling (Cont.)
What events occur that imply associations
between objects?
 Relationships
 Cardinalities
Are there special circumstances that
affect the way events are handled?
 Integrity rules
 Cardinalities
 Time dimensions
13Chapter 8
Introduction to Entity-Relationship (E-
R) Modeling
 Entity-Relationship data model (E-R
model):
a detailed, logical representation of the
entities, associations and data elements for
an organization or business area
 Entity-relationship diagram (E-R
diagram):
a graphical representation of an E-R model
14Chapter 8
Introduction to Entity-Relationship (E-
R) Modeling
 The E-R model is expressed in terms of:
Data entities in the business environment.
Relationships or associations among those
entities.
Attributes or properties of both the entities
and their relationships.
15Chapter 8
Data entities
 An entity is a person, place, object, event,
or concept in the user environment about
which the organization wishes to maintain
data.
 A rectangle is used to represent an entity,
and lines are used to represent the
relationship between two or more entities.
Naming and Defining Entity Types
 Entity type is a collection of entities that
share common properties or characteristics.
 An entity type name should be:
A singular noun.
Descriptive and specific to the organization.
Concise.
 Event entity type should be named for the
result of the event, not the activity or process
of the event.
16Chapter 8
Naming and Defining Entity Types
(Cont.)
 An entity type definition should:
Include a statement of what the unique
characteristic(s) is (are) for each instance.
Make clear what entity instances are included
and not included in the entity type.
Often include a description of when an
instance of the entity type is created or
deleted.
17Chapter 8
Naming and Defining Entity Types
(Cont.)
 For some entity types the definition must
specify:
When an instance might change into an
instance of another entity type.
What history is to be kept about entity
instances.
18Chapter 8
Attributes
 Attribute: a named property or
characteristic of an entity that is of interest
to the organization
Naming an attribute: i.e. Vehicle_ID
Place its name inside the rectangle for the
associated entity in the E-R diagram.
19Chapter 8
Naming and Defining Attributes
 An attribute name is a noun and should be
unique.
 To make an attribute name unique and for
clarity, each attribute name should follow a
standard format.
Similar attributes of different entity types
should use similar but distinguishing names.
20Chapter 8
Naming and Defining Attributes
(Cont.)
 An attribute definition:
States what the attribute is and possibly why it
is important.
Should make it clear what is included and
what is not included.
Contain any aliases or alternative names.
States the source of values for the attribute.
21Chapter 8
Naming and Defining Attributes
(Cont.)
 An attribute definition should indicate:
If a value for the attribute is required or
optional.
If a value for the attribute may change.
Any relationships that attribute has with other
attributes.
22Chapter 8
Candidate Keys and Identifiers.
 Candidate key:
an attribute (or combination of attributes) that
uniquely identifies each instance of an entity
type
 Identifier:
a candidate key that has been selected as the
unique, identifying characteristic for an entity
type
23Chapter 8
Candidate Keys and Identifiers
(Cont.)
 Selection rules for an identifier
 Choose a candidate key that will not change
its value.
 Choose a candidate key that will never be
null.
 Consider substituting single value surrogate
keys for large composite keys.
24Chapter 8
Conceptual Data Modeling and
the E-R Model
 Relationship:
an association between the instances of one or
more entity types that is of interest to the
organization
 Degree:
the number of entity types that participate in a
relationship
25Chapter 8
Relationship Degree
 Unary relationship:
 a relationship between the instances of one entity type
 Also called a recursive relationship
 Binary relationship:
 a relationship between instances of two entity types
 Most common type of relationship encountered in data
modeling
 Ternary relationship:
 a simultaneous relationship among instances of three entity
types
26Chapter 8
27Chapter 8
FIGURE 8-11
Examples of relationships
of different degrees
Unary relationships
Binary relationships
Ternary relationships
Cardinality in Relationships
 Cardinality of relationship
 Suppose the entities A and B are connected by a relationship.
 The number of instances of entity B that can (or must) be
associated with each instances of entity A.
28Chapter 8
A B
Cardinality in Relationships
 Minimum and Maximum Cardinalities
 The minimum cardinality of a relationship is the minimum
number of instances of entity B that may be associated with
each instance of entity A.
 When minimum number of DVDs available for a movie is zero,
that means DVD is an optional participant.
 When the minimum cardinality of a relationship is zero, then
we say entity B is a optional participant in the relationship.
 When the minimum cardinality of a relationship is one, then we
say entity B is a mandatory participant in the relationship.
29Chapter 8
30Chapter 8
FIGURE 8-14 Examples of cardinality constraints
(a) Mandatory cardinalities
(b) One optional, one mandatory cardinality
(c) Optional cardinalities
Naming and Defining Relationships
 A relationship name is a verb phrase;
avoid vague names.
 A relationship definition:
Explains what action is to be taken and
possibly why it is important.
Gives examples to clarify the action.
31Chapter 8
32Chapter 8
Domains
 Domain:
 the set of all data types and values that an
attribute can assume
 Several advantages
 Verify that the values for an attribute are
valid
 Ensure that various data manipulation
operations are logical
 Help conserve effort in describing attribute
characteristics
33Chapter 8
Problems
 Use the following business rules to create a
Company ERD. Write all appropriate connectivity’s
and cardinalities in the ERD.
 A department employs many employees, but each employee is
employed by one department.
 Some employees, known as “rovers,” are not assigned to any
department.
 A division operates many departments, but each department is
operated by one division.
 An employee may be assigned many projects, and a project
may have many employees assigned to it.
 A project must have at least one employee assigned to it.
 One of the employees manages each department, and each
department is managed by only one employee.
 One of the employees runs each division, and each division is
run by only one employee.
34Chapter 8
Thanks

Contenu connexe

Tendances

Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship modelJafar Nesargi
 
Database Systems - Entity Relationship Modeling (Chapter 4/2)
Database Systems - Entity Relationship Modeling (Chapter 4/2)Database Systems - Entity Relationship Modeling (Chapter 4/2)
Database Systems - Entity Relationship Modeling (Chapter 4/2)Vidyasagar Mundroy
 
03 Ch3 Notes Revised
03 Ch3 Notes Revised03 Ch3 Notes Revised
03 Ch3 Notes Revisedguest6f408c
 
ER DIAGRAM & ER MODELING IN DBMS
ER DIAGRAM & ER MODELING IN DBMSER DIAGRAM & ER MODELING IN DBMS
ER DIAGRAM & ER MODELING IN DBMSssuser20b618
 
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...Mustafa Kamel Mohammadi
 
Chapter-3 Data Modeling Using the Entity-Relationship Model
Chapter-3  Data Modeling Using the Entity-Relationship ModelChapter-3  Data Modeling Using the Entity-Relationship Model
Chapter-3 Data Modeling Using the Entity-Relationship ModelRaj vardhan
 
Database - Entity Relationship Diagram (ERD)
Database - Entity Relationship Diagram (ERD)Database - Entity Relationship Diagram (ERD)
Database - Entity Relationship Diagram (ERD)Mudasir Qazi
 
Data Modeling and Database Design 2nd Edition by Umanath Scamell Solution Manual
Data Modeling and Database Design 2nd Edition by Umanath Scamell Solution ManualData Modeling and Database Design 2nd Edition by Umanath Scamell Solution Manual
Data Modeling and Database Design 2nd Edition by Umanath Scamell Solution Manualendokayle
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMSkoolkampus
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagramHaseeb
 
Schema relationship to E-R diagram
Schema relationship to E-R diagramSchema relationship to E-R diagram
Schema relationship to E-R diagramBadrul Alam
 
Dbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelDbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelAmiya9439793168
 
Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)
Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)
Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)Rai University
 

Tendances (20)

Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship model
 
Entity relation(1)
Entity relation(1)Entity relation(1)
Entity relation(1)
 
Database Systems - Entity Relationship Modeling (Chapter 4/2)
Database Systems - Entity Relationship Modeling (Chapter 4/2)Database Systems - Entity Relationship Modeling (Chapter 4/2)
Database Systems - Entity Relationship Modeling (Chapter 4/2)
 
Data modeling
Data modelingData modeling
Data modeling
 
03 Ch3 Notes Revised
03 Ch3 Notes Revised03 Ch3 Notes Revised
03 Ch3 Notes Revised
 
ER DIAGRAM & ER MODELING IN DBMS
ER DIAGRAM & ER MODELING IN DBMSER DIAGRAM & ER MODELING IN DBMS
ER DIAGRAM & ER MODELING IN DBMS
 
Datastage database design and data modeling ppt 4
Datastage database design and data modeling ppt 4Datastage database design and data modeling ppt 4
Datastage database design and data modeling ppt 4
 
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
 
dbms
dbmsdbms
dbms
 
Chapter-3 Data Modeling Using the Entity-Relationship Model
Chapter-3  Data Modeling Using the Entity-Relationship ModelChapter-3  Data Modeling Using the Entity-Relationship Model
Chapter-3 Data Modeling Using the Entity-Relationship Model
 
Database - Entity Relationship Diagram (ERD)
Database - Entity Relationship Diagram (ERD)Database - Entity Relationship Diagram (ERD)
Database - Entity Relationship Diagram (ERD)
 
enhanced er diagram
enhanced er diagramenhanced er diagram
enhanced er diagram
 
Data Modeling and Database Design 2nd Edition by Umanath Scamell Solution Manual
Data Modeling and Database Design 2nd Edition by Umanath Scamell Solution ManualData Modeling and Database Design 2nd Edition by Umanath Scamell Solution Manual
Data Modeling and Database Design 2nd Edition by Umanath Scamell Solution Manual
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
 
L7 er2
L7 er2L7 er2
L7 er2
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagram
 
Schema relationship to E-R diagram
Schema relationship to E-R diagramSchema relationship to E-R diagram
Schema relationship to E-R diagram
 
Chapter2
Chapter2Chapter2
Chapter2
 
Dbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelDbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational Model
 
Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)
Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)
Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)
 

Similaire à Chapter 8

Chapter10 conceptual data modeling
Chapter10 conceptual data modelingChapter10 conceptual data modeling
Chapter10 conceptual data modelingDhani Ahmad
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPTTrinath
 
Analysis modeling in software engineering
Analysis modeling in software engineeringAnalysis modeling in software engineering
Analysis modeling in software engineeringMuhammadTalha436
 
DATA BASE MANAGEMENT SYSTEM - SHORT NOTES
DATA BASE MANAGEMENT SYSTEM - SHORT NOTESDATA BASE MANAGEMENT SYSTEM - SHORT NOTES
DATA BASE MANAGEMENT SYSTEM - SHORT NOTESsuthi
 
U2_ER_modeling.pptx
U2_ER_modeling.pptxU2_ER_modeling.pptx
U2_ER_modeling.pptxssusera7b660
 
RDBMS.ppt What is RDBMS RDBMS stands for Relational Database Management System.
RDBMS.ppt What is RDBMS RDBMS stands for Relational Database Management System.RDBMS.ppt What is RDBMS RDBMS stands for Relational Database Management System.
RDBMS.ppt What is RDBMS RDBMS stands for Relational Database Management System.SHAKIR325211
 
Database Management Systems Tutorial
Database Management Systems TutorialDatabase Management Systems Tutorial
Database Management Systems TutorialSachin MK
 
17032658 database-management-systems-tutorial-090917034406-phpapp02
17032658 database-management-systems-tutorial-090917034406-phpapp0217032658 database-management-systems-tutorial-090917034406-phpapp02
17032658 database-management-systems-tutorial-090917034406-phpapp02Samina Sam Sam
 
Chapter 2. Concepctual design -.pptx
Chapter 2. Concepctual design -.pptxChapter 2. Concepctual design -.pptx
Chapter 2. Concepctual design -.pptxsantosh96234
 
software_engg-chap-03.ppt
software_engg-chap-03.pptsoftware_engg-chap-03.ppt
software_engg-chap-03.ppt064ChetanWani
 

Similaire à Chapter 8 (20)

Chapter10 conceptual data modeling
Chapter10 conceptual data modelingChapter10 conceptual data modeling
Chapter10 conceptual data modeling
 
Sq lite module3
Sq lite module3Sq lite module3
Sq lite module3
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPT
 
Data Modelling..pptx
Data Modelling..pptxData Modelling..pptx
Data Modelling..pptx
 
RDBMS_Unit 01
RDBMS_Unit 01RDBMS_Unit 01
RDBMS_Unit 01
 
Datamodelling
DatamodellingDatamodelling
Datamodelling
 
Sq lite module4
Sq lite module4Sq lite module4
Sq lite module4
 
uml.pptx
uml.pptxuml.pptx
uml.pptx
 
Analysis modeling in software engineering
Analysis modeling in software engineeringAnalysis modeling in software engineering
Analysis modeling in software engineering
 
8.pptx
8.pptx8.pptx
8.pptx
 
Analysis modeling
Analysis modelingAnalysis modeling
Analysis modeling
 
Chap08
Chap08Chap08
Chap08
 
DATA BASE MANAGEMENT SYSTEM - SHORT NOTES
DATA BASE MANAGEMENT SYSTEM - SHORT NOTESDATA BASE MANAGEMENT SYSTEM - SHORT NOTES
DATA BASE MANAGEMENT SYSTEM - SHORT NOTES
 
U2_ER_modeling.pptx
U2_ER_modeling.pptxU2_ER_modeling.pptx
U2_ER_modeling.pptx
 
RDBMS.ppt What is RDBMS RDBMS stands for Relational Database Management System.
RDBMS.ppt What is RDBMS RDBMS stands for Relational Database Management System.RDBMS.ppt What is RDBMS RDBMS stands for Relational Database Management System.
RDBMS.ppt What is RDBMS RDBMS stands for Relational Database Management System.
 
ch6
ch6ch6
ch6
 
Database Management Systems Tutorial
Database Management Systems TutorialDatabase Management Systems Tutorial
Database Management Systems Tutorial
 
17032658 database-management-systems-tutorial-090917034406-phpapp02
17032658 database-management-systems-tutorial-090917034406-phpapp0217032658 database-management-systems-tutorial-090917034406-phpapp02
17032658 database-management-systems-tutorial-090917034406-phpapp02
 
Chapter 2. Concepctual design -.pptx
Chapter 2. Concepctual design -.pptxChapter 2. Concepctual design -.pptx
Chapter 2. Concepctual design -.pptx
 
software_engg-chap-03.ppt
software_engg-chap-03.pptsoftware_engg-chap-03.ppt
software_engg-chap-03.ppt
 

Plus de Ahmed Magdy

Plus de Ahmed Magdy (9)

Chapter 12
Chapter 12Chapter 12
Chapter 12
 
Chapter 9
Chapter 9Chapter 9
Chapter 9
 
Chapter 9
Chapter 9Chapter 9
Chapter 9
 
Chapter7
Chapter7Chapter7
Chapter7
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Android history
Android historyAndroid history
Android history
 

Dernier

Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...amitlee9823
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteedamy56318795
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...amitlee9823
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...amitlee9823
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...only4webmaster01
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramMoniSankarHazra
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachBoston Institute of Analytics
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx9to5mart
 

Dernier (20)

Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx
 

Chapter 8

  • 1. Chapter 8 Analyzing System Data Requirements Modern Systems Analysis and Design
  • 2. 2Chapter 8 Learning Objectives  Concisely define  each of the following key data modeling terms: entity type, attribute, multi-valued attribute, relationship, degree, cardinality  Draw  an entity-relationship (E-R) diagram to represent common business situations.  Distinguish  between unary, binary, and ternary relationships and give an example of each.
  • 3. Conceptual Data Modeling 3Chapter 8 FIGURE 8-1 Systems development life cycle with analysis phase highlighted
  • 4. 4Chapter 8 Conceptual Data Modeling  Conceptual data modeling: a detailed model that captures the overall structure of data in an organization Independent of any database management system (DBMS) or other implementation considerations
  • 5. 5Chapter 8 The Conceptual Data Modeling Process  Develop  a data model for the current system.  Develop  a new conceptual data model that includes all requirements of the new system.
  • 6. Conceptual Data Modeling (Cont.) 6Chapter 8 FIGURE 8-2 Relationship between data modeling and the systems development life cycle
  • 7. 7Chapter 8 Deliverables and Outcome  Primary deliverable is an entity-relationship (E- R) diagram or class diagram.  Second deliverable is a set of entries about data objects to be stored in repository or project dictionary.  Repository links data, process, and logic models of an information system  Data elements included in the DFD must appear in the data model and vice versa
  • 8. 8Chapter 8 FIGURE 8-3 Sample conceptual data model
  • 9. 9Chapter 8 Gathering Information for Conceptual Data Modeling  Two perspectives on data modeling: Top-down approach for a data model is derived from an intimate understanding of the business. Bottom-up approach for a data model is derived by reviewing specifications and business documents.
  • 10. 10Chapter 8 Gathering Information for Conceptual Data Modeling (Cont.)  Requirements Determination Questions for Data Modeling: What are subjects/objects of the business?  Data entities  Descriptions What unique characteristics distinguish between subjects/objects of the same type?  Primary keys
  • 11. 11Chapter 8 Gathering Information for Conceptual Data Modeling (Cont.) What characteristics describe each subject/object?  Attributes  Secondary keys How do you use the data?  Security controls  User access privileges
  • 12. 12Chapter 8 Gathering Information for Conceptual Data Modeling (Cont.) What events occur that imply associations between objects?  Relationships  Cardinalities Are there special circumstances that affect the way events are handled?  Integrity rules  Cardinalities  Time dimensions
  • 13. 13Chapter 8 Introduction to Entity-Relationship (E- R) Modeling  Entity-Relationship data model (E-R model): a detailed, logical representation of the entities, associations and data elements for an organization or business area  Entity-relationship diagram (E-R diagram): a graphical representation of an E-R model
  • 14. 14Chapter 8 Introduction to Entity-Relationship (E- R) Modeling  The E-R model is expressed in terms of: Data entities in the business environment. Relationships or associations among those entities. Attributes or properties of both the entities and their relationships.
  • 15. 15Chapter 8 Data entities  An entity is a person, place, object, event, or concept in the user environment about which the organization wishes to maintain data.  A rectangle is used to represent an entity, and lines are used to represent the relationship between two or more entities.
  • 16. Naming and Defining Entity Types  Entity type is a collection of entities that share common properties or characteristics.  An entity type name should be: A singular noun. Descriptive and specific to the organization. Concise.  Event entity type should be named for the result of the event, not the activity or process of the event. 16Chapter 8
  • 17. Naming and Defining Entity Types (Cont.)  An entity type definition should: Include a statement of what the unique characteristic(s) is (are) for each instance. Make clear what entity instances are included and not included in the entity type. Often include a description of when an instance of the entity type is created or deleted. 17Chapter 8
  • 18. Naming and Defining Entity Types (Cont.)  For some entity types the definition must specify: When an instance might change into an instance of another entity type. What history is to be kept about entity instances. 18Chapter 8
  • 19. Attributes  Attribute: a named property or characteristic of an entity that is of interest to the organization Naming an attribute: i.e. Vehicle_ID Place its name inside the rectangle for the associated entity in the E-R diagram. 19Chapter 8
  • 20. Naming and Defining Attributes  An attribute name is a noun and should be unique.  To make an attribute name unique and for clarity, each attribute name should follow a standard format. Similar attributes of different entity types should use similar but distinguishing names. 20Chapter 8
  • 21. Naming and Defining Attributes (Cont.)  An attribute definition: States what the attribute is and possibly why it is important. Should make it clear what is included and what is not included. Contain any aliases or alternative names. States the source of values for the attribute. 21Chapter 8
  • 22. Naming and Defining Attributes (Cont.)  An attribute definition should indicate: If a value for the attribute is required or optional. If a value for the attribute may change. Any relationships that attribute has with other attributes. 22Chapter 8
  • 23. Candidate Keys and Identifiers.  Candidate key: an attribute (or combination of attributes) that uniquely identifies each instance of an entity type  Identifier: a candidate key that has been selected as the unique, identifying characteristic for an entity type 23Chapter 8
  • 24. Candidate Keys and Identifiers (Cont.)  Selection rules for an identifier  Choose a candidate key that will not change its value.  Choose a candidate key that will never be null.  Consider substituting single value surrogate keys for large composite keys. 24Chapter 8
  • 25. Conceptual Data Modeling and the E-R Model  Relationship: an association between the instances of one or more entity types that is of interest to the organization  Degree: the number of entity types that participate in a relationship 25Chapter 8
  • 26. Relationship Degree  Unary relationship:  a relationship between the instances of one entity type  Also called a recursive relationship  Binary relationship:  a relationship between instances of two entity types  Most common type of relationship encountered in data modeling  Ternary relationship:  a simultaneous relationship among instances of three entity types 26Chapter 8
  • 27. 27Chapter 8 FIGURE 8-11 Examples of relationships of different degrees Unary relationships Binary relationships Ternary relationships
  • 28. Cardinality in Relationships  Cardinality of relationship  Suppose the entities A and B are connected by a relationship.  The number of instances of entity B that can (or must) be associated with each instances of entity A. 28Chapter 8 A B
  • 29. Cardinality in Relationships  Minimum and Maximum Cardinalities  The minimum cardinality of a relationship is the minimum number of instances of entity B that may be associated with each instance of entity A.  When minimum number of DVDs available for a movie is zero, that means DVD is an optional participant.  When the minimum cardinality of a relationship is zero, then we say entity B is a optional participant in the relationship.  When the minimum cardinality of a relationship is one, then we say entity B is a mandatory participant in the relationship. 29Chapter 8
  • 30. 30Chapter 8 FIGURE 8-14 Examples of cardinality constraints (a) Mandatory cardinalities (b) One optional, one mandatory cardinality (c) Optional cardinalities
  • 31. Naming and Defining Relationships  A relationship name is a verb phrase; avoid vague names.  A relationship definition: Explains what action is to be taken and possibly why it is important. Gives examples to clarify the action. 31Chapter 8
  • 32. 32Chapter 8 Domains  Domain:  the set of all data types and values that an attribute can assume  Several advantages  Verify that the values for an attribute are valid  Ensure that various data manipulation operations are logical  Help conserve effort in describing attribute characteristics
  • 33. 33Chapter 8 Problems  Use the following business rules to create a Company ERD. Write all appropriate connectivity’s and cardinalities in the ERD.  A department employs many employees, but each employee is employed by one department.  Some employees, known as “rovers,” are not assigned to any department.  A division operates many departments, but each department is operated by one division.  An employee may be assigned many projects, and a project may have many employees assigned to it.  A project must have at least one employee assigned to it.  One of the employees manages each department, and each department is managed by only one employee.  One of the employees runs each division, and each division is run by only one employee.