Quiz 2 - Ch 4 Flashcards
(46 cards)
Entity Relationship Model forms the basis of an e….. r…… d……
Entity relationship diagram
E…… represents conceptual database as viewed by end user.
ERD
ERD depicts the database’s main components: E……., A……, R…….
Entities, attributes, relationships
Refers to entity set and not to single entity occurrence: E……
Entities
Corresponds to table and not to row in relational environment: E……
Entities
In both Chen and Crow’s Foot models, entity is represented by r…….. containing entity’s name
Rectangle
Entity name, a noun, is usually written in c……… l…….
capital letters
Characteristics of entities: A……….
Attributes
R………… a…………. : Must have a value, cannot be left empty
Required attribute
O……….. a………….. : Does not require a value, can be left empty
Optional attribute: Does not require a value, can be left empty
Attributes have a d………
domain
D………… is attribute’s set of possible values
domain
Attributes may s…… a domain
share
Primary key composed of more than one attribute: C…… k……..
composite key
An attribute that can be further subdivided to yield additional attributes : C……… a………
Composite Attribute
An attribute that can be further subdivided to yield additional attributes: S……… a……..
Simple Attribute
Single-value attribute can have only a s…….. v……..
Single value
A single-valued attribute is not necessarily a s…… a…….
simple attribute
M…………… a………… can have many values
Multivalued attributes
Attribute whose value may be calculated (derived) from other attributes: d…….. a……….
Derived Attributes
Need not be physically stored within database: d………. a………..
Derived Attributes
Can be derived by using an algorithm: d………. a……….
Derived Attributes
Advantages of Storing Derived Attributes
Saves CPU p……….cycle
D…… value is r…….available
Can be used to keep track oh h…….. d……..
Saves CPU processing cycle
Data value is readly available
Can be used to keep track oh historical data
Disadvantages of Storing Derived Attributes
Requires constant m…….. ensure d………value is c………, especially if any values used in the c…… change
Requires constant maintenance to ensure derived value is current, especially if any values used in the calculation change