First Test Flashcards

0
Q

Referential integrity

A

A foreign key in one table has to be a primary key in another table

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

Foreign key

A

Primary key in another table

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

Entity integrity

A

Every table has to have a primary key and the primary key cannot be null

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

Derived attribute

A

An attribute need not be physically stored within the database

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

Cardinality

A

Specific number of entity occurrences

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

ER diagram

A

Represents the conceptual database as viewed by the end user

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

Composite key

A

A primary key composed of more than one attribute

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

Recursive relationship

A

When an entity is related to itself

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

Primary key

A

A unique key that cannot contain a null value and relates to the other keys in the table

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

Candidate key

A

Any columns or combo of columns that can qualify as a unique key in the database.

Basically candidate keys can qualify as primary keys

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

Secondary key

A

Candidate keys that were not selected as the primary key

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

Alternate key

A

Any of the candidate keys that is not part of the primary key

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

Domain

A

A parameter of an attribute

Example: months 1-12

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

Business rule

A

A rule set up arbitrarily

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

Relationship

A

Between entities that are related in a 1-1 1-many or many-many

Links entities through PK and FK

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

Entity

A

Person, place, or thing in which data can be collected

16
Q

Attributes

A

Describes the facts, details, or characteristics of an entity

17
Q

Hierarchical model

A

Developed by IBM in 1960

18
Q

Network model

A

Also called the codasyl model

19
Q

Relational model

A

Uses the repetition of unique identifying info to link data

20
Q

Object oriented model

A

Emerging technology that bundles data and processes

21
Q

Legacy system

A

Older system that would no longer be used for new development

22
Q

Super key

A

An attribute or combination of attributes that uniquely identifies each row in a table