Quiz 2 - Ch 4 Flashcards

1
Q

Entity Relationship Model forms the basis of an e….. r…… d……

A

Entity relationship diagram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

E…… represents conceptual database as viewed by end user.

A

ERD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ERD depicts the database’s main components: E……., A……, R…….

A

Entities, attributes, relationships

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Refers to entity set and not to single entity occurrence: E……

A

Entities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Corresponds to table and not to row in relational environment: E……

A

Entities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In both Chen and Crow’s Foot models, entity is represented by r…….. containing entity’s name

A

Rectangle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Entity name, a noun, is usually written in c……… l…….

A

capital letters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Characteristics of entities: A……….

A

Attributes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

R………… a…………. : Must have a value, cannot be left empty

A

Required attribute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

O……….. a………….. : Does not require a value, can be left empty

A

Optional attribute: Does not require a value, can be left empty

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Attributes have a d………

A

domain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

D………… is attribute’s set of possible values

A

domain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Attributes may s…… a domain

A

share

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Primary key composed of more than one attribute: C…… k……..

A

composite key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

An attribute that can be further subdivided to yield additional attributes : C……… a………

A

Composite Attribute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

An attribute that can be further subdivided to yield additional attributes: S……… a……..

A

Simple Attribute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Single-value attribute can have only a s…….. v……..

A

Single value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

A single-valued attribute is not necessarily a s…… a…….

A

simple attribute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

M…………… a………… can have many values

A

Multivalued attributes

20
Q

Attribute whose value may be calculated (derived) from other attributes: d…….. a……….

A

Derived Attributes

21
Q

Need not be physically stored within database: d………. a………..

A

Derived Attributes

22
Q

Can be derived by using an algorithm: d………. a……….

A

Derived Attributes

23
Q

Advantages of Storing Derived Attributes
Saves CPU p……….cycle
D…… value is r…….available
Can be used to keep track oh h…….. d……..

A

Saves CPU processing cycle
Data value is readly available
Can be used to keep track oh historical data

24
Q

Disadvantages of Storing Derived Attributes

Requires constant m…….. ensure d………value is c………, especially if any values used in the c…… change

A

Requires constant maintenance to ensure derived value is current, especially if any values used in the calculation change

25
Q

Advantages of Non-stored Derived Attributes
Saves s……….. s……,
C…… always yields c…… v………

A

Saves storage space,

Computation always yields current value

26
Q

Disadvantages of Non-stored Derived Attributes
Uses CPU p……….. c………
Adds coding c……..to q…….

A

Uses CPU processing cycles

Adds coding complexity to queries

27
Q

Association between entities: R…….

A

Relationships

28
Q

Association between entities that always operate in both directions: R……

A

Relationships

29
Q

Entities that participate in a relationship: P……..

A

Participants

30
Q

Describes the relationship classification (1:1,1:M): C…..

A

Connectivity

31
Q

Expresses the minimum and maximum number of entity occurrences associated with one occurrence of related entity: C………

A

Cardinality

32
Q

Entity exists in the database only when it is associated with another related entity occurrence: E….. D…..

A

Existence dependence

33
Q

Entity exists apart from all of its related entities

Referred to as a strong entity or regular entity: E….. I………

A

Existence independence

34
Q

Primary key of the related entity does not contain a primary key component of the parent entity : W…….. R……

A

Weak Relationship (non-identifying)

35
Q

Primary key of the related entity contains a primary key component of the parent entity: S……. R……

A

Strong Relationships (identifying)

36
Q

Weak entity meets two conditions:
E……..-d…………( Cannot exist without entity with which it has a relationship)
Has p…….. k…… that is partially or totally derived from p……e……..in relationship

A

Existence-dependent ( Cannot exist without entity with which it has a relationship)
Has primary key that is partially or totally derived from parent entity in relationship

37
Q

One entity occurrence does not require a corresponding entity occurrence in a particular relationship: O……….. P………

A

Optional Participation

38
Q

One entity occurrence requires a corresponding entity occurrence in a particular relationship: M…….. P……….

A

Mandatory participation

39
Q

Indicates the number of entities or participants associated with a relationship: R………. D………

A

Relationship Degree

40
Q

Association is maintained within a single entity

: U………… R……….

A

Unary Relationship

41
Q

Two entities are associated: B…….. R……..

A

Binary Relationship

42
Q

Three entities are associated: T………. R……….

A

Ternary Relationship

43
Q

Also known as composite or bridge entities: A……….. E…………

A

Associative Entities

44
Q

Used to represent an M:N relationship between two or more entities : A……….. E…………

A

Associative Entities

45
Q

Is in a 1:M relationship with the parent entities: A……….. E…………

A

Associative Entities

46
Q

Composed of the primary key attributes of each parent entity: A……….. E…………

A

Associative Entities