Entity Relationship Model Flashcards

1
Q

The _______-________ model is a notation for describing schemas in databases

A

entity-relationship

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

The ER model is a high-level ______

A

sketch

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

A DB design is called a ER ______

A

diagram

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

ER models are converted to relational DB ______

A

schemas

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

Later in the DB design phase, the _____ model is transformed into a ____ model

A

conceptual, logical

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

The _________ process removes redundancies in data or updates anomalies in the DB design

A

normalization

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

The ______ representation of the DB model usually differs from the logical representation

A

physical

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

An _____ is a thing or object

A

entity

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

An entity set is a ______ of similar entities

A

collection

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

An attribute is a ______ of an entity set

A

property

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

An _______ is a simple value, like an int or char string

A

attribute

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

In ER diagrams, an entity set is a _______

A

rectangle

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

In ER diagrams, _______ are an oval with a line to its entity set

A

attributes

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

In ER diagrams, a relationship is represented as a ______ with lines to each of the two or more entity sets involved

A

diamond

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

A ———–> B indicates what? What is the term for this?

A

A is owned by at most one B. The term is “uniqueness constraint”

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

The value of an entity set is the set of _______ that belong to it

A

entities

17
Q

The value of a relationship is a _________ set

A

relationship

18
Q

A relationship set is a set of tuples with one ______ for each related entity set

A

component

19
Q

A _______ constraint imposes lower and upper bounds on the number of connections between entities E and F

A

cardinality

20
Q

What are the 3 different multiplicity restrictions we can have for a binary relationship?

A

Many-to-one, one-to-one, and many-to-many

21
Q

In a __________ relationship, each entity of the first set is connected to at most one entity of the second set

A

Many-to-one

22
Q

You can show a _______ relationship in an ER diagram by an arrow entering the one side

A

many-to-one

23
Q

You can show a ________ relationship in an ER diagram with an arrow entering both entity sets

A

one-to-one

24
Q

A regular arrow in an ER diagram shows a relation of ______ _____ _____

A

at most one

25
Q

A rounded arrow in an ER diagram shows a relation of ______ _____

A

exactly one

26
Q

An “Is-A” relation declares that every A entity is also a _ entity

A

B

27
Q

A candidate key must be a _____ identifier and must be ______

A

unique, minimal