24
Chapter 5 Computing Components

Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

Embed Size (px)

Citation preview

Page 1: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

Chapter 5

Computing Components

Page 2: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

Computer Components

Consider the following ad:

• Intel® Core™ 2 Duo (2.66GHz/

1066Mhz FSB/6MB cache)

• 15.6 High Definition (1080p) LED

Backlit LCD Display (1366 x 768)

• 512MB ATI Mobility Radeon Graphics

• Built-in 2.0MP Web Camera

• 4GB Shared Dual Channel DDR2 at

800MHz

• 500GB SATA Hard Drive at 5400RPM

• 8X Slot Load DL DVD+/- RW Drive

• 802.11 a/g/n and Bluetooth 3.0

• 85 WHr Lithium Ion Battery

• (2) USB 2.0, HDMI, 15-pin VGA, Ethernet

10/100/1000, IEEE 1394 Firewire, Express

Card, Audio line-in, line-out, mic-in

• 14.8W X 1.2H X 10.1D, 5.6 lbs

• Microsoft® Windows 7® Professional

• Microsoft® Office Home and Student

2007

• 36-Month subscription to McAfee

Security Center Anti-virus

2

Insatavialion 640 LaptopExceptional Performance and Portability

Page 3: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

3

Stored-Program Concept

Figure 5.1 The von Neumann architecture

Page 4: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

4

Arithmetic/Logic Unit Performs basic arithmetic operations such as

adding. Performs logical operations such as AND,

OR, and NOT. Most modern ALUs have a small number of

special storage units called registers.

Page 5: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

5

Control Unit Control unit - The organizing force

in the computer. There are two registers in the control unit:

The instruction register (IR) contains the instruction that is being executed.

The program counter (PC) contains the address of the next instruction to be executed.

ALU and control unit comprise the Central Processing Unit, or CPU.

Page 6: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

Memory Memory is a

collection of cells, each with a unique physical address.

Page 122 5-8

Page 7: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

7

Flow of Information The parts are connected to one another by a

collection of wires called a bus.

Figure 5.2 Data flow through a von Neumann architecture

Page 8: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

8

The Fetch-Execute Cycle Fetch the next instruction Decode the instruction Get data if needed Execute the instruction

Page 9: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

9

Figure 5.3 The Fetch-Execute Cycle

Page 10: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

10

RAM and ROM RAM stands for Random Access Memory.

Inherent in the idea of being able to access each location is the ability to change the contents of each location.

ROM stands for Read Only Memory. The contents in locations in ROM cannot be changed.

RAM is volatile, ROM is not. This means that RAM does not retain its bit configuration

when the power is turned off, but ROM does.

Page 11: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

11

Secondary Storage Devices Because most of main memory is volatile and

limited, it is essential that there be other types of storage devices where programs and data can be stored when they are no longer being processed.

Secondary storage devices can be installed within the computer box at the factory or added later as needed.

Page 12: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

Magnetic Tape The first truly mass

auxiliary storage device was the magnetic tape drive.

Figure 5.4 A magnetic tape 5-17

Page 13: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

Magnetic Disks A read/write head travels across a spinning magnetic

disk, retrieving or recording data.

Figure 5.5 The organization of a magnetic disk

5-18

Page 14: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

14

Compact Disks A CD drive uses a laser to read information stored

optically on a plastic disk. CD-ROM is Read-Only Memory. CD-RW is Read/Write. CD-DA is Digital Audio. CD-WORM is Write Once, Read Many. DVD stands for Digital Versatile Disk.

Page 15: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

15

Input/Output Units Input Unit - A device through which data and

programs from the outside world are entered into the computer. Keyboard, mouse, and scanning devices

Output unit - A device through which results stored in the computer memory are made available to the outside world. Printers and video display terminals

Page 16: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

16

Touch Screens Touch screen - A computer monitor that can

respond to the user touching the screen with a stylus or finger.

There are three types: Resistive Capacitive Infrared

Surface acoustic wave (SAW)

Page 17: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

17

Touch Screens Resistive touch screen - A screen made up of two

layers of electrically conductive material. One layer has vertical lines, the other has horizontal lines. When the top layer is pressed, it comes in contact with the

second layer which allows electrical current to flow. The specific vertical and horizontal lines that make

contact indicate the location on the screen that was touched.

Page 18: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

18

Touch Screens Capacitive touch screen - A screen made up of a

laminate applied over a glass screen. The laminate conducts electricity in all

directions, and a very small current is applied equally on the four corners.

When the screen is touched, current flows to the finger or stylus.

The location of the touch on the screen is determined by comparing how strong the flow of electricity is from each corner.

Page 19: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

19

Touch Screens Infrared touch screen - A screen with

crisscrossing horizontal and vertical beams of infrared light. Sensors on opposite sides of the screen detect the

beams. When the user breaks the beams by touching the

screen, the location of the break can be determined.

Page 20: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

20

Touch Screens Surface acoustic wave (SAW) - A screen

with crisscrossing high frequency sound waves across the horizontal and vertical axes. When a finger touches the surface, the

corresponding sensors detect the interruption and determine the location of the touch.

Page 21: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

21

Non-von Neuman Architectures The linear machine cycle is still dominant. Since 1990, the concept of parallel processing

has attracted significant research. 3 basic approaches:

Synchronous processing Pipelining Shared-memory configuration

Page 22: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

22

Synchronous processing One approach to parallelism is to have multiple processors

run the same program on multiple data sets.

Figure 5.7 Processors in a synchronous computing environment

Page 23: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

23

Pipelining Arranges processors in tandem, where each

processor contributes one part to an overall computation.

Figure 5.8 Processors in a pipeline

Page 24: Chapter 5 Computing Components. Computer Components Consider the following ad: Intel® Core™ 2 Duo (2.66GHz/ 1066Mhz FSB/6MB cache) 15.6 High Definition

24

Independent Processingwith Shared Memory

Figure 5.9 A shared-memory configuration of processors