Lesson 4 Flashcards

1
Q

entity-relationship (ER) model

A

high-level representation of data requirements, ignoring implementation details

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

Entity

A

person, place, product, concept, or activity

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

Relationship

A

statement about two entities

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

Attribute

A

descriptive property of an entity

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

Reflexive relationship

A

relates an entity to itself

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

ER diagram

A

schematic picture of entities, relationships, and attributes

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

Entity type

A

set of things

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

Relationship type

A

set of related things

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

Attribute type

A

set of values

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

Entity instance

A

Individual thing

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

Relationship instance

A

statement about entity instances

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

attribute instance

A

Individual value

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

Analysis for Database Design

A

Conceptual design

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

Strong entity

A

entity with own primary key

can exist independent of other entities

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

Weak entity

A

entity with composite key

must depend on strong entities to exist

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

cardinality

A

refers to maxima and minima of relationships and attributes

*one-to-one
*one-to-many
*many-to-many

17
Q

Relationship maximum

A

Greatest number of instances of one entity that can relate to a single instance of another entity

one-to-many

18
Q

Relationship minimum

A

Least number of instances of one entity that can relate to a single instance of another entity

19
Q

Subtype entity

A

subset of another entity type, called the supertype entity

20
Q

partition

A

A partition of a supertype entity is a group of mutually exclusive subtype entities

21
Q

Database Design

A

After entities, relationships, attributes, cardinality, and strong and weak entities are determined, the designer looks for supertype and subtype entities.

22
Q

crow’s foot notation

A

depicts cardinality as a circle (zero), short line (one), or three short lines (many)

23
Q

Artificial Key

A

single column primary key created by the database designer when no suitable single column or composite primary key exist

24
Q

functional dependence

A

dependence of one column on another

25
Q

Redundancy

A

repetition of related values in a table

26
Q

Normal forms

A

rules for designing tables with less redundancy

Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF

27
Q

candidate key

A

simple or composite column that is unique and minimal

a table can have multiple candidate key

28
Q

non-key

A

column that is not a possible candidate key

29
Q

Normalization

A

Eliminates redundancy by decomposing a table into two or more tables

Redundancy is eliminated with normalization

Last step of the Logical design

30
Q

trivial dependencies

A

When the columns of A are a subset of the columns of B, with A always depending on B

31
Q

Denormalization

A

intentionally introducing redundancy by merging tables to eliminate JOIN queries

32
Q

Boyce-Codd normal form

A

ideal for tables with frequent inserts, updates, and deletes

33
Q

IsA

A

supertype entity identifies its subtype entities

34
Q

Attribute minimum

A

Least number of attribute values that can describe each instance

Appears in parentheses