chapter 3 Flashcards

1
Q

what are the characteristics relationships in data modelling

A
  • -> represent something of significance or importance to the business
  • -> shows how entities are related to each other
  • -> exist only between entities
  • -> are bi-directional
  • -> are named at both ends
  • -> have optionality
  • -> have cardinality
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is cardinality in a relationship

A
  • -> cardinality measures the quantity of something

- -> in a relationship, it determines the degree to which one entity is related to another

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

what is an example of cardinalitu

A

each employee may hold one job and each job may be held by one or more employees

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

what is the rule that must be followed when writing erdish statements for cardinality

A

It is often necessary to add a small “s” to the end of the second entity name to make the sentence more readable.

Each JOB may be held by one or more EMPLOYEEs

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

ER diagramms are drawn according to the same _______-

A

conventiosn

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

how are entities represented on an ERD

A

they are represented as softboxes

the entity names are written inside the softboxes

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

what is ERDish

A

it is the language used to state relationships between entities in an ERD

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

what are the components of an erdish

A
EACH 
ENTITY A 
OPTIONALITY 
RELATIONSHIP NAME 
CARDINALITY 
ENTITY B
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is a matrix diagram

A

it is a grid-like drawing that can be used to discover and record relationships between entities in an entity-relationship model

it is a good way to make sure that you have not missed any relationships, especially when you are dealing with multiple entities

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

what does the matrix diagram not shwo

A

does not show optionality and cardinality

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

how many primary UID can an entity have

A

one

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