chapter 2 turning data into something you can use © the mcgraw-hill companies, inc., 2000...

46
Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Post on 15-Jan-2016

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Chapter 2

Turning Data into Something You Can Use

© The McGraw-Hill Companies, Inc., 2000

Processing Hardware

Page 2: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 2 CCI

Overview

• Data and program representation

• Processor, main memory, registers

• RAM capacity, word size, processor speed

• Microcomputer

Page 3: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 3 CCI

Computers

• Programmed to learn and adapt

• High costs slowed initial adoption

• More than 15 billion microprocessors and microcontrollers in use at the turn of the century

Page 4: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 4 CCI

Data and Program Representation

• Binary system

• Two common schemes– EBCDIC– ASCII

• New scheme– Unicode

Page 5: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 5 CCI

The Parity Bit

• A parity bit is a check bit

• It is an extra bit attached to the end of a byte to check accuracy

Page 6: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 6 CCI

Capacity• Bit

– 0s and 1s

• Byte– 8 bits

• Kilobyte– about 1000 bytes

Page 7: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 7 CCI

Larger Capacity

• Megabyte– about one million bytes

• Gigabyte– about one billion bytes

• Terabyte– about a trillion bytes

Page 8: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 8 CCI

Processor

• Information– manipulates data into useful information

• Knowledge– results in reasoned analysis and

applications

Page 9: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 9 CCI

Processors, Main Memory, and Registers

• Processor– control unit– arithmetic/logic unit (ALU)

Page 10: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 10 CCI

Logical Operations

• Logical operations in the ALU are simple comparisons such as =, <, >, <=, or >=

Page 11: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 11 CCI

Boards and Chips

• Circuit boards

• Chips of silicon

• Use aluminum or copper to conduct electronic messages

• Semiconductor

Page 12: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 12 CCI

Specialized Systems

• Coprocessors– math– graphics

Page 13: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 13 CCI

Future

• PC on a chip

Page 14: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 14 CCI

CISC, RISC, MPP• CISC (“sisk”)

– complex instruction set, serially executed– most mainframes and PCs

• RISC (“risk”)– reduced instruction set, serially executed– cheaper and faster– shift some work to software

Page 15: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 15 CCI

MPP

• Massively parallel processing (MPP)– spreads calculations over many

computers or processors

Page 16: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 16 CCI

Main Memory

• Primary storage– RAM (random access memory)

• holds data

• instructions

• processed data for output

• is volatile

Page 17: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 17 CCI

Main Memory Facts

• Contents temporary

• Capacity varies according to installed amount of memory chips

Page 18: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 18 CCI

Registers

• High speed circuitry areas – store data and provide work areas– dedicated by function

• addition register

• subtraction register

• storage register

Page 19: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 19 CCI

Machine Cycle

• Compares a series of operations to perform a single program instruction

• During the instruction cycles, or I-cycles,– control unit fetches instructions from main

memory– decodes or interprets instruction

• During execution cycle, or E-cycle,– executes and stores result

Page 20: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 20 CCI

RAM Capacity, Word Size, Processor Speed

• RAM capacity– software determines capacity needed– older computers may not have enough– computer’s RAM capacity is limited by the

capacity of the motherboard

• Measured in megabytes, gigabytes, and terabytes – PCs to servers to mainframes, based on

programs and load capacity

Page 21: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 21 CCI

Word Size

• Number of bits computer can hold in its registers– sent through local bus

• 32-bit– most 486 PCs

• 64-bit– common PCs in CISC format

Page 22: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 22 CCI

Processing Speed

• System clock controls speed of operations

• Speeds measured in megahertz (MHz) are common

• Gigahertz (GHz) predicted in the near future

• MIPS and FLOPS not commonly used

Page 23: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 23 CCI

Focus on PC Purchasing– System unit

• Hard drive• Floppy drive

(except iMac)• Power supply• Motherboard• Microprocessor• Ram

• ROM• Cache• VRAM• Ports• Expansion

boards• Bus lines• PC slots• PC cards

Page 24: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 24 CCI

Power Supply

• Power supply– protected by power surge protector or

uninterrupted power supply unit (UPS)– voltage capacity can affect the ability to

support internal parts

Page 25: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 25 CCI

Motherboard

• Also called system board

• Includes CPU, memory chips (RAM, ROM), ports, coprocessors if not integrated on CPU, expansion slots

• Some boards have integrated sound, controller cards, and graphics

Page 26: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 26 CCI

Microprocessor• Intel (PC)

– X86– Celeron– Pentium

MMX– Pentium II/III

• AMD (PC)– K6-2– K6-3– Athlon

Page 27: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 27 CCI

Other Microprocessors

• Motorola (Mac)– 68000– 68020– 68040– PowerPC 601– PowerPC 604– PowerPC 620– PowerPC 750

Page 28: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 28 CCI

Compatibility

• Most software is backward compatible with new chips

• The older the hardware, the less the likely that it will install easily and function completely in new systems

Page 29: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 29 CCI

The Truth About RAM

• Generally, more is better– must match with motherboard and CPU

capabilities

• Software vendors traditionally understate software (RAM) requirements for a smooth operation of their software

Page 30: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 30 CCI

A Suggestion

– A computer running Microsoft Office 97 should have a minimum 32MB RAM for smooth performance

– Microsoft Office 2000 needs 64 to 128 MB RAM

Page 31: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 31 CCI

ROM Chips

• Read-only memory (ROM)

• Also known as firmware

• Helps boot the system

• BIOS– Basic Input Output System

Page 32: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 32 CCI

Other ROM

• PROM– programmable ROM

• EPROM– erasable programmable ROM

• EEPROM (flash)– electronically erasable programmable ROM– can be rewritten without special equipment

Page 33: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 33 CCI

Other Forms of Memory

• Cache memory (“cash”)– quick access memory, internal or external to the

processor– bridge between the processor and RAM– including pipeline-burst simultaneous

read/write

• Video memory– VRAM (“vee-ram”)– some graphic cards use other types of RAM

Page 34: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 34 CCI

Ports• External socket

– front or back of system unit

• Parallel– printers, some Zip drives, some scanners

• Serial port (RS-232)– modems, scanners, mice

• Video adapter– digital and analog, single or dual monitor

Page 35: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 35 CCI

More Ports

• SCSI: small computer system interface– fast– connected in daisy-chain fashion– originally used in Macs– can be internal or external– hard drives, tape backups, scanners, CD

Page 36: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 36 CCI

Less Common Ports

• Game ports– joystick

• Infrared– often used for keyboards, mice,

and printers

Page 37: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 37 CCI

Expansion Slots

• Bus slots– for expansion cards and adapter cards– memory – video– graphics– controller– internal modem

Page 38: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 38 CCI

Bus Designs

• ISA (“eye-suh”): Industry Standard Architecture– does not share common resources– 16-bit

• PCI: peripheral component interconnect– some cards do share resources, such as IRQs– 64-bit

Page 39: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 39 CCI

More Buses

• EISA (“ee-suh”) enhanced industry standard architect– 32-bit

• PCMCIA: Personal Computer Memory Card International Association– for PC cards on portable computers

• modems, hard drives, memory, Ethernet cards

Page 40: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 40 CCI

Newer Bus

• USB – Universal Serial Bus– printer, scanner, digital camera, joystick,

monitor– easy connection

Page 41: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 41 CCI

Newest Bus

• AGP: Advanced Graphics Port– dedicated for video use– speed and access to memory and CPU continue

to increase– more than double PCI rates– standards include 2X AGP, 4X AGP

Page 42: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 42 CCI

Standards and Options

• New boards often have ISA and PCI slots so close together that both cannot be available for expansion at the same time

• The PC-2000 computer standard calls for no ISA slots

Page 43: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 43 CCI

Future Processing Technologies

• Gallium arsenide– better conductor, fewer circuits than silicon

• Superconductors– electricity flows without resistance– 100 x faster– refrigerated system units already on market

Page 44: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 44 CCI

More of the Future

• Opto-electronic processing– use of light– in common with fiber optics

• Nanotechnology– nanometer = 1 billionth of a meter– molecules used to transform data or perform

tasks

Page 45: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware

Ch 2 © The McGraw-Hill Companies, Inc., 2000 45 CCI

Future

• Biotechnology– use of bacteria for

on/off signals

Page 46: Chapter 2 Turning Data into Something You Can Use © The McGraw-Hill Companies, Inc., 2000 Processing Hardware