Database Design Techniques Flashcards

1
Q

What is an Entity

A

IRL objects/concepts that will be stored in a DB

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

What is a Relation

A

It is a table that stores information about entities

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

What is a one-to-one relationship

A

a record on a table corresponds to one record in another table

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

what is a one-to-many relationship

A

a record in a table can be related to multiple records in a different table

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

what is a many-to-many relationship

A

multiple records in one table is related to multiple tables in an another table

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

what is a required value?

A

it ensures that a value cannot be NULL

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

what is a unique value?

A

it ensures that no two records have the same value for a specific attribute

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

what is a composite attribute?

A

attributes that can be divided into smaller parts

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

what is a multi-valued attribute

A

attributes that can have multiple values for a single entry

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

what is a controlled/ enumerated values?

A

predefined sets of values that an attribute can take.

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

what is a free-form value

A

any values are acceptable

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

what is a generalization

A

the extraction of common characteristics from multiple entities to a generalized entry

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

what is a specialization

A

a broad entity is divided into more specialized entities

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

Phone Number and Illnesses are considered what kind of attribute

A

Multi-Valued

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

An Address is what type of Attribute

A

Composite

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