Chapter 10 Study Questions Flashcards

1
Q

A table in a relational database represents an object or ______.

A

entity

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

Within each table, each column stores one item of information or _________.

A

attribute

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

Each table row stores one occurrence, or ________, of the entity.

A

instance

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

The _______ key for a table uniquely identifies each row. It should be persistent and minimal.

A

primary

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

To implement a one-to-many relationship between tables, add a _______ key on the “many” side.

A

foreign

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

A many-to-many relationship between two tables is implemented with a _______ table.

A

linking table

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

___________ _________ means that the relationships between tables are maintained correctly (i.e. a table with foreign key values have matching key vales in the related table).

A

Referential integrity

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

If referential integrity is not enforced and a row is deleted from the primary key (or parent) table that has related rows in the foreign key table are said to be ________.

A

orphaned

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

_____________ is a formal process used to separate data in a data structure into separate tables. The purpose of this process is to reduce data redundancy.

A

Normalization

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

With an ____________ data structure, a table can contain information about two or more entities, repeating columns, and data that is repeated in two or more rows.

A

unnormalized

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

In a __________ ____ _________, each table contains information about a single entity, and each piece of information is stored in exactly one place.

A

normalized data structure

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

To normalize a data structure, apply the ______ _____ in sequence.

A

normal forms

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

An _____ is a structure that provides for locating one or more rows directly.

A

index

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

Without an index, a database management system has to perform a _____ ____ which involves searching through the entire table.

A

table scan

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

A _________ index consists of two or more columns.

A

composite

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

When normalizing a data structure, if the value stored at the intersection of each row and column is a scalar variable, and there are no repeating columns, the relation is in _____ ______ ____.

A

first normal form

17
Q

The normal form where every non-key column is dependent on the entire primary key is termed ______ ______ ____.

A

second normal form

18
Q

If every non-key column is dependent only on primary key, that is a non-key column is not a determinant, the relation is in _____ ______ ____.

A

third normal form

19
Q

When normalized into ______-___ or _____ ______ ____, every constraint on the relationship is dependent only on key constraints and domain constraints.

A

domain-key or sixth normal form

20
Q

A ______ is the set of allowable values for a column.

A

domain