Entity-Relationship Model Flashcards

1
Q

ER Model

A

Intuitive graphic representation facilitating the understanding of modeled information requirements

de facto standard for conceptual design of a database

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

3 basic concepts of E/R model

A

Entity
Relationship
Attribute

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

3 other concepts of E/R model

A

Cardinality constraint
Generalization
Identifier

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

Entity

A

Class of objects that have objects in common

Unique name, represented with box

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

Instance (of an entity)

A

Specific object belonging to the collection(class,set) that the entity represents

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

Relationship

A

Logical link between two or more entities

unique name, represented by diamond

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

How is an occurance of a relationship modeled

A

a tuple (p,c) is an occurance of birth where p is occurance of student and c is occurance of city

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

Are duplicates allowed in relationships?

A

No

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

Binary Relationship

A

Instance of relationship is a pair of entity instances

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

Ternary relationship

A

instance of relationship is triple of entity instances (employee, office and project all related by assignment)

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

Recursive relationships

A

relationship that binds an entity to itself

player from table plays with player from table, person marries person

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

Attribute

A

Property of entity or relationship

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

Composite attributes

A

aggregating simple attributes

street, city, zipcode —> address

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

Constraints in E/R

A
  1. instance of relationship must refer to instances of entities
  2. No duplicate relationships? page 18
  3. Constraints that are defined by E/R designer

1 and 2 implicit, 3 EXPLICIT

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

Cardinality Constraints

A

min/max values that can be associated with an instance of the entity/relationship to which the attribute belongs

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

Optional attribute

A

minimum cardinality is 0

17
Q

Monovalued attribute

A

cardinality is 1

18
Q

Multivalued

Repeated

A

maximum cardinality is N

19
Q
A