Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
1 Copyright © 2003 Prentice Hall, Inc Slides created by Bob Koziel COMPUTERS IN YOUR FUTURE 2004 by Bryan Pfaffenberger and Bill Daley Chapter 2 Inside the System Unit Chapter 2 What You Will Learn Inside the System Unit Description of the data computers transfer or store Components found inside the system unit Components found on the motherboard How the CPU processes data Characteristics of a microprocessor’s performance Types of memory Purpose and types of expansion buses Differences between analog and digital electrical impulses Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 2 Describing Hardware Performance OFF ON OR 0 = 1 bit 1 = 1 Byte OR 0 0 1 1 0 1 0 0 = 1 Byte 0 1 0 0 0 0 0 1 Hardware performance refers to the amount of data a computer can store and how fast it can process the data. Bit (Binary digit)– On or off state of electric current; considered the basic unit of information; represented by 1s and 0s (binary numbers). Byte– Eight bits grouped together to represent a character (an alphabetical letter, a number, or a punctuation symbol); 256 different combinations. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 3 Millions, Billions, and More 8 bits = 1 Byte 1024 Bytes = 1 Kilobyte (KB) 1,048,576 Bytes = 1 Megabyte (MB) 1,043,741,824 Bytes = 1 Gigabyte (GB) 1,099,511,627,776 Bytes = 1 Terabyte (TB) Kilobyte, megabyte, gigabyte, and terabyte are terms that describe large units of data. Data storage is measured using these terms. Example: 20 GB hard drive Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 4 Millions, Billions, and More 1000 bits = 1 kilobit (kb) 1,000,000 bits = 1 megabit (mb) 1,000,000,000 bits = 1 gigabit (gb) Kilobits, megabits, and gigabits are terms that describe units of data. Used for measuring data transfer rate (bits per second). Example: 56 kbps Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 5 The System Unit The system unit is boxlike case that houses the computer’s main hardware components. Space taken up on the desk is called a footprint. Form factor refers to how the internal components are mounted in the unit. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 6 Types of System Units Desktop Notebook Personal Digital Assistant Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 7 Inside the System Unit Motherboard (mainboard)– Large printed circuit board with thousands of electrical circuits Power supply– Transforms alternating current (AC) from wall outlets to direct current (DC) needed by the computer Cooling fan– Keeps the system unit cool Internal Speaker– Used for beeps when error is encountered Drive bays– Housing for the computer’s hard drive, floppy drive, and CD-ROM / DVD-ROM drives Copyright © 2003 Prentice Hall, Inc I NEXT SLIDE 8 The Motherboard Microprocessor Keyboard / Mouse Ports Printer Port Click on terms to view larger images and information Memory Slots Video Port AGP Slot PCI Slots Copyright © 2003 Prentice Hall, Inc Chipset 9 Components of the CPU Control unit– Coordinates and controls all parts of the computer system. Arithmetic-Logic unit– Performs arithmetic or logical operations. Registers– Store the most frequently used instructions and data. Copyright © 2003 Prentice Hall, Inc I NEXT SLIDE 10 CPUs at Work Control Unit– Manages four basic operations (fetch, decode, execute, and write-back). The machine cycle or processing cycle: • Instruction Cycle Fetch- Gets next program instruction from the computer’s memory. Decode- Figures out what the program is telling the computer to do. • Execution Cycle Execute- Performs the requested action. Write-back (Store)- Writes (stores) the results to a register or to memory. Arithmetic-Logic Unit (ALU)– Performs basic arithmetic or logic operations. Adds, subtracts, multiplies, and divides Compares data to determine which one is larger or smaller. Copyright © 2003 Prentice Hall, Inc I NEXT SLIDE 11 The Processing Cycle Click to animate. Click one time only ALU Control unit Memory Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 12 Microprocessor Performance Data bus width– The number of pathways within the CPU that transfer data (8, 16, 32, or 64) Word size– The maximum number of bits of data that the CPU can process at a time (8 bits, 16 bits, 32 bits, or 64 bits) Operations per cycle (clock speed)– The number of clock cycles per second measured in Megahertz (MHz) or Gigahertz (GHz). Superscalar– Carrying out more than one instruction per clock cycle. Pipelining– Feeding a new instruction into the CPU at every step of the processing cycle. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 13 Parallel Processing Parallel processing involves using more than one CPU to improve performance. Complex instruction set computer (CISC)– A chip that includes special-purpose circuits that carry out instructions at high speeds. Reduced instruction set computer (RISC)– A chip with a bare-bones instruction set that results in a faster processing speed than CISC chips. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 14 Popular CPUs (of days gone by) Intel Pentium IV Pentium III Advanced Micro Devices (AMD) Pentium MMX Cyrix Copyright © 2003 Prentice Hall, Inc Motorola (Apple) NEXT SLIDE 15 Memory RAM Flash ROM Memory is a term for a device that enables the computer to retain (store) information. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 16 Memory Modules DIMM RIMM NOTEBOOK DIMM SIMM Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 17 Memory Categories Volatile memory– Contents of memory are erased when power supply is turned off. It is temporary storage. RAM– Random access memory holds data in locations called memory addresses. Cache memory– Memory that the processor uses to store frequently used instructions and data. Virtual memory– The computer uses the hard disk as an extension of RAM. Nonvolatile memory– Contents of memory are not erased when power is turned off. ROM– Read-only memory provides the instructions to start the computer. Flash memory– Memory that can be rewritten. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 18 Random Access Memory / RAM RAM is a type of volatile memory that stores information temporarily so that it’s available to the CPU. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 19 HOW RAM WORKS MONITOR WEB CLICK TO BEGIN ANIMATION RAM KEYBOARD CPU Copyright Copyright ©© 2003 2003 Prentice Prentice Hall, Hall, IncInc NEXT SLIDE 20 Virtual Memory FULL Virtual memory involves: Part of the hard disk is reserved as RAM. When RAM modules become full, the CPU accesses the hard disk to store and retrieve data. Slower than RAM. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 21 BIOS and CMOS BIOS– Basic input/output system is stored in ROM. Its instructions provide the boot sequence when starting the computer. The boot sequence includes: • POST– Power-on self-test checks memory and configures video and other hardware. • Locating the disk drive with the boot sector which contains the operating system. CMOS– Complementary metal-oxide semiconductor is a type of memory which stores essential startup options. It stores the amount of memory installed and tracks date and time. It is volatile. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 22 Cache Memory Primary cache (Level 1 or L1)– Located within the CPU chip, it is the memory the microprocessor uses to store frequently used instructions and data. Secondary cache (Level 2 or L2; Backside Cache)– Located near the CPU, it is the memory between the CPU and RAM. It is faster than RAM. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 23 Chipset A chipset is a collection of chips that work together. It provides circuitry to move data to and from the rest of the computer. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 24 Input/Output (I/O) Buses Expansion slots Expansion card I/O buses are pathways that enable the CPU to communicate with input/output devices. Typically the buses contain slots, called expansion slots, in which expansion cards are inserted. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 25 Outside the System Unit Drive bays On/off switch Reset button BACK Indicator lights FRONT Power switch– Is located on the back. It turns power on/off to the computer. Receptacles– Also called connectors or ports, are located on the back to plug in peripheral devices, keyboard, mouse, and monitor. Front panel– Contains drive bays, various buttons, and lights. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 26 Types of Ports Click on a port below to view information about it. Click again to remove the text. Sound PS/2 Universal Serial Parallel VGA Game connector– port port– card port– (mouse (keyboard Serial Data connectors– A Data connector Bus A flows port)– 15 flows port)– (USB)– pin inSpecial for through Also connector a Special series high Allows called serial speed eight of serial up used pulses, jacks, port to wires access port 127 for to they one allowing monitors devices connect tofor accept connect after graphicsto another the mouse. stereo be transfer one keyboard. connected bit of intensive mini-plugs. eight at a time; bits interaction. at Microphone, of slow a data time. data simultaneously; transfer line-in,rate. line-out, faster and than speaker serial connectors ports. are used. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 27 The difference between serial and parallel ports SERIAL Copyright © 2003 Prentice Hall, Inc PARALLEL NEXT SLIDE 28 How a Computer Represents Data Analog Digital OFF ON Computers represent data through electronic signals or impulses. Two types of signals: Analog– Continuous waveform. Examples: talking and computerized gas pumps Digital– On/off electrical states (bit). Examples: light switches and transistors Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 29 Character Codes Numerical data, that computers use; translated into characters readable by humans. American Standard Code for Information Interchange (ASCII)– Eight bits; used by minicomputers and personal computers Extended Binary Coded Decimal Interchange Code (EBCDIC)– Eight bits; used by mainframe computers Unicode– Uses 16 bits; over 65,000 combinations =4 0 0 1 1 0 1 0 0 =A 0 1 0 0 0 Copyright © 2003 Prentice Hall, Inc 0 0 1 NEXT SLIDE 30 Chapter 2 Summary 1. The basic unit of information is the bit. 2. Large units of data are kilobyte (KB), megabyte (MB), gigabyte (GB), and terabyte (TB). 3. The motherboard is a circuit board that provides receptacles for chips and input/output buses. 4. The central processing unit (CPU) contains the control unit (CU) and the arithmetic-logic unit (ALU). It manages the four basic operations (fetch, decode, execute, and write-back). 5. The CPU’s performance is measured by the data bus width, operations per second, speed, and cache memory. 6. Random access memory (RAM) is the computer’s main memory. It is volatile. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 31 Chapter 2 Summary cont. 7. There are various types of RAM. They include dynamic RAM (DRAM), synchronous DRAM (SDRAM), Rambus DRAM (RDRAM), and double data rate (DDR)SDRAM. 8. Peripheral devices connect to the computer on the outside of the case. 9. Computers have ports such as serial ports, parallel ports, SCSI ports, USB ports, FireWire ports, and IrDA ports to connect input/output devices. 10. Analog computers measure and digital computers count. Copyright © 2003 Prentice Hall, Inc NEXT SLIDE 32 THE END Copyright © 2003 Prentice Hall, Inc 33