Databases-Chapter 2 Flashcards

Data models

1
Q

Data model

A

Relatively simple representation ,usually graphical, of more complex real-world data structures

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

Importance of data models

A

It represents data structures and their entities, characteristics, relationships, constraints and transformations
Saves costs, reduces development time, decreases errors
Improves understanding of the business and
Improves communication between role players on the project

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

Entity

A

A real world object distinguishable from others
they have attributes and relationships

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

Business rules

A

Are brief, precise and unambiguous descriptions of policies, procedures or principles within a specific organization(help to create and enforce actions within that org’s environment)

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

Business rules must be:

A

-Rendered in writing
-Apply to any organization that stores and uses data to generate information
-Must be kept up to date to reflect any change in the org’s operational environment
-Sometimes are external to the organization
-Easy to understand and widely disseminated to ensure that every person in the org shares a common interpretation of the rules
-Describes characteristics of the data as viewed by the company

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

Sources of business rules

A

-Company managers
-Policy makers
-Department managers
-Written documentation(procedures, standards, operations manuals)
-Direct interviews with end users

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

SQL involves

A

User interface
A set of tables stored in the database
SQL engine

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

Data abstraction

A

Is the reduction of a certain portion of data for a simple presentation of content
The process of removing features from something to reduce the set of necessary features

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

American national standards institute(ANSI)
Standards Planning and requirements committee(SPARC)

A

Defined a framework for data modeling based on degrees of data abstraction(1970s)

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

The external model

A

Hardware and software independent
End users’ view of the data environment
Use business rules
Highest level of abstraction

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

The external model advantages

A

-Easy to identify specific data required to support each business unit’s operations
-Facilitates designer’s job by providing feedback about the model’s adequacy
-Creation of external models helps to ensure security constraints in the database design
-Simplifies app program development

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

The conceptual model

A

-Represents global view of the entire database
-Provides a relatively easily understood macro level view of data environment
-Independent of both software and hardware

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

The internal model

A

-Representation of the database as seen by the DBMS
-Maps the conceptual model to the DBMS
-Internal schema depicts a specific representation of an internal model

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

Physical model

A

-Operates at the lowest level of abstraction, describing the way data are saved on storage media such as disks or tapes
-Software/hardware dependent
-Requires that database designers have a detailed knowledge of the hardware and software used to implement database design

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

The process of identifying and documenting business rules is essential to database design for several reasons:

A

-They help standardize the company’s view of data
-They can be a communications tool between users and designers
-They allow the designer to understand the nature, role and scope of the data
-They allow the designer to develop appropriate relationship participation rules and constraints and to create an accurate model
-They allow the designer to understand business processes

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

End-user interface

A

The interface allows the end user to interact with the data(by auto-generating SQL code)

17
Q

A collection of tables stored in the database

A

All data are perceived to be stored in tables, easier to understand

18
Q

SQL engine

A

Executes all queries or data requests, SQL engine is part of the DBMS software

19
Q

Unified Modelling language

A

Language that describes a set of diagrams and symbols that can be used to model a system graphically

20
Q

Relational data model Advantages

A

Data/structural independent
-Structural independence is promoted by the use of independent tables. Change in a tables structure do not affect data access/app programs
-Tabular view substantially improves conceptual simplicity
-Ad hoc query capability is based on SQL
-Powerful RDBMS isolates the end user from physical-level details and improves implementation and management simplicity

21
Q

Relational data model disadvantages

A

-The RDBMS requires substantial hardware and system software overhead
-Conceptual simplicity gives relatively untrained people tools to use a good system poorly, and if unchecked it may produce the same data anomalies found in the file systems
-It may promote islands of info problems as individuals and departments can easily develop their applications