Quiz 2 - Ch 4 Flashcards

(46 cards)

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
Advantages of Non-stored Derived Attributes Saves s........... s......, C...... always yields c...... v.........
Saves storage space, | Computation always yields current value
26
Disadvantages of Non-stored Derived Attributes Uses CPU p........... c......... Adds coding c........to q.......
Uses CPU processing cycles | Adds coding complexity to queries
27
Association between entities: R.......
Relationships
28
Association between entities that always operate in both directions: R......
Relationships
29
Entities that participate in a relationship: P........
Participants
30
Describes the relationship classification (1:1,1:M): C.....
Connectivity
31
Expresses the minimum and maximum number of entity occurrences associated with one occurrence of related entity: C.........
Cardinality
32
Entity exists in the database only when it is associated with another related entity occurrence: E..... D.....
Existence dependence
33
Entity exists apart from all of its related entities | Referred to as a strong entity or regular entity: E..... I.........
Existence independence
34
Primary key of the related entity does not contain a primary key component of the parent entity : W........ R......
Weak Relationship (non-identifying)
35
Primary key of the related entity contains a primary key component of the parent entity: S....... R......
Strong Relationships (identifying)
36
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
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
One entity occurrence does not require a corresponding entity occurrence in a particular relationship: O........... P.........
Optional Participation
38
One entity occurrence requires a corresponding entity occurrence in a particular relationship: M........ P..........
Mandatory participation
39
Indicates the number of entities or participants associated with a relationship: R.......... D.........
Relationship Degree
40
Association is maintained within a single entity | : U............ R..........
Unary Relationship
41
Two entities are associated: B........ R........
Binary Relationship
42
Three entities are associated: T.......... R..........
Ternary Relationship
43
Also known as composite or bridge entities: A........... E............
Associative Entities
44
Used to represent an M:N relationship between two or more entities : A........... E............
Associative Entities
45
Is in a 1:M relationship with the parent entities: A........... E............
Associative Entities
46
Composed of the primary key attributes of each parent entity: A........... E............
Associative Entities