Lecture 7: EER Flashcards

1
Q

EER Stands for

A

Enhanced ER

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

what does EER has that is not in ERD ?

A

subclasses and superclasss, specialization/generalization union types and attribute and relationship inheritance

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

The subclass member is considered ….. but in a …role

A

same entity but in a distinct role

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

(T or F) an entity cant be a subclass without being a member of a superclass

A

T

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

(T or F) a member of the superclass can only include one subclass

A

F, it can include as many subclasses as it wishes

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

(T or F) not every subclass has a superclass

A

F, every subclass must be a member of a superclass

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

(T or F) not every superclass has subclasses

A

T

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

An entity that is a member of subclass inherits…

A

inherits all attributes and all relationship of the superclass

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

Specialization is ….

A

defining a set of subclasses to a superclass (Meaning just giving a superclass some subclasses )

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

In Specialization the subclasses are based upon ….

A

some characteristics that they share

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

Attributes or relationship of the subclasses are called….

A

specific or local attributes

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

Generalization is….

A

the reverse of specialization

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

Specialization is called a …. process

A

top-down conceptual refinement process

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

Generalization is … process

A

bottom up conceptual synthesis process

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

Predicate defined or condition defined are called that because

A

if we can determine exactly those entities that will becomes members of each subclass by a condition the subclasses are called predicate defined

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

Disjoint Constraint means

A

means an entity can be a member of one subclass at most

17
Q

Overlapping Constraint means

A

an entity may be a member of more than one

18
Q

total constraint means

A

every entity mist be a member of some subclass

19
Q

partial constraint

A

allows entities to belong to any subclasses

20
Q

Hierarchy is

A

every subclass has one super class

21
Q

Lattice is

A

every subclass can have one or more super classes (Multiple inheritance)

22
Q

A subclass with more than one superclass is called

A

a shared subclass

23
Q

Union types (Categories)

A

single relation with more than one superclass

24
Q

option 1 in mapping the specialization / generalization

A

creates a relation for all subclasses with a foreign key of the superclass primary key

25
Q

if the relation is total subclasses specialization

A

create a relation for each subclass and remove the superclass and add all the attribute of all the superclass in each subclass

26
Q

if the relation is disjoint specialization

A

make a single relation with all attributes of the subclasses in that one relation along with all attributes of all superclass

27
Q

if the relation is overlapping specialization

A

create a single relation and all attributes of both super and subclasses with a Boolean type to indicates whether a tuple belongs to the subclass

28
Q

If union types hace different keys

A

we create a new key attribute a surrogate key and create a relation just for it