Chapter 4: Relational Databases Flashcards

1
Q

Entity

A

Something about which data is stored: resources, activities (events), people (agents). Entity = students

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

Attributes/ Fields

A

Characteristics of the entity. The data for each attribute stored in fields.

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

Records

A

Individual Items, people or activities. ex: entity = students, record = one specific students information.

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

Primary Key

A

Attribute that uniquely ids each record. Usually a single attribute and can be combined with another primary key attribute. (concatenated key for many to many relationships)

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

database

A

a set of inter-related, centrally coordinated files

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

Database management system (DBMS)

A

the interface between the database and the various application programs.

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

Database System

A

the database, the DBMS, and the application programs that access the database through the DBMS .It separates the storage and use of data elements.

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

Master Files

A

stores data about Resources and people (agents), spans accounting periods, changes infrequently, similar to ledgers (AR subsidiary ledger customer information)

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

Transaction Files

A

Stores data about activities (events), each transaction is a record, or multiple records. Similar to Journals (Sales Journal Captures all Sales transactions)

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

Database Administrator (DBA)

A

responsible for the database

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

Data warehouse

A

separate databases that contain both detailed and summarized data for a number of years and is used for analysis rather than transaction processing. They are updated periodically not in real time like transaction processing databases.

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

Business Intelligence

A

the use of data warehouses for strategic decision making.

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

two main techniques used in business intelligence:

A

OLAP and Data Mining

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

Online Analytical Processing (OLAP)

A

using queries to guide the investigation of hypothesized relationships in data

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

Advantages of database systems

A
  1. Data Integration
  2. data sharing
  3. Minimal Data redundancy and data inconsistencies
  4. Data independence
  5. Cross-functional analysis
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Data Integration

A

Master files are combined into large “pools” of data that many application programs access.

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

Data Sharing

A

Integrating data are more easily shared with authorized uses. Databases are easily browsed to a problem or obtain detailed information underlying a report.

18
Q

Data Independence

A

because data and the programs that use them are independent of each other, each can be changed without changing the other, This facilitates programming and simplifies data management.

19
Q

Cross-functional Analysis

A

in a database system, relationships, such as the association between selling costs and promotional campaigns, can be explicitly defined and used in the preparation of management reports.

20
Q

Logical View

A

how people conceptually organize and understand the data.

21
Q

Physical view

A

refers to how and where data are physically arranged and stored in the computer system.

22
Q

Schema

A

describes the logical structure of a database.

23
Q

3 levels of schema

A

Conceptual
External
Internal

24
Q

Conceptual level of schema

A

organization-wide view of the entire database. Includes all data elements and relationships.

25
Q

External level of schema

A

user view of portions of the database.Consists of individual user views of portions of the data base, each of which is referred to as a subschema

26
Q

Internal level of schema

A

a low-level view of the database, describes how the data are stored and accessed, including record layouts, definition, addresses, and indexes.

27
Q

Data dictionary

A

contains information about the structure of teh database. It is maintained by the DBMS

28
Q

Reports of data dictionary

A
  1. programs or reports using a data item
  2. synonyms for the data elements in a file
  3. data elements used by a user.
29
Q

Data Query Languages (DQL)

A

interrogate and manipulate the data. Contains powerful, easy-to-use commands that enables users to retrieve, sort, order, and display data.

30
Q

Report Writer

A

simplifies queries and report by giving users limited choices.

31
Q

Data definition language (DDL) - not on pp

A

builds the data dictionary, creates the database, describes logical views for each user, and specifies records or field security constraints.

32
Q

Data Manipulation Language (DML) - not on pp

A

changes database content, including data element updates, insertions, and deletions.

33
Q

Relational Data model

A

represents conceptual and external level schemas as if data are stored in tables. Their actually not stored in tables but in the manner described in the internal level schema.

34
Q

Requirements of Relational Database

A
  1. every column in a row must be single valued
  2. Primary keys cannot be null
  3. foreign keys, if not null must have values that correspond to the value of the primary key in another table
  4. All non-key attributes in a table must describe a characteristic of the object identified by the primary key.
35
Q

Entity integrity rule

A

every row in a table represents something and that it can be identified. the primary key have a non-null value. This ensures that a specific object exists in the world and can be identified.

36
Q

referential integrity key

A

any non-null value of a foreign key must correspond to a primary key in the referenced table

37
Q

Normalization

A

assumes everything is in one large file/table. Separates attributes into multiple files/table - eliminate anomalies: delete, update, insert

38
Q

Semantic Data Modeling

A

Use business processes to create diagrams representing the database structure. Proper modeling eliminates anomalies. Preferred method because it captures the end user requirements

39
Q

update anomaly

A

data values updates are not correctly recorded

40
Q

delete anomaly

A

occurs when deleting a row has unintended consequences.no way to store information about prospective customers until they ma

41
Q

data modeling

A

the process of creating a logical representation of the structure of the database based on a company’s business processes.