CH4 Flashcards

1
Q

Three Stages of Database Development

A

– Requirements Analysis Stage
– Component Design Stage
– Implementation Stage

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

Systems Development Life Cycle (SDLC)

A
  • Requirement analysis
  • Design
  • Development
  • Testing
  • Maintenance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The Requirements Analysis Stage

A
– User Interviews
– Forms
– Reports
– Queries
– Use Cases
– Business Rules
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Elements of E-R Models

A

– Entities
– Attributes
– Identifiers
– Relationships

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

Entity

A
• something of importance to a user that needs to be represented in a database
• represents one theme or
topic
• in an entity-relationship model,
entities are restricted to things that
can be represented by a single table.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Entity Class

A

a description of the structure and format of the occurrences of the entity

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

Entity Instance

A

a specific occurrence of an entity within an entity class

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

Attributes

A
  • have a data type and properties

* describe the entity’s characteristics

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

Identifiers

A
  • Entity instances have identifiers
  • An identifier will identify a particular
    instance in the entity class
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Identifier Types

A
  • Uniqueness

- Composite

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

Uniqueness

A

– Identifiers may be unique or nonunique.
– If the identifier is unique, the data value for the
identifier must be unique for all instances.

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

Composite Identifier

A
  • Consists of two or more attributes.
    • E.g., OrderNumber & LineItemNumber are both
    required.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Relationships

A

• Entities can be associated with one

another in relationships.

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

Relationship Degree

A
• Defines the
number of entity classes participating
in the relationship:
– Degree 2 is a binary relationship.
– Degree 3 is a ternary relationship.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

1:1 (one-to-one) Binary Relationship

A

A single entity instance in one entity class is
related to a single entity instance in another
entity class.
• An employee may have no more than one locker;
and
• A locker may only be accessible by one employee

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

1:N (one-to-many) Binary Relationship

A

– A single entity instance in one entity class is
related to many entity instances in another
entity class.
• A quotation is associated with only one item; and
• An item may have several quotations

17
Q

N:M (many-to-many) Binary Relationship

A

– Many entity instances in one entity class is
related to many entity instances in another
entity class:
• a supplier may supply several items; and
• a particular item may be supplied by several
suppliers.

18
Q

Maximum Cardinality

A

the maximum number of entity instances that may participate in a relationship instance—one, many, or some other fixed number

19
Q

Minimum Cardinality

A

the minimum number of entity instances that must participate in a relationship instance
- values typically assume a value of zero (optional) or one (mandatory).

20
Q

Entity-Relationship Diagrams

A

– Entity classes are shown by rectangles.

– Relationships are shown by diamonds.

21
Q

HAS-A relationships

A

each entity instance has a relationship to a second entity instance