Chapter 6 – Data Design Flashcards

1
Q

Database Management System (DBMS)

A
• Collection of tools, features and interfaces that enables users to:
	- Add
	- Update
	- Manage
	- Access
	- Analyze
		~ The contents of a set data
• Interface between a:
	- Database
	- Users
		~ Who need to access the data
• Components:
	- Interface for:
		~ Users
		~ Database administrators
		~ Related systems
	- Data manipulation language
	- Schema
	- Physical data repository
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Schema

A

• The complete definition of a database including descriptions of all:

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

Subschema

A
  • Can be defined one or more
  • View of the database used by one or more systems or users
  • Defines only those portions of the database that a particular system or user needs is allowed to access
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Physical Data Repository

A

• Data dictionary is transformed into a:
- Physical data repository also contains the schema and subschemas
• Physical repository:
- Centralized or distributed at several locations
• Database standards:
- Open database connectivity (ODBC)
- Java database connectivity (JDBC)

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

Characteristics of Web-Based Design

A
• Global access
	- The internet enables worldwide access using existing infrastructure
• Ease of use
	- Web browsers provides a familiar interface that is:
		~ User-friendly
		~ Easily learned
• Multiple platforms
• Cost effectiveness
• Security issues
• Adaptability issues
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Internet Terminology

A
  • Intranet
  • Extranet
  • Clients
  • Servers
  • Protocols
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Connecting a Database to the Web

A

• Database must be connected to the internet or intranet
- Middleware
- Example:
~ Adobe ColdFusion

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

Data Security

A

• Web-based data:

- Totally secure
- Easily accessible to authorized users
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Data Design Terminology (*)

A
• Definitions
	- Entity
	- Table or file
	- Field or Attribute
		~ Single characteristic about an entity
	- Record or Tuple
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Key Fields

A
  • Primary
  • Candidate
  • Foreign
  • Secondary keys
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Primary key

A
Uniquely identifies a particular member of an entity
• Combination key
• Composite
• Key
• Concatenated key
• Multi-valued key
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Candidate key

A

• Could serve as the primary key
- Nonkey field
~ Not a primary key and not a candidate key

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

Foreign key

A
  • Primary key in one table

* Foreign key in another table

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

Secondary key

A

Can be used to access or retrieve records

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

Referential Integrity

A

• Validity checks:
- Can help avoid data input errors
• In a relational database:
- Means that a foreign key value cannot be entered in one table unless it matches an existing primary key in another table
• Example:
- Preventing you from entering a customer order in an order table unless that customer already exists in the customer table
• Orphan

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

Entity-Relationship Diagrams (ERD)

A

• An entity is a person, place, thing or event
- For which data is collected and maintained
• ERD:
- Provides an overall view of the system
- A blue print for creating the physical data structure

17
Q

Normalization

A
• A process of creating table designs by:
	- Assigning specific fields or attributes
• Table design
• Involves 4 stages:
	- Unnormalized design (UNF)
	- First normal form (1NF)
	- Second normal form (2NF)
	- Third normal form (3NF)
• Standard Notation Format
18
Q

Database Models

A

• Relational Databases
- New entities and attributes can be added at any time
~ Without restructuring the entire database
• Object-Oriented Databases
- Natural extension of the object-oriented analysis process
- Object Database Management Group (ODMG)
- Each object has a unique object identifier

19
Q

Data Storage and Access

A
  • Involves strategic business tools
  • Strategic tools for data storage and access
  • Logical and Physical Storage (*)
  • Data Storage Formats
20
Q

Data warehouse - Dimensions of characteristics (*)

A

• Integrated collection of data that can support:

- Management analysis
- Decision making
21
Q

Data mart (*)

A

• Serve the needs of a specific department
• Each data mart includes only:
- The data that users in that department require to perform their jobs

22
Q

Data mining (*)

A

• Looks for:
- Meaningful data patterns and relationships
• Help companies identify:
- Potential customers based on their prior purchases
• Focuses on:
- Methods of obtaining valuable business knowledge from a data warehouse

23
Q

Goal of data mining

A
• Increase:
	- Average pages viewed per session
	- Checkouts per visit
	- Number of referred customers
	- Average profit per checkout
• Reduce:
	- Clicks to close
• Clickstream storage – market basket analysis
24
Q

Logical and Physical Storage (*)

A
• Logical storage
	- Data that a user can:
		~ View
		~ Understand
		~ Access
			\+ Characters
			\+ Date element / Data item
			\+ Logical record
• Physical storage
	- Hardware-related
		~ Physical record / block
		~ Buffer
		~ Blocking factor
25
Q

Data Storage Formats

A
• Binary digits
	- Binary storage format
	- Integer format
	- Long integer
		~ Exists for efficient storage of exceedingly long numbers
• Bit
• Byte
• EBCDIC & ASCII
• Unicode