Chapter 2 Flashcards

1
Q

T||F : Every table is a relation, but not very relation is a table.

A

False

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

T||F : Every cell in a relation can hold only a single value.

A

True

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

T||F : To be considered a composite key, a key must contain at least two attributes.

A

True

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

T||F : When used to represent a relationship, the primary key must have the same name as the corresponding foreign key.

A

False

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

If the condition exists such that knowing the value of attribute X determines the value of attribute Y, then attribute Y is functionally dependent on attribute X.

A

True

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

What is synonymous with “tuple”?

A

Row

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

Keys

A

It may be unique
It may be non-unique
In may identify more than one row

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

STUDENT (SID, StudentName, Major, AdvisorID)

ADVISOR (AdvisorID, AdvisorName, Office, Phone)

A

AdvisorID is a foreign key

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

Null Values Falseness

A

A null value can mean that no value for the field is appropriate

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

Briefly describe the various tasks of the primary key

A

While a primary key helps identify unique columns, they also help create indexes for databases and help ensure that no value is repeated

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

Concept of a foreign key

A

Foreign key are primary keys in another table

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

Concept of functional dependency

A

Functional dependency is when a value of a table dependency on another value. This validates the data.

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