Lecture 3 Flashcards
1
Q
Main purposes of data modeling include:
A
- to assist in understanding the meaning (semantics) of the data;
- to facilitate communication about the information requirements.
2
Q
Building data model requires answering questions about
A
entities, relationships, and attributes
3
Q
Conceptual Database Design
A
- Process of constructing a model of the data used in an enterprise, independent of all physical considerations
- built using the information in users’ requirements specification
- Conceptual data model is source of information for logical design phase
4
Q
Logical Database Design
A
- Process of constructing a model of the data used in an enterprise based on a specific data model (e.g. Relational or Dimensional),
- but independent of physical considerations and a particular DBMS
5
Q
Physical Database Design
A
- Process of producing a description of the database implementation on secondary storage
- Describes base relations, file organizations, and indexes used to achieve efficient access to data
- Also describes any associated integrity constraints and security measures
- Tailored to a specific DBMS
6
Q
Application Design
A
- Design of user interface and application programs that use and process the database.
- Database design and application design are parallel activities.
- Includes two important activities:
- transaction design;
- user interface design.
7
Q
Implementation
A
- Physical realization of the database and application designs
- This will include the database transactions implemented using a host programming language
8
Q
usability
A
- Should also test usability of system (HCI)
- Evaluation conducted against a usability specification (measuring learnability, adaptability, etc.)
9
Q
Concepts of the ER Model
A
Entity types
- Group of objects with same properties, identified by enterprise as having an independent existence
- Entity occurrence, uniquely identifiable object of an entity type.
Relationship types
- Set of meaningful associations among entity types.
- Relationship occurrence, uniquely identifiable association, which includes one occurrence from each participating entity type.
Attributes
10
Q
Semantic net of Has relationship type
A
11
Q
ER relationship diagram of Branch Has Staff
A
12
Q
degree of a relationship
A
Number of participating entities in relationship.
- two is binary
- three is ternary
- four is quaternary
13
Q
Examples: Binary Relationship
A
14
Q
Example: Ternary Relationship
A
15
Q
Example: Quaternary Relationship
A