Appendix C Flashcards

1
Q

Entity Relationship Diagram ERD

A

A technique for documenting the relationship between entities in a database environment.

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

Entity- Also called a table

A

Stores information about a person, place, thing, transaction, or event
–a customer is an entity and so is a merchandise item

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

Attribute

A

Data elements associated with an entity.

–A customer entity can be described by attributes such as: customer number, first name, last name, street, city, state, zip, phone number

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

There Are Several categories of attributes including: 4 total

A

1) Simple versus composite
2) Single-Valued versus multi-valued
3) Stored Values derived
4) Null-Valued

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

Composite Attributes **

A

Can Be Divided into smaller sub parts, which represent more basic attributes that have their own meanings.

Example: Address – broken down into a number of sub parts, such as number, street, city, & state.

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

Attributes that are not divisible into sub parts are called simple attributes. Such as age, gender,

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

Single Valued Attribute

A

Means only having only a single value of each attribute of an entity at any given time.

Example: A CUSTOMER entity allows only once Telephone Number for each CUSTOMER.

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

Multi-Valued Attribute

A

Means having the potential to contain more than one value for an attribute at any given time.

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

TEST QUESTION****

An entity in a relational database cannot have multi-valued attributes. ***

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

Relational Databases do not allow multi-valued attributes because the can cause problems:

A

1) Confuses the meaning of data
2) Significantly slow down searching
3) Place unnecessary restrictions on the amount of data that can be stored.

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

Derived Attributes

A

Can be calculated using the value of another attribute (attribute that is used to derive the attribute is called a stored attribute)

-Derived attributes are not stored, but can be derived when needed from stored attributes.

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

Null-Valued-Attribute

A

Assigned to an attribute when no other value applies or when a value is unknown.

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

ONce the basic entities and attributes have been defined, the next task is to identify the relationships among entities.

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

The Three Basic Types of relationships:

A

1) one-to-one
2) one-to-many
3) many-to-many

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

Composite Entities

A

Entities that exist to represent the relationship between two other entities.

Example: There is a many-to-many relationship between an ITEM and ORDER. *An order can contain many items and over time, the same item can appear on many ORDERs.

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

Most database installations are based on the relational data models.

A

**8

17
Q

The word “table” is used synonymously with “entity”.

A
18
Q

A row and a relation has the following properties:

1) only one value at the intersection of a column and row- a relation does not allow multi-valued attributes.
2) Uniqueness-There are no duplicate rows in a relation
3) Primary Key - A field that uniquely identifies a given entity in a table

A
19
Q

Foreign Key

A

A primary key of one table that appears as an attribute in another file and acts to provide a logical relationship between the two files.