W7 L2 - Data Modelling Flashcards

1
Q

What is the goal of Data design and modelling

A

understand the data, what data is needed and not needed

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

What is an Entity?

A

An entity is any object in the system that we want to model and store information about. Entities are usually recognizable concepts, either concrete or abstract, such as person, places, things, or events which have relevance to the database. Some specific examples of entities are Employee, Student, Lecturer.

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

What is an Attribute?

A

An ERD attribute can be denoted as a primary key, which identifies a unique attribute, or a foreign key, which can be assigned to multiple attributes. The relationships between and among those entities.

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

What is a Relationship?

A

An Entity Relationship (ER) Diagram is a type of flowchart that illustrates how “entities” such as people, objects or concepts relate to each other within a system

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

What is a cardinality?

A

Cardinality refers to the uniqueness of data values contained in a column. High cardinality means that the column contains a large percentage of totally unique values. Low cardinality means that the column contains a lot of “repeats” in its data range.

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

Draw the cardinalities

A

Mandatory one

Optional one (zero or one)

Mandatory many (one, or more)

Optional many (zero, one, or more)

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