+ All Categories
Home > Documents > Computers: Tools for an Information Age. Separate from the computer itself Software and data...

Computers: Tools for an Information Age. Separate from the computer itself Software and data...

Date post: 21-Jan-2016
Category:
Upload: georgia-daniels
View: 215 times
Download: 0 times
Share this document with a friend
Popular Tags:
43
Computers: Tools for an Information Age
Transcript
Page 1: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

Computers:Tools for an Information Age

Page 2: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

2

Secondary Storage

Separate from the computer itself

Software and data stored on a semipermanent basis Unlike memory, not

lost when power is lost

Benefits

• Space• Reliability• Convenience• Economy

Benefits of Secondary Storage

Page 3: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

3

Space Store a roomful of data on disks smaller than the size of a breadbox

Diskette contains equivalent of 500 printed pages

Optical disk can hold equivalent of 500 books

Reliability Data in secondary storage is relatively safe

Secondary storage is highly reliable

More difficult for untrained people to tamper with data stored on disk

Convenience

Authorized users can easily and quickly locate data stored on the computer

Economy Several factors create significant savings in storage costs

Less expensive to store data on disks than to buy and house filing cabinets

Reliable and safe data is less expensive to maintain

Greater speed and convenience in filing and retrieving data

Page 4: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

4

Magnetic Disk Storage

Data represented as magnetized spots on surface of spinning disk Spots on disk

converted to electrical impulses

Primary types Diskettes- now

replaced with USB drives

Hard Disks

Hard Disks Rigid platter coated with

magnetic oxide Several can be combined

into a disk pack Disk drive - a device that

allows data to be read from or written to a disk

Disk drive for personal computers contained within computer housing

Large computer systems may have several external disk drives

Page 5: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

5

Reading/Writing Data

Access arm moves read/write head over particular location

Read/write head hovers a few millionths of an inch above platter If head touches platter,

a head crash occurs and data is destroyed

Data can be destroyed if head touches miniscule foreign matter on surface of disk

Page 6: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

6

Disk Packs

Each platter has its own access arm with read/write head

Most disk packs combine platters, access arms, and read/write head

Page 7: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

7

Hard Disks for Personal Computers

Sealed modules that mount in a 3 ½” bay

Capacity in gigabytes Accessing files much

faster than accessing files on diskettes

Some contain removable cartridges Iomega’s Jaz drive is

very popular

Page 8: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

8

Redundant Array Of Independent Disks (RAID)

A group of disks that work together as one Raid level 0 spreads data

from a single file over several drives

Called data striping Increases performance

Raid level 1 duplicates data on several drives

Called disk mirroring Increases fault tolerance

Page 9: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

9

How Data Is Organized

Track Sector Cluster Cylinder

Page 10: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

10

Track

The circular portion of the disk surface that passes under the read/write head Floppy diskette has 80 tracks on each

surface Hard disk may have 1,000 or more tracks

on each surface of each platter

Page 11: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

11

Sector

Each track is divided into sectors that hold a fixed number of bytes Typically 512 bytes per

sector Zone recording assigns

more sectors to tracks in outer zones than those in inner zones Uses storage space

more fully

Page 12: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

12

Cluster

A fixed number of adjacent sectors that are treated as a unit of storage Typically two to eight sectors, depending

on the operating system

Page 13: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

13

Cylinder

The track on each surface that is beneath the read/write head at a given position of the read/write heads When file is larger than the

capacity of a single track, operating system will store it in tracks within the same cylinder

Page 14: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

14

Disk Access Speed

Access time - the time needed to access data on disk

Three factors Seek time Head switching Rotational delay

Once data found, next step is data transfer

Page 15: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

15

Seek Time

The time it takes the access arm to get into position over a particular track All access arms move as a unit All simultaneously in position over a set of

tracks that make up a cylinder

Page 16: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

16

Head Switching

The activation of a particular read/write head over a particular track All access arms move together, but only

one read/write head can operate at any one time

Page 17: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

17

Rotational Delay

The time it takes for the desired data on the track to rotate underneath the read/write head On average, half the time for a complete

revolution of the disk

Page 18: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

18

Data Transfer

The process of transferring data between its location on the disk track and memory

Measures of performance Average access time

About 10 milliseconds (10 thousands of a second)

Can be improved by disk caching Data transfer rate - how fast data can be

transferred once it has been found Stated in terms of megabytes per second

Page 19: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

19

Disk Caching

Disk cache - a special area of memory When disk drive reads data from disk, it

reads adjacent data and stores it in memory

When next read instruction is issued, drive checks first to see if desired data is in disk cache

Similar to memory caching discussed in Chapter 4

Page 20: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

20

Optical Disk Storage

Provides inexpensive and compact storage with greater capacity

Laser scans disk and picks up light reflections from disk surface

Categorized by read/write capability Read-only media - user can read from, but not write

to disk Write-once, read-many (WORM) - user can write to

disk once Magneto-optical - combines magnetic and optical

capabilities

Page 21: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

21

Compact Disks

CD-ROM - drive can only read data from CDs CD-ROM stores up to 700 MB per disk Primary medium for software distribution

CD-R - drive can write to disk once Disk can be read by CD-ROM or CD-R drive

CD-RW - drive can erase and record over data multiple times Some compatibility problems trying to read CD-

RW disks on CD-ROM drives

Page 22: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

22

Digital Versatile Disk (DVD)

Short wavelength laser can read densely packed spots DVD drive can read CD-ROMs Capacity up to 17GB Allows for full-length movies Sound is better than on audio CDs

Several versions of writable and rewritable DVDs exist

Page 23: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

23

Multimedia

Presents information with text, illustrations, photos, narration, music, animation, and film clips

Not practical until the advent of the optical disk

Requirements Applications

Page 24: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

24

Requirements

CD-ROM or DVD-ROM drive Sound card or sound chip Speakers

For high-quality sound, get good speakers and powered subwoofer

Equipped to handle MPEG Standards for compressing video

Page 25: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

25

Applications

Education Go on virtual tours Study musical scores Study a foreign language

Other Prepare taxes with video clips from IRS

experts Play games

Page 26: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

26

Magnetic Tape Storage

Tape similar to tape used in music cassettes

Categorized in terms of density Number of bits per inch

stored on tape Used primarily for backup

of data stored on disk systems

Page 27: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

27

Backup Systems

Imperative to have copies of important data stored away from the computer Disks occasionally fail Software installation can cause computer to crash Users make mistakes entering data

Tape is ideal backup medium Can copy entire hard disk to single tape in

minutes Backup can be scheduled when you are not going

to use the system

Page 28: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

28

Organizing and Accessing Stored Data

Character Field Record File Database

Page 29: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

29

Character

A letter, digit, or special character

Page 30: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

30

Field

A set of related characters Describes one characteristic of a

person, place, or thing For a university, a student’s first name

would be stored in a field Key field - a unique identifier for a

record

Page 31: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

31

Record

A collection of related fields For the university, all of the fields for one

student constitute one record

Page 32: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

32

File

A collection of related records For university, all the student records

compose a file

Page 33: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

33

Database

A collection of related files stored with minimum redundancy (duplication) For university, student file, alumni file,

faculty/staff file, courses file, financial file, etc. would make up a database

Organized to make retrieving data easier

Page 34: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

34

File Plan Overview

Must devise a plan for placing data on a storage unit

Key factors Whether users must access data directly

(immediately) How data must be organized on disk Type of processing that will take place

Page 35: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

35

File Organization

Three major methods of organizing data files in secondary storage Sequential Direct Indexed

Page 36: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

36

Sequential File Organization

Records are stored in order according to a key field If a particular record is desired, all prior

records must be read first To update a record, a new sequential file

must be created, with changed and unchanged records

Tape storage uses sequential organization

Page 37: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

37

Direct File Organization

Also called random access Go directly to desired record by using a

key Computer does not have to read all prior

records Hashing algorithm used to determine

address of given key Requires disk storage

Page 38: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

38

Hashing Algorithm

Applies mathematical formula to key to determine disk address of given record Collision occurs when hashing algorithm

produces same disk address for two different keys

Page 39: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

39

Indexed File Organization

Combines elements of sequential and direct methods Records stored sequentially, but file also

contains an index Index stored sequentially, contains record

key Data accessed by record key

Page 40: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

40

Processing Stored Data

Transactions processed to update a master file Transactions - a business event such as a

sale Master file - data that is updated when a

transaction occurs, such as a sales file or inventory file

Two main methods of processing data Batch processing Transaction processing

Page 41: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

41

Batch Processing

Transactions collected into groups or batches Batch processed and

master file updated when the computer has few users online

Very efficient use of computer resources

Master file current only immediately after processing

Page 42: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

42

Transaction Processing

Processing transactions as they occur Also called real-time

processing and online processing

Terminals must be connected directly to the computer

Offers immediate updating of master file

Page 43: Computers: Tools for an Information Age.  Separate from the computer itself  Software and data stored on a semipermanent basis  Unlike memory, not.

43

Objectives

List the benefits of secondary storage Identify and describe storage media that

are available for personal computers Differentiate among the principal types of

secondary storage Describe how data is stored on a disk Discuss the benefits of multimedia Explain how data is organized, accessed,

and processed


Recommended