Chapter 1-5, 7 Summary Flashcards

(25 cards)

1
Q

Relationships

A

interaction between entities

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

Database

A

organized collection of logically related data

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

Strong Entity

A

exists independently of other entities

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

Weak Entity

A

exists only because of another entity

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

Composite Attribute

A

can be broken down in several parts

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

{ }

A

multi-valued attribute

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

[ ]

A

derived attribute

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

Identifier

A

uniquely identifies the entity instance

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

Associative Entity

A

~many to many
~the resulting associative entity
has a meaning and could have its
own identifier
~ the resulting associative entity is in another relationship
~the resulting associative entity has 1 or more attributes

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

Subtype

A

subgrouping of the entities of an entity type that is meaningful to the org.

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

instance of a supertype that’s a member of 2 subtypes or more?

A

overlap rule

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

instance of a supertype that isn’t member of 2 subtypes or more?

A

disjoint rule

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

Relation is represented as

A

2 dimensional table of data

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

Primary key

A

an attribute (or combination of attributes) that uniquely defines each row in the relation

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

Composite key

A

Primary key made up of more than 1 attribute

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

Foreign key

A

relationship between 2 tables. Also is an attribute of a relation that serves as a primary key in another relation.

17
Q

primary key must be

A

unique and non-null.

18
Q

foreign key must

A

match a primary key value or must be null.

19
Q

1NF

A

no multi-valued attributes in the relation

20
Q

2NF

A

no partial functional dependency

21
Q

3NF

A

no transitive functional dependency

22
Q

Functional dependency

A

if a ==> b, then b is functionally dependent on a attributes of a relation

23
Q

determinant

A

the attributes on the left side of a functional depedency

24
Q

Candidate keys

A

Whatever isn’t being pointed to (==>)

25
partial function dependency
a functional dependency i which one or more non-key attributes are functionally dependent on part (but not all) of the primary key.