45
1 Senn, Information Technology, 3 rd Edition © 2004 Pearson Prentice Hall James A. Senn’s Information Technology, 3 rd Edition Chapter 4 The Central Processor and Memory

Central processor amd memory

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Central processor amd memory

1 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

James A. Senn’sInformation Technology, 3rd Edition

Chapter 4

The Central Processor

and Memory

Page 2: Central processor amd memory

2 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Objectives

• Describe the components and purpose of the central processing unit (CPU).

• Distinguish between primary storage (also called memory) and secondary storage (also called storage), and between RAM and ROM.

• Describe the chips and boards that can be used to augment the CPU and main memory.

Page 3: Central processor amd memory

3 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Objectives (Continued)

• Explain the process by which computers use registers to process data.

• List and explain the four determinants of processor speed.

• Describe eight ways of increasing processing and computer speed.

Page 4: Central processor amd memory

4 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

The Central Processing Unit (CPU)Definition

• Central Processing Unit (CPU) or Processor: The computer hardware that executes program instructions and performs the computer’s processing actions.

• Integrated Circuits/Chip/Microchip: A collection of thousands or millions of transistors placed on a small silicon chip.

Page 5: Central processor amd memory

5 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

The Central Processing Unit (CPU)Definition (Continued)

• Transistor: An electrical switch that can be in one of two states: open or closed.

• Integrating: The process of packing more transistors onto a single chip.

Page 6: Central processor amd memory

6 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

The Central Processing Unit (CPU)Definition (Continued)

Page 7: Central processor amd memory

7 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

The Central Processing Unit (CPU)Control Unit

• Control Unit: The part of the CPU that oversees and controls all computer activities according to the instructions it receives.

• Instructions: Detailed descriptions of the actions to be carried out during input, processing, output, storage, and transmission.

Page 8: Central processor amd memory

8 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

The Central Processing Unit (CPU)Arithmetic/Logic Unit (ALU)

• Arithmetic/Logic Unit (ALU): The part of the CPU that performs arithmetic and logical operations.– Arithmetic Operations: Addition,

Subtraction, Multiplication, and Division.– Logical Operations: Greater Than (>), Less

Than (<), Equal To (=)

Page 9: Central processor amd memory

9 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

MemoryDefinition

• Primary Storage/Primary Memory/Main Memory/Internal Memory: Storage within the computer itself. Primary memory holds data only temporarily, as the computer executes instructions.

Page 10: Central processor amd memory

10 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

MemoryDefinition (Continued)

Page 11: Central processor amd memory

11 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

MemoryMemory Size

• Byte: A storage location in memory; the amount of memory required to store one digit, letter, or character.

• Kilobyte/K-byte/KB/K: One thousand bytes.

• Megabyte/M-byte/MB/Meg: One million bytes.

• Gigabyte/G-byte/GB/Gig: One billion bytes.

Page 12: Central processor amd memory

12 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

MemoryMemory Size (Continued)

• Terabyte/T-byte/TB: One trillion bytes.

• Address: An identifiable location in memory where data are kept.

Page 13: Central processor amd memory

13 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

MemoryRAM and ROM

• Random-access Memory (RAM): Memory that permits data or information to be written into or read from memory only as long as the computer is turned on.

• Read-only Memory (ROM): A type of storage that offers random access to memory and can hold data and information after the electric current to the computer has been turned off.

Page 14: Central processor amd memory

14 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

MemoryFlash Memory

• Flash Memory: Memory that retains it contents even when electricity is turned off.

Page 15: Central processor amd memory

15 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

MemoryRAM, ROM and Flash Memory

Page 16: Central processor amd memory

16 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

MemoryPCMCIA Card Memory

• PCMCIA Card/PC card: A card designed to expand a computer’s memory.

Page 17: Central processor amd memory

17 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

MemoryDefinition

• Boot: To turn on the computer system and let the built-in self-test run.

• Cold Boot: The system is turned on and started from an off state. The CPU invokes the ROM BIOS boot program, which in turn, runs the power-up self-tests and loads the operating system from disk storage.

• Warm Boot: In a restart, the BIOS knows the system is already running (data is written in a specific memory location checked by the BIOS) and skips the power-on test.

Page 18: Central processor amd memory

18 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Inside the System UnitDefinition

• Board: A hardware device onto which chips and their related circuitry are placed.

• System Unit: The hardware unit that houses a computer’s processor, memory chips, ports, and add-in boards.

Page 19: Central processor amd memory

19 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Inside the System UnitProcessor Chips

• Microprocessor: The smallest type of processor, with all of the processing capabilities of the control unit and ALU located on a single chip.

Page 20: Central processor amd memory

20 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Inside the System UnitEvolution of Intel Pentium Family of Microprocessors

Page 21: Central processor amd memory

21 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Inside the System UnitIntel Microprocessors

• Intel Celeron Processors

• Intel Pentium-M Processors

• Intel Celeron-M Processors

• Intel Xeon Processors

• Intel Itanium Processors

Page 22: Central processor amd memory

22 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Inside the System UnitEvolution of Microprocessors for Macintosh Computers

Page 23: Central processor amd memory

23 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Inside the System UnitOther Microprocessor Chips

• AMD

• Digital Equipment Corp.

• Hewlett-Packard

• MIPS Technologies

• Sun Microcomputers

Page 24: Central processor amd memory

24 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Inside the System UnitMemory Chips

• Single In-line Memory Module (SIMM): A multiple-chip memory card inserted as a unit into a predesignated slot on a computer’s system board.

• Installed Memory: The amount of memory included by a computer’s manufacturer on its memory board.

• Maximum Memory: The most memory that a processor can hold.

Page 25: Central processor amd memory

25 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Inside the System UnitPorts

• Port: A connector through which input/output devices can be plugged into the computer.

• Expansion Slot: A slot inside a computer that allows a user to add an additional circuit board.

Page 26: Central processor amd memory

26 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Inside the System UnitUniversal Serial Bus

• Universal Serial Bus (USB): A general purpose port that can connect up to 128 devices, and also hot swappable, meaning that devices can be plugged in or unplugged without having to shut down or reboot the system.

Page 27: Central processor amd memory

27 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Inside the System UnitAdd-In Boards

• Add-in Boards: A board that can be added to a computer to customize its features and capabilities.

Page 28: Central processor amd memory

28 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Inside the System UnitAdd-In Boards (Continued)

Page 29: Central processor amd memory

29 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Inside the System UnitPlug and Play

• Plug and Play: The ability to install devices into a computer when the computer itself makes any necessary internal adjustments.

Page 30: Central processor amd memory

30 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

The Processing SequenceThe Machine Cycle

• Machine Cycle: The four processing steps performed by the control unit: fetch, decode, execute, and store.

• Instruction Cycle (I-cycle): The first two steps of the machine cycle (fetch and decode), in which instructions are obtained and translated.

• Execution Cycle (E-cycle): The last two steps of the machine cycle (execute and store), which produce processing results.

Page 31: Central processor amd memory

31 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

The Processing SequenceThe Machine Cycle

Page 32: Central processor amd memory

32 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

The Processing SequenceRegisters

• Register: A temporary storage area in the processor that can move data and instructions more quickly than main memory can, and momentarily hold the data or instructions used in processing as well as the results that are generated.

• Four types:– Storage Registers– Address Registers– Accumulators– General-Purpose Registers

Page 33: Central processor amd memory

33 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Processor SpeedDefinition

• Millisecond: One thousandth of a second

• Microsecond: One millionth of a second.

• Nanosecond: One billionth of a second.

• Picosecond: One trillionth of a second.

Page 34: Central processor amd memory

34 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Processor SpeedDefinition (Continued)

• Millions of Instructions per Second (MIPS): The number of instructions the processor can execute per second – a measure of processor speed.

• Megaflops: Millions of floating point operations per second – a measure of how many detailed arithmetic calculations the computer can perform per second.

Page 35: Central processor amd memory

35 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Processor SpeedDetermining Processor Speed

• Four elements: – System Clock– Bus Width– Word Size– Available Memory

Page 36: Central processor amd memory

36 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Processor SpeedDetermining Processor Speed (Continued)

• System Clock: A circuit that generates electronic impulses at a fixed rate to synchronize processing activities.– Megahertz (MHz): Millions of electric pulses

per second – a measure of a computer’s speed.

– Gigahertz (GHz): Billions of pulses per second.

Page 37: Central processor amd memory

37 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Processor SpeedDetermining Processor Speed (Continued)

• Bus Width– Input/Output (I/O) bus: A bus (electronic

circuit) that moves data into and out of the processor.

– Data Bus: A bus that moves data between the central processor and memory.

• Word Size– Word: The number of bits a computer can

process at one time.

Page 38: Central processor amd memory

38 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Processor SpeedDetermining Processor Speed (Continued)

Page 39: Central processor amd memory

39 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Processor SpeedDetermining Processor Speed (Continued)

• Cache Memory: A form of high-speed memory that acts as a temporary holding/processing cell.

• Coprocessors: A special-purpose chip mounted on a processor board; it is designed to handle common functions quickly and efficiently.

• Accelerator Boards: An add-in circuit board that increases a computer’s processing speed.

Page 40: Central processor amd memory

40 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Processor SpeedDetermining Processor Speed (Continued)

• Reduced Instruction Set Computer (RISC)– Complex Instruction Set Computing (CISC): A

computing instruction set that moves data to and from main memory so often that it limits the use of registers.

– Microcode: The instructions that coordinate the execution of the instructions to move data and from memory.

– Reduced Instruction Set Computing (RISC): A computing instruction set that takes data for the execution of an instruction only from registers.

Page 41: Central processor amd memory

41 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Processor SpeedDetermining Processor Speed (Continued)

• Pipelining: A computer starts processing a new instruction as soon as the previous instruction reaches its next step in the processing cycle.

Page 42: Central processor amd memory

42 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Processor SpeedDetermining Processor Speed (Continued)

Page 43: Central processor amd memory

43 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Processor SpeedDetermining Processor Speed (Continued)

• Parallel Processing: Processing in which a computer handles different parts of a problem by executing instructions simultaneously.– Sequential Processing: Processing in which the

execution of one instruction is followed by the execution of another.

– Single Instruction/Multiple Data (SIMD) method: A parallel-processing method that executes the same instruction on many data values simultaneously.

– Multiple Instruction/Multiple Data (MIMD) method: A parallel-processing method that connects a number of processors that run different programs or parts of a program on different sets of data.

Page 44: Central processor amd memory

44 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Processor SpeedDetermining Processor Speed (Continued)

Page 45: Central processor amd memory

45 Senn, Information Technology, 3rd Edition© 2004 Pearson Prentice Hall

Processor SpeedDetermining Processor Speed (Continued)

• Grid Computing: A process that harnesses idle time on computers and then uses them to provide processing for an application that needs more speed and capability than may be available on a single computer, or even on a supercomputer.