Entity Relationship Modeling Flashcards

1
Q

What are the main components of a database?

A

Entities, attributes, relationships

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

What is one-to-many?

A

1:M, each tuple in the entity can be related to many tuples in the relating entity

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

What is one-to-one?

A

1:1, each tuple in one entity is linked to one and only one other tuple in another entity

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

What is many-to-many?

A

M:N, many instances of one entity are associated with many instances of another entity

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

What is an associative entity?

A

also know as composite or bridge entity. create associative entity with two options, inherits its primary key…and has its own primary key as well as foreign keys…

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

What is multiplicity?

A

specification of the range of cardinality values for a particular set. established by the business rules

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

What is cardinality?

A

expresses the min and max number of entity occurrences associated w/ one occurrence of the related entity

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

What is participation?

A

Determines whether all or only some entity occurrences participate in a relationship

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

What is a primary key?

A

Most important characteristic of an entity. Uniquely identifies an entity instance or tuple within an entity.

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

What is a foreign key?

A

Attribute in one entity matches the primary key in another entity proving a link b/w the two entities

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

What are the three types of relationships?

A

Unary, binary, ternary

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

What is an unary relationship?

A

A relationship existing within a single entity

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

What is a binary relationship?

A

Exists when two entities are associated in a relationship

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

What is a ternary relationship?

A

Relationship implies an association among three different entities

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

What is homonym?

A

Same name is used to label different attributes

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

What is a synonym?

A

Different names are used to describe the same attribute.

Example: car and auto refers to the same object