Chapter 4-Database Design Methodology Flashcards

1
Q

Insertion anomaly

A

A circumstance in which data may not be entered into a relation because a complete primary key is not available.

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

Deletion anomaly

A

A circumstance in which unwanted data is deleted from my relation.

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

Update anomaly

A

A circumstance in which redundant data in a relation may not be properly updated.

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

Name the six conceptual design phases.

A
  1. Identifying entities.
  2. Identifying attributes and attribute domains for entities.
  3. Identifying relationships.
  4. Identifying candidate and primary keys for entities.
  5. Creating an entity relationship diagram.
  6. Reviewing the ER model by the design user and design team.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Each entity must have what to distinguish it from other entities?

A

A unique identifier

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

Once each entity has been identified and given a unique identifier what needs to happen next?

A

The attributes or characteristics of each entity must be identified.

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

What needs to happen with the primary key during the identifying candidate and primary keys for entities phase?

A

The step involves determining which attribute with an entity will be used as the primary key.

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

What are the four guidelines to use when determining a primary key?

A
  1. The candidate key least likely to have its value changed.
  2. The candidate key least likely to lose its uniqueness.
  3. The candidate key that contains the fewest characters.
  4. The candidate key that is easiest for the user to use.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is another style of database modeling?

A

Information engineering (IE)

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

In an ER model what shape is used to represent entities?

A

Rectangle

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

In an ER model what shape is used to represent attributes?

A

Oval

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

In an ER model what indicates the primary key?

A

*

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

In the IE model the attributes are placed within what?

A

A rectangle

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

SMALLINT

A

16 bit signed integer

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

INTEGER

A

32 bit signed integer

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

DECIMAL(p,q)

A

Signed decimal number, p is digits and q is decimals.

17
Q

FLOAT(p)

A

Floating-point number of p bits Percision

18
Q

CHAR(n)

A

Fixed length string of n characters

19
Q

VARCHAR(n)

A

Variable length string of up to n characters

20
Q

DATE

A

Date in the form YYYYMMMDD

21
Q

TIME

A

Time in the form HH MM SS

22
Q

TIMESTAMP

A

Combines a DATE and a TIME

23
Q

Recursive relationship

A

An entity relationship in which an entity is involved in a relationship with itself.

24
Q

CREATE TABLE

A

Tables created with CREATE TABLE statement are based tables.

25
Q

Methodology

A

An organized documented set of procedures and guidelines for those who work in a discipline or participate in an inquiry.