ER model Flashcards

(10 cards)

1
Q

What is a data model?

A

A graphical representation of data entities and their relationships.

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

What are the two main components of an ERM?

A

Entities and Relationships.

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

What is an entity?

A

A thing of interest to the business, such as a person, object, or concept.

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

What does a UID represent?

A

Unique Identifier for an entity.

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

What does a relationship document in an ER model?

A

Business rules and constraints between entities.

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

How do you resolve a Many-to-Many relationship?

A

By creating an associative entity.

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

What does cardinality define?

A

The number of instances that can be associated between entities (e.g., 1:1, 1:M, M:M).

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

What’s the difference between mandatory and optional relationships?

A

Mandatory must exist; optional may or may not.

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

What is the degree of a relationship?

A

The number of entities involved (e.g., Unary, Binary).

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

Who developed the ER model?

A

Peter Chen in 1976.

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