EER Flashcards

1
Q

what is an Nary relationship

A

has more than two entities participating. Required when a binary relationship is not sufficient

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

what do enhanced models include that normal models do not

A

inheritance

category and union types

specialisation and generalisation

super and subclasses

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

what are the benefits of an enhanced relationship diagram

A

more accurate to schema

reflects properties more precisely

expresses more

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

describe sub and super classes

A

a superclass has one or more subtypes

subclasses have unique attributes and inherits properties and attributes from superclass

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

describe specialisation

A

top down- set to subset

can be separated in diagram

increases size of schema

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

describe generalisation

A

bottom up- subset to set

reduces size of schema

if there is a higher entity, there must be a lower

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

what is disjoint

A

each is only one

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

what is overlap

A

each can be one or more

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

what is union

A

each can be one or more

subclass has own key

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