chapter 7 review Flashcards
t or f: entity relation model forms the basis of an entity relation diagram
true
… represents conceptual DB as viewed by end users
ERD
ERDs depict DBs main components which are:
e
a
r
entity
attribute
relationships
refers to entity set and not single entity occurrence
entity
what is the shape of a crow’s foot model?
rectangle
characteristics of entities?
attributes
attributes represented by ovals connected to entity rectangle with a line
Chen notation
…. attributes written in an attribute box below the entity rectangle
crows foot notation
attributes that must have a value
required attributes
maybe left empty
optional attributed
set of possible values for an attribute
domain
one or more attributes that uniquely identify each entity instance
identifiers
primary key composed of more than one attribute
composite identifiers
t or f: composite attributes can’t be subdivided
false
t or f: simple attributes can be subdivided
false
value may be calculated from other attributes
derived attributes
t or f : relationship classification is difficult to establish if only one side of the relationship is known
true
describe the relationship classification
connectivity
expresses a minimum number of entity occurrences associated with one occurrence of a related entity
cardinality
an entity exists in DB only when it is associated with another related entity occurrence
existence dependence
entity can exist apart from one or more related entities
existence independence
exists if PK of related entity doesnt contain PK component of parent entity
weak relationship
exists if PK of related entity does contain PK component of a parent entity
strong entity
weak entity meets two conditions:
e
p
existence-dependant
primary key partially or totally derived from parent entity in relationship
one entity occurrence doesn’t require corresponding entity occurrence in a particular relationship
optional participation
one entity occurrence requires corresponding entity occurrence in particular relationship
mandatory participation
the association is maintained within a single entity
unary relationship
two entities are associated
binary relationship
three entities are associated
Trenary relationship
….. used to implement m:n relationship
associative entities
t or f: DB designers must make design compromises?
true
…. design standards, processing speed, information requirements
conflicting goals
t or f: it is not important to meet logical requirements and design conventions
false