• 沒有找到結果。

Discovering Computers 2011

N/A
N/A
Protected

Academic year: 2022

Share "Discovering Computers 2011"

Copied!
43
0
0

加載中.... (立即查看全文)

全文

(1)

Living in a Digital World

Discovering

Computers 2011

(2)

Objectives Overview

Define the term, database, and explain

how a database interacts with data and

information Define the term, database, and explain

how a database interacts with data and

information

Define the term, data integrity, and describe the qualities of valuable

information

Define the term, data integrity, and describe the qualities of valuable

information

Discuss the terms character, field, record,

and file

Discuss the terms character, field, record,

and file

Describe file maintenance techniques and validation techniques

Describe file maintenance techniques and validation techniques

Differentiate between a file processing

approach and the database approach Differentiate between a

file processing

approach and the

database approach

(3)

Objectives Overview

Discuss the functions common to most database management

systems

Discuss the functions common to most database management

systems

Describe characteristics of relational, object-

oriented, and multidimensional

databases

Describe characteristics of relational, object-

oriented, and multidimensional

databases

Explain how to access Web databases

Explain how to access Web databases

Identify database design guidelines and discuss

the responsibilities of database analysts and

administrators

Identify database design guidelines and discuss

the responsibilities of database analysts and

administrators

Discovering Computers 2011: Living in a Digital World Chapter 10

See Page 513 3

for Detailed Objectives

(4)

Databases, Data, and Information

Database Database

• Collection of data organized in a manner that allows access,

retrieval, and use of that data

• Collection of data organized in a manner that allows access,

retrieval, and use of that data

Data Data

• Collection of unprocessed items

• Text

• Numbers

• Images

• Audio

• Video

• Collection of unprocessed items

• Text

• Numbers

• Images

• Audio

• Video

Information Information

• Processed data

• Documents

• Audio

• Images

• Video

• Processed data

• Documents

• Audio

• Images

• Video

(5)

Databases, Data, and Information

Discovering Computers 2011: Living in a Digital World Chapter 10

Pages 514 – 515 5 Figure 10-1

(6)

Databases, Data, and Information

Database software, often called a database management system (DBMS), allows users to:

Create a computerized database

Create a computerized

database Add, modify, and delete data Add, modify, and

delete data

Sort and retrieve data

Sort and retrieve data Create forms and reports from the data

Create forms and

reports from the data

(7)

Databases, Data, and Information

• Data integrity identifies the quality of the data

• Garbage in, garbage out (GIGO) points out the accuracy of a computer’s output depends on the accuracy of the input

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 516 7

Click to view Web Link,

click Chapter 10, Click Web Link from left

navigation, then click Data Integrity

below Chapter 10

(8)

Databases, Data, and Information

• Valuable information should have the following characteristics:

Accurate

Accurate Verifiable Verifiable Timely Timely Organized Organized

Accessible

Accessible Useful Useful Cost- effective

Cost-

effective

(9)

The Hierarchy of Data

• Data is organized in layers

– Files, records, fields, characters

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 517 9 Figure 10-2

(10)

The Hierarchy of Data

• A character is one byte

– Numbers, letters, space, punctuation marks, or other symbols

• A field is a combination of one or more related characters

Field name

Field size

Data type

(11)

The Hierarchy of Data

• Common data types include:

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 518 11

Text Text Numeric Numeric AutoNumber AutoNumber Currency Currency

Date Date Memo Memo Yes/No Yes/No Hyperlink Hyperlink

Object

Object Attachment Attachment

(12)

The Hierarchy of Data

• A record is a group of related fields

– A primary key uniquely identifies each record

• A data file is a collection of related records

(13)

Maintaining Data

File maintenance refers to the procedures that keep data current

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 520 13

Adding records

Adding records

Modifying records Modifying

records

Deleting records Deleting

records

(14)

Maintaining Data

• Users add new records to a file when they obtain

new data

(15)

Maintaining Data

• Users modify a record to correct inaccurate data or update old data

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 521 15 Figure 10-6

(16)

Maintaining Data

• When a record no longer is needed, a user deletes

it from a file

(17)

Maintaining Data

Validation compares data with a set of rules or values to find out if the data is correct

Discovering Computers 2011: Living in a Digital World Chapter 10

Pages 522 - 524 17

Alphabetic/Numeric check

Alphabetic/Numeric

check Range check Range check Consistency check Consistency check

Completeness check

Completeness check Check digit Check digit Other checks Other checks

Click to view Web Link,

click Chapter 10, Click Web Link from left

navigation, then click Data Validation

below Chapter 10

(18)

File Processing Versus Databases

File processing system File processing system

• Each department has its own set of files

• Used for many years

• Have data redundancy

• Isolate data

• Each department has its own set of files

• Used for many years

• Have data redundancy

• Isolate data

Database approach Database approach

• Programs and users share data

• Reduce data redundancy

• Improve data integrity

• Share data

• Allows easier access

• Reduces development time

• Can be more vulnerable

• Programs and users share data

• Reduce data redundancy

• Improve data integrity

• Share data

• Allows easier access

• Reduces development time

• Can be more vulnerable

(19)

File Processing Versus Databases

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 525 19 Figure 10-10

(20)

Database Management Systems

Click to view Web

(21)

Database Management Systems

• A data dictionary contains data about each file in the database and each field in those files

Discovering Computers 2011: Living in a Digital World Chapter 10

Pages 527 – 528 21 Figure 10-12

(22)

Database Management Systems

• A DBMS provides several tools that allow users

and programs to retrieve and maintain data in the database Query language Query language

Query by example Query by example

Form Form

Report generator

Report generator

(23)

Database Management Systems

• A query language consists of simple, English-like statements that allow users to specify the data to display, print, or store

Query by example (QBE) provides a GUI to assist users with retrieving data

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 528 23

(24)

Database Management Systems

(25)

Database Management Systems

• A form is a window on the screen that provides areas for entering or modifying data in a database

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 530 25 Figure 10-15

Click to view Web Link,

click Chapter 10, Click Web Link from left

navigation, then click E-Form below Chapter 10

(26)

Database Management Systems

• A report generator allows users to design a report on the screen, retrieve data into the report

design, and then display or print the report

(27)

Database Management Systems

A DBMS provides means to

ensure that only authorized users access data at permitted times

A DBMS provides means to

ensure that only authorized users access data at permitted times

• Access privileges

• Principle of least privilege

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 531 27

(28)

Database Management Systems

• A DMBS provides a variety of techniques to

restore the database to a usable form in case it is damaged or destroyed

Backup

Backup Log Log

Recovery utility Recovery

utility

Continuous backup

Continuous

backup

(29)

Database Management Systems

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 532 29 Figure 10-17

(30)

Relational, Object-Oriented, and Multidimensional Databases

• A data model consists of rules and standards that

define how the database organizes data

(31)

Relational, Object-Oriented, and Multidimensional Databases

• A relational database stores data in tables

that consist of rows and columns

– Each row has a primary key

– Each column has a unique name

• A relationship is a link within the data

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 533 31 Figure 10-20

(32)

Relational, Object-Oriented, and Multidimensional Databases

Structured Query Language (SQL) is a query language that allows users to manage, update, and retrieve data

Click to view Web

(33)

Relational, Object-Oriented, and Multidimensional Databases

• An object-oriented database (OODB) stores data in objects

• Examples of applications appropriate for an object-oriented database include:

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 534 33

Multimedia database Multimedia

database

Groupware database Groupware

database

Computer- aided design

database Computer- aided design

database

Hypertext database Hypertext

database

(34)

Relational, Object-Oriented, and

Multidimensional Databases

(35)

Relational, Object-Oriented, and Multidimensional Databases

• A multidimensional database can store data in more than two dimensions of data

– Sometimes known as a hypercube

– Can consolidate data much faster than a relational database

• A data warehouse is a huge database that stores and manages the data required to analyze historical and current transactions

Discovering Computers 2011: Living in a Digital World Chapter 10

Pages 535 - 536 35

Click to view Web Link,

click Chapter 10, Click Web Link from left

navigation, then click Data Warehouses below Chapter 10

(36)

Web Databases

• Databases on the Web allow you to:

Shop for products or

services Shop for products or

services Buy or sell stocks Buy or sell stocks Search for a job Search for a job

Make airline reservations Make airline

reservations Register for college classes

Register for

college classes Check semester grades

Check semester

grades

(37)

Web Databases

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 536 37 Figure 10-23

(38)

Video: How a Photo Sharing Site

Keeps Its Data

(39)

Database Administration

• It is important to have a carefully designed database

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 537 39 Figure 10-24

Click to view Web Link,

click Chapter 10, Click Web Link from left

navigation,

then click Database Design Guidelines below Chapter 10

(40)

Database Administration

Database analysts and administrators are responsible for managing and coordinating all database activities Database analysts and administrators are responsible

for managing and coordinating all database activities

Database Analyst (DA) Decides on proper field placement, defines data

relationship, and identifies users’

access privileges Database Analyst (DA) Decides on proper field placement, defines data

relationship, and identifies users’

access privileges

Database Administrator (DBA) Creates and maintains the data

dictionary, manages security, monitors performance, and checks backup and recovery

procedures

Database Administrator (DBA) Creates and maintains the data

dictionary, manages security, monitors performance, and checks backup and recovery

procedures

Click to view Web Link,

(41)

Database Administration

• Employees should learn how to use the data in the database effectively

– Interact with database – Identify new data for the

database

– Maintain the database

Discovering Computers 2011: Living in a Digital World Chapter 10

Page 538 41 Figure 10-25

(42)

Summary

How data and information are valuable assets to

an organization How data and information are valuable assets to

an organization

Methods for maintaining high-

quality data Methods for maintaining high-

quality data

Assessing the quality of valuable

information Assessing the quality of valuable

information

Advantages of organizing data in

a database Advantages of organizing data in

a database

Various types of databases

Various types of databases

Roles of the database analysts and administrators

Roles of the

database analysts

and administrators

(43)

Living in a Digital World

Discovering

Computers 2011

Chapter 10 Complete

參考文獻

相關文件

To assist with graphics and multimedia projects To assist with graphics and multimedia projects To support home, personal, and educational tasks To support home, personal,

Discovering Computers 2011: Living in a Digital World Chapter 15.. See Page

Discovering Computers 2011: Living in a Digital World.. Chapter

Discovering Computers 2011: Living in a Digital World Chapter 5.. See Page 257

and tactile output Identify the purpose and features of data projectors, interactive whiteboards, and force-feedback game controllers.. and

Text messaging (SMS) allows users to send and receive short text messages on a phone or other mobile device or computer Picture messaging allows users to send pictures and

Differentiate between a port and a connector, and explain the differences among a USB port, FireWire port, Bluetooth port, SCSI port, eSATA port, IrDA port,.. serial port, and

drives, memory cards, USB flash drives, ExpressCard modules, cloud storage, CDs, DVDs, and Blu-ray Discs, tape, smart cards,. and microfilm and microfiche Internal hard