Starting from weak and strong entities Flashcards

1
Q

Strong entities are denoted by:

A

Rectangles

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

Weak entities are denoted by:

A

Double rectangles

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

What are attributes?

A

descriptive properties of entities and denoted by ovals

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

What are keys

A

kinda like attributes but uniquely identified

Superkey: umbrella term for a set of one or more attributes taken to identify an entity occurrence

Candidate: minimal set(one)

composite: superkey but starts with 2

Primary key: chosen principal means of identifying

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

Vrai ou faux: A key (primary, candidate, and super) is a property of the individual entity occurrences , rather than of the entity set.

A

Faux, reverse it

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

How do you denote primary keys:

A

underline the names…all for composite

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

Relationship?

A

Single…meaningful association among entities, represented by a diamond and weak by double diamond

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

Relationships within an entity is possible…

A

OUI

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

Multiplicity

A

Constraint on relationships, cardinality and participation

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

Cardinality

A

Maximum number of occurrences

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

Participation

A

Determines whether all or only some entity occurrences participate in a relationship.
Total is bold line ou double

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

Problems with ER models

A

Some constraints can’t be captured

Subjective

Hard to decide if it is an attribute, relation or entity

Cause connection traps

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

What are connection traps and examples:

A

problem caused by designing a conceptual data model.

Fan trap : pathway between certain entity occurrences is ambiguous

Chasm trap:
model suggests the existence of a relationship between entity types, but pathway does not exist between certain entity occurrences that creates information gap

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

Specialization?

A

EER concept, designating subgroups within an entity set.

16
Q

Super and sub class

A

entity type with >= 1 subgroupings

Subgrouping

Both written in rectangle with ISA in it

17
Q

Generalization

A

EER, opposite of specialization

18
Q
A