lesson 3 database Flashcards

1
Q

Only addresses data and
relationships. Best for deriving a sound table
design.

A

Entity-Relationship (E-R) Model

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

Class models. Goes beyond data, also models
behaviors.

A

UML (unified modeling language)

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

Technology independent. Contains more detail than the Conceptual Data Model. Considered by many to be just an expanded conceptual data model. Entities AND their attributes. Relationships AND cardinality. Constraints.

A

Logical Data Model

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

Documentation of the structure of the data. Used to communicate the design. Serve as the basis for data model implementation.

A

Entity Relationship Model

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

Entities effectively become tables. Attributes describe entities and become fields (columns) in tables. Relationships link tables on a common attribute or “key” and become formal constraints (part of the business rules).

A

Entity Relationship Diagram

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

Multiple notation systems are used. Each software program is a little different. Most common is “Crows Foot”.

A

ER Diagram Relationship Notation

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

maximum number of times an instance in one
entity can be associated with instances in the related entity

A

Cardinality

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

minimum number of times an instance in one
entity can be associated with instances in the related entity

A

Participation

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

Each row in a table should have an attribute that is a
persistent, unique identifier–

A

the “Primary Key”

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

Collection of Tables.
Tables represents both data and relationships
Multiple columns with unique names.
Tables = Relations
Record-based model – fixed format records of several types
Each record type defines a fixed number of fields, or attributes
Most widely used db.

A

Relational Model

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

Collection of basic objects called entities and its relationships.
An entity is a real world thing or object
Distinguishable from other objects
Widely used in database design

A

Entity-Relationship Model

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

Need for Object Oriented data model.
Object Based Model = ER model and Object Oriented Features
Object Relational Data Model = Object Based Model+ Relational Model

A

Object-Based Model

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

Specification of data
Individual data items of the same type may have different sets of attributes
Using of 2 different language
Contrast to ER Model, Relational Model and Object Oriented Model
XML

A

Semistructured Data Model

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