Topic 2: Data Models Flashcards
It is an abstraction of a more complex real-world object or event
Model
It represents data structures and their characteristics, relations, constraints, transformations, and other constructs with the purpose of supporting a specific problem domain
Data Models
This refers to the process of creating a specific data model for a determined problem domain
Data modeling
The Building Blocks of Data Models
Entities
Attributes
Relationships
Constraints
These refer to anything about which data are to be collected and stored
Entities
These refer to a characteristic of an entity
Attributes
These describes the association among entities
Relationship
Three Types of Relationships
One-to-Many
Many-to-Many
One-to-One
This is a type of relationship wherein one instance of an entity is allowed to be associated with several instances off the other entity
One-to-Many
Several instances of an entity is allowed to be associated with several instances of the other entity
Many-to-Many
One instance of an entity is allowed to be associated with one and only one instance of the other entity
One-to-One
These refer to restrictions imposed on data
Constraints
These refer to the rules that describe the operations, definitions and constraints that apply to an organization
Business Rules
Characteristics of a Good Business Rule
- Declarative: statement of policy
- Precise: only one interpretation
- Atomic: no rule stands on its own
- Expressible: stated through structured natural language
- Distinct: not redundant
- Consistent: should not contradicts
- Only business people understand