Chapter 3-4 Flashcards

1
Q

_____ expresses the minimum and maximum number of entity occurrences associated with one occurrence of the related entity.

a) Relationship
b) Connectivity
c) Dependence
d) Cardinality

A

d) Cardinality

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

The entity relationship model uses the associative entity to represent a(n) _____ relationship between two or more entities.

a) M:N
b) N:1
c) 1:M
d) M:1

A

a) M:N

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

An entity in the entity relationship model corresponds to a table in the relational environment.

A) True
B) False

A

A) True

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

Depending on the sophistication of the application development software, nulls can create problems when functions such as COUNT, AVERAGE, and SUM are used.

A) True
B) False

A

A) True

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

The DIVIDE operation uses one single-column table (e.g., column “a”) as the divisor and one two-column table (e.g., columns “a” and “b”) as the dividend.

A) True
B) False

A

A) True

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

The SELECT operator yields a vertical subset of a table.

A) True
B) False

A

B) False

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

As rare as 1:1 relationships should be, certain conditions absolutely require their use.

A) True
B) False

A

A) True

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

In the entity relationship diagram (ERD), cardinality is indicated using the _____ notation, where max is the maximum number of associated entities and min represents the minimum number of associated entities.

a) (max, min)
b) (min, max)
c) [min … max]
d) {min|max}

A

b) (min, max)

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

Each table _____ represents an attribute.

a) column
b) row
c) value
d) dimension

A

a) column

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

_____ are especially useful when you are trying to determine what values in related tables cause referential integrity problems.

a) Equijoins
b) Inner joins
c) Outer joins
d) Theta joins

A

c) Outer joins

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

A(n) _____ is an orderly arrangement used to logically access rows in a table.

a) relationship
b) superkey
c) index
d) primary rule

A

c) index

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

According to Codd’s _____ rule of relational database, “Application programs and ad hoc facilities are logically unaffected when changes are made to the table structures that preserve the original table values (changing order of columns or inserting columns).”

a) nonsubversion
b) integrity independence
c) logical data independence
d) comprehensive data sublanguage

A

c) logical data independence

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

A _____ is any key that uniquely identifies each row.

a) superkey
b) special key
c) candidate key
d) foreign key

A

a) superkey

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

The row’s range of permissible values is known as its domain.

A) True
B) False

A

B) False

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

The DIFFERENCE operator subtracts one table from the other.

A) True
B) False

A

A) True

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

A weak relationship exists if the primary key of the related entity contains at least one primary key component of the parent entity.

A) True
B) False

A

B) False

17
Q

Connectivities and cardinalities are established by concise statements known as business rules.

A) True
B) False

A

A) True

18
Q

In the relational model, _____ are important because they are used to ensure that each row in a table is uniquely identifiable.

a) indexes
b) relations
c) logical structures
d) keys

A

d) keys

19
Q

In Chen notation, there is no way to represent cardinality.

A) True
B) False

A

B) False

20
Q

The _____ relationship should be rare in any relational database design.

a) M:1
b) 1:1
c) 1:M
d) M:N

A

b) 1:1

21
Q

The idea of determination is unique to the database environment.

A) True
B) False

A

B) False

22
Q

The entity relationship model (ERM) is dependent on the database type.

A) True
B) False

A

B) False

23
Q

When using the Crow’s Foot notation, the associative entity is indicated by _____ relationship lines between the parents and the associative entity.

a) triple
b) double
c) dotted
d) solid

A

d) solid

24
Q

When you define a table’s primary key, the DBMS automatically creates a(n) _____ index on the primary key column(s) you declared.

a) primary
b) key
c) composite
d) unique

A

d) unique

25
Q

To implement a small database, a database designer must know the “1” and the “M” sides of each relationship and whether the relationships are mandatory or optional.

A) True
B) False

A

A) True