Bus 393 Chapter 2 – Flashcards

Unlock all answers in this set

Unlock answers
question
E-R model
answer
Entity-relationship model
question
Entity-relationship model
answer
A logical representation of the data for an organization or for a business area, using entities for categories of data and relationships for associations between entities.
question
ERD
answer
Entity-relationship diagram
question
Entity-relationship diagram
answer
A graphical representation of an entity-relationship model.
question
Modeling the Rules of the Organization
answer
In fact, documenting rules and policies of an organization that govern data is exactly what data modeling is all about.
question
Business rule
answer
A statement that defines or constrains some aspect of the business. It is intended to assert business structure or to control or influence the behavior of the business.
question
A business rules approach is based on the following premises:
answer
Core concept Familiar to end users. Highly maintainable Automated
question
Characteristics of a Good Business Rule
answer
Declarative Precise Atomic Consistent other rules. Expressible Distinct Business-oriented
question
Declarative
answer
Describes what a process validates.
question
Precise
answer
The rule must have only one interpretation and must be clear.
question
Atomic
answer
Stand on its own as a rule
question
Consistent
answer
Must be consistent with other rules.
question
Expressible
answer
Stated in a structured natural language so that there is no misinterpretation
question
Distinct
answer
Business rules are not redundant, but a business rule may refer to other rules
question
Business-oriented
answer
A business rule is stated in terms businesspeople can understand
question
Business Rules Data Naming
answer
• Relate to business, not technical (hardware or software), characteristics • Be meaningful • Be unique • Be readable • Be composed of words taken from an approved list; • Be repeatable • Follow a standard syntax
question
Business Rules Data Definition
answer
Is an explanation of a term or a fact.
question
Term
answer
A word or phrase that has a specific meaning for the business.
question
Fact
answer
An association between two or more terms.
question
Good Data Definition Three alternatives:
answer
1. Use multiple definitions to cover the various situations. 2. Use a very general definition that will cover most situations. 3. Consider using multiple, related, data objects for Student.
question
Entity
answer
A person, a place, an object, an event, or a concept in the user environment about which the organization wishes to maintain data.
question
Entity type
answer
A collection of entities that share common properties or characteristics.
question
Entity instance
answer
A single occurrence of an entity type.
question
Strong entity type
answer
An entity that exists independently of other entity types.
question
Weak entity type
answer
An entity type whose existence depends on some other entity type.
question
Identifying owner
answer
The entity type on which the weak entity type depends.
question
Identifying relationship
answer
The relationship between a weak entity type and its owner.
question
Guidelines for naming entity types
answer
Singular noun Specific to the organization Concise Abbreviation, or a short name Entity types Name should be the same
question
Guidelines for defining entity types
answer
• An entity type definition usually starts with • Include a statement of what the unique characteristic is for each instance of the entity type • Entity instances are included and not included • When an instance of the entity type is created and deleted • When an instance might change into an instance of another entity type • What history is to be kept about instances of the entity type
question
Attribute
answer
A property or characteristic of an entity or relationship type that is of interest to the organization.
question
Required attribute
answer
An attribute that must have a value for every entity (or relationship) instance with which it is associated.
question
Optional attribute
answer
An attribute that may not have a value for every entity (or relationship) instance with which it is associated
question
Composite attribute
answer
An attribute that has meaningful component parts (attributes).
question
Simple (or atomic) attribute
answer
An attribute that cannot be broken down into smaller components that are meaningful to the organization.
question
Multivalued attribute
answer
An attribute that may take on more than one value for a given entity (or relationship) instance
question
Derived attribute
answer
An attribute whose values can be calculated from related attribute values.
question
Identifier
answer
An attribute (or combination of attributes) whose value distinguishes instances of an entity type.
question
Composite identifier
answer
An identifier that consists of a composite attribute.
question
Criteria for selecting identifiers
answer
1. Will not change its value over the life 2. Each instance of the entity 3. Avoid the use of so-called intelligent identifiers 4. Single-attribute surrogate identifiers
question
Guidelines for Naming Attributes
answer
Singular noun or noun phrase Unique Each attribute name should follow a standard format Similar attributes should use the same qualifiers and classes,
question
Guidelines for Defining Attributes
answer
>What the attribute is and possibly why it is important >What is included and not included >Aliases >The source of values for the attribute >If a value for the attribute is required or optional >Whether a value for the attribute may change >The maximum and minimum number of occurrences of an attribute value for an entity instance
question
Relationship
answer
An association representing an interaction among the instances of one or more entity types that is of interest to the organization.
question
Relationship type
answer
A meaningful association between (or among) entity types.
question
Relationship instance
answer
An association between (or among) entity instances where each relationship instance associates exactly one entity instance from each participating entity type.
question
Associative entity
answer
An entity type that associates the instances of one or more entity types and contains attributes that are peculiar to the relationship between those entity instances.
question
How do you know whether to convert a relationship to an associative entity type? Following are four conditions that should exist:
answer
1. All the relationships for the participating entity types are "many" relationships. 2. The resulting associative entity type has independent meaning to end users and, preferably, can be identified with a single-attribute identifier. 3. The associative entity has one or more attributes in addition to the identifier. 4. The associative entity participates in one or more relationships independent of the entities related in the associated relationship.
question
Degree
answer
The number of entity types that participate in a relationship.
question
Degree of a Relationship
answer
The number of entity types that participate in a relationship.
question
What are three most common relationship degrees in E-R models?
answer
Unary (degree 1), binary (degree 2), and ternary (degree 3).
question
Unary relationship
answer
A relationship between instances of a single entity type.
question
Binary relationship
answer
A relationship between the instances of two entity types.
question
Ternary Relationship
answer
A ternary relationship is a simultaneous relationship among the instances of three entity types.
question
Cardinality constraint
answer
A rule that specifies the number of instances of one entity that can (or must) be associated with each instance of another entity.
question
Types of Cardinality Cosnstraints
answer
Minimum cardinality Maximum cardinality
question
Minimum cardinality
answer
The minimum number of instances of one entity that may be associated with each instance of another entity.
question
Maximum cardinality
answer
The maximum number of instances of one entity that may be associated with each instance of another entity.
question
Time stamp
answer
A time value that is associated with a data value, often indicating when some event occurred that affected the data value.
question
Guidelines for naming relationships
answer
Verb phrase Avoid vague names
question
Guidelines for defining relationships
answer
> Explains what action is being taken and possibly why it is important > Give examples to clarify the action > Optional participation > Explain the reason for any explicit maximum cardinality > Explain any mutually exclusive relationships > Explain any restrictions on participation in the relationship > Explain the extent of history that is kept in the relationship > Explain whether an entity instance involved in a relationship instance can transfer participation to another relationship instance
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New