Relational Model Flashcards

(10 cards)

1
Q

What is the main focus of system design?

A

The “how” aspect—implementation details of the system.

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

What is the output of database design?

A

A logical data model.

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

What is the de facto standard data model in the industry?

A

Relational model.

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

What is a tuple in relational model terms?

A

A row in a table.

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

What does a primary key do?

A

Uniquely identifies each tuple (row) in a table.

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

What ensures referential integrity?

A

Every FK must reference an existing PK in another table.

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

In one-to-many relationships, where does the FK go?

A

In the “many” side table.

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

What does cardinality mean in a relational model?

A

Number of tuples (rows) in a table.

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

Can attributes in a relational table have multiple values?

A

No. Only single values per attribute.

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

Who proposed the relational model?

A

E.F. Codd in 1970.

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