Module 2: Modeling Data in the Organization

studied byStudied by 34 people
5.0(1)
Get a hint
Hint

Entity Relationship Model (ERM)

1 / 37

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

38 Terms

1

Entity Relationship Model (ERM)

a logical representation of the data for an organization or for a business area.

New cards
2

Entity Relationship Diagram (ERD)

A graphical representation of an entityrelationship model

<p>A graphical representation of an entityrelationship model</p>
New cards
3

Entity Types

  • collection of entities that share common properties or characteristics.

  • Represented by rectangles

New cards
4

Strong Entity

  • Exist independently of other entities

  • Has its own unique identifier

  • Identifier is underlined with a single line

New cards
5

Weak Entity

  • Dependent of a Strong Entity

  • Cannot exist on its own

  • No unique identifier (partial identifier only)

  • Entity box and unique identifier have double lines

New cards
6

Identifying Relationships (Line relationships)

links strong and weak entities.

<p>links strong and weak entities.</p>
New cards
7

Attributes

  • Properties or characteristics of an entity or relationship type

New cards
8

Classification of attributes: (RISSS)

  • Required vs Optional

  • Identifier Attributes

  • Simple vs Composite

  • Single-valued vs Multi-valued

  • Stored vs Derived

New cards
9

Required Attributes

Must have value for every entity (or relationship) instance with which it is associated

New cards
10

Optional Attribute

May not have value for every entity (or relationship) instance with which it is associated

New cards
11

Simple Attribute

  • an attribute that cannot be broken down into smaller components

  • Example: First Name or Last Name from FULL NAME

New cards
12

Composite Attributes

  • an attribute that has meaningful component parts (can be broken down into simple attributes)

  • Example: Employee's Address (Street address, City, State, Postal Code)

New cards
13

Single valued

  • an attribute that holds only one value for an entity (or relationship)

  • Example:

    • DateOfBirth attribute must have only one value for each entity instance (A person only has one Birth Date)

New cards
14

Multivalued Attributes

  • an attribute that may take more than one value for an entity (or relationship)

  • Example:

    • DateOfBirth attribute must have only one value for each entity instance (A person only has one Birth Date)

New cards
15

Stored Attributes

  • an attribute whose value is physically stored in the database

  • Example: Price (this can be used for DERIVED ATTRIBUTES)

New cards
16

Derived Attribute

  • an attribute whose value can be calculated from related values from STORED ATTRIBUTES (not physically stored in the database)

  • Example: DiscountedPrice may be derived from Price and DiscountRate attributed STORED in the database

New cards
17

Identifier Keys

an attribute (or combination of attributes) that uniquely identifies individual entity instances.

New cards
18

Types of identifier

  • Simple Identifier Attribute

  • Composite Identifier Attribute

<ul><li><p>Simple Identifier Attribute</p></li><li><p>Composite Identifier Attribute</p></li></ul>
New cards
19

Criteria for Identifier

(DANS)

  • Does not change in value

  • Avoid intelligent identifiers (e.g., containing locations that may change)

  • Not Null

  • Substitute new, simple keys for long, composite keys

New cards
20

Relationship Degrees

(TUB)

  • Unary

  • Binary

  • Ternary

New cards
21

Relationship Cardinality

  • one-to-one

  • one-to-many

  • many-to-many

New cards
22

Cardinality Constraints

  • Mandatory one

  • Mandatory many

  • Optional one

  • Optional many

<ul><li><p>Mandatory one </p></li><li><p>Mandatory many </p></li><li><p>Optional one </p></li><li><p>Optional many</p></li></ul>
New cards
23

Business Rules

(SAD ACE)

  • Statements that define or constraint some aspects of the business.

  • Assert business structure

  • Derived from policies, procedures, events, and functions.

  • Automated through DBMS.

  • Control/influence business structure

  • Expressed in terms of familiar to end users.

New cards
24

Characteristics of Good Business Rules

(BEDDCAP)

  • Business-oriented (understood by businesspeople)

  • Expressible (structured, natural language)

  • Declarative (what, now how)

  • Distinct (nonredundant)

  • Consistent (internally and externally)

  • Atomic (one statement)

  • Precise (clear, agreed meaning)

New cards
25

Characteristics of a Good Data NAME

(CRUMWRR)

  • Composed of words from an approved list

  • Related to business, not technical.

  • Unique

  • Meaningful and self-documenting

  • Written in standard syntax.

  • Readable

  • Repeatable

New cards
26

Data definitions

Explanation of a term or fact.

New cards
27

Term

word or phrase with specific meaning.

New cards
28

Fact

association between two or more terms.

New cards
29

Guidelines for Good Data Definition

(GACA)

  • Gathered in conjunction with sysreqs

  • Accompanied by diagrams

  • Concise description

  • Achieved by concensus, and iterartively refined.

New cards
30

Entity

  • A person, place, an object, and event or a concept in the user environment

New cards
31

Entity Should (HOC)

  • Have many instances

  • Object that is being modeled

  • Composed of multiple properties

New cards
32

Entity Should not (UO)

  • -User of the database system

  • -Output of the database system

New cards
33

Entity Instance

a single occurence of an entity type

<p>a single occurence of an entity type</p>
New cards
34

Naming Attributes

  • singular noun or noun phrase

  • unique

  • similar attributes of different entity types should use the same qualifiers and classes

  • follow format

New cards
35

Relationship Types

modeled as lines between entity types

New cards
36

Relationhip Instances

actual occurence of a relationship type

New cards
37

Relationship Attributes

describe the features pertaining to the association between the entities in the relationship.

New cards
38

Associative Entity

It is the combination of relationship and an entity

New cards

Explore top notes

note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 31 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 12 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 13 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 15 people
Updated ... ago
5.0 Stars(1)

Explore top flashcards

flashcards Flashcard67 terms
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard33 terms
studied byStudied by 2 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard189 terms
studied byStudied by 2 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard129 terms
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard48 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard20 terms
studied byStudied by 26 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard42 terms
studied byStudied by 5 people
Updated ... ago
4.0 Stars(1)
flashcards Flashcard60 terms
studied byStudied by 3136 people
Updated ... ago
4.5 Stars(14)