The Computer Continuum 1-1 Chapter 3: Computer Hardware Components: CPU, Memory, and I/O What is the typical configuration of a computer sold today? The Computer Continuum 3-2 Computer Hardware Components n In this chapter: " How did the computer become known as the stored-program computer? 3 Do they all have the same characteristics?
" Memory on chips and memory on magnetic media, how do they differ? " What do you look for when comparing memory devices? " How is information moved around within the computer?
" How can you help your computer run better ? The Computer Continuum 3-3 Basic Concepts of Computer Hardware n This model of the typical digital computer is often called the von Neumann computer. " Programs and data are stored in the same memory: primary memory.
" The computer can only perform one instruction at a time. CPU (Central Processing Unit) Input Units Output Units Primary Memory The Computer Continuum 3-4 Basic Concepts of Computer Hardware n Input/Output (I/O): Refers to the process of getting information into and out of the computer. " Input: Those parts of the computer receiving information to programs.
" Output: Those parts of the computer that provide results of computation to the person using ... more. less.
the computer. The Computer Continuum 3-5 Sources of Data for the Computer n Two types of data stored within a computer: " Original data or information : Data being introduced to a computing system for the first time. 3 Computers can deal directly with printed text, pictures, sound, and other common types of information.<br><br> " Previously stored data or information : Data that has already been processed by a computer and is being stored for later use. 3 These are forms of binary data useful only to the computer. 3 Examples: Floppy disks, DVD disks, and music CDs.<br><br> The Computer Continuum 3-6 Input Devices n Two categories of input hardware: " Those that deal with original data. " Those that handle previously stored data. The Computer Continuum 3-7 Input Devices n Input hardware: Those that deal with original data.<br><br> " Keyboard " Mouse " Voice recognition hardware " Scanner " Digital camera n Digitizing: The process of taking a visual image, or audio recording and converting it to a binary form for the computer. " Used as data for programs to display, play or manipulate the digitized data. The Computer Continuum 3-8 Input Devices n Connecting Hardware to the computer: " Hardware needs access through some general input/output connection.<br><br> 3 Port : The pathway for data to go into and out of the computer from external devices such as keyboards. " There are many standard ports as well as custom electronic ports designed for special purposes. " Ports follow standards that define their use.<br><br> » SCSI, USB: Multiple peripheral devices (chain). » RS-232, IDE: Individual peripheral devices. 3 Peripheral device : A piece of hardware like a printer or disk drive, that is outside the main computer.<br><br> The Computer Continuum 3-9 Input Devices n Connecting Hardware to the computer: (continued) " Hardware needs software on the computer that can service the device. 3 Device driver : Software addition to the operating system that will allow the computer to communicate with a particular device. The Computer Continuum 3-10 Input Devices n Common Basic Technologies for Storing Binary Information: " Electronic " Magnetic " Optical The Computer Continuum 3-11 Input Devices n Electronic Circuits " Most expensive of the three forms for storing binary information.<br><br> " A flip-flop circuit has either one electronic status or the other. It is said to flip-flop from one to the other. " Electronic circuits come in two forms: 3 Permanent 3 Non-permanent The Computer Continuum 3-12 Input Devices n Magnetic Technology " Two parts to most of the magnetic forms of information storage: 3 The medium that stores the magnetic information.<br><br> " Example: Floppy disk. Tiny spots on the disk are magnetized to represent 0s and 1s. 3 The device that can cread d that information from the medium.<br><br> " The drive spins the disk. " It has a magnetic sensing arm that moves over the disk. " Performs nondestructive reading.<br><br> The Computer Continuum 3-13 Input Devices n Optical " Uses lasers to cread d the binary information from the medium, usually a disc. 3 Millions of tiny holes are cburned d into the surface of the disc. 3 The holes are interpreted as 1s.<br><br> The absence of holes are interpreted as 0s. The Computer Continuum 3-14 Input Devices n Secondary Memory Input Devices " These input devices are used by a computer to store information and then to retrieve that information as needed. 3 External to the computer.<br><br> 3 Commonly consists of floppy disks, hard disk drives, or CD-ROMs. " Secondary memory uses binary. 3 The usual measurement is the byte.<br><br> " A byte consists of 8 binary digits (bits). The byte is a standard unit. The Computer Continuum 3-15 Input Devices n The four most important characteristics of storage devices: " Speed and access time " Cost / Removable versus non-removable " Capacity " Type of access The Computer Continuum 3-16 Input Devices n Speed (Access time) - How fast information can be taken from or stored onto the computer memory device 9s medium.<br><br> " Electronic circuits: Fastest to access. 3 40 billionths of a second. " Floppy disks: Very slow in comparison.<br><br> 3 Takes up to 1/2 second to reach full speed before access is even possible. The Computer Continuum 3-17 Input Devices n Cost " Megabyte : A Million bytes. " Gigabyte : A billion bytes.<br><br> " Two parts to a removable secondary storage device: 3 The cost of the medium. ( Cheaper if bought in quantity) 3 The cost of the drive. Examples: Cost for drive Cost for medium Floppy drive (1.4MB) 59.00 .50 Zip 100 (100 MB) 99.00 10.00 CD-WR (650 MB) 360.00 and up 1.00 The Computer Continuum 3-18 Input Devices n Capacity - The amount of information that can be stored on the medium.<br><br> Unit Description Approximate Size 1 bit 1 binary digit 1 nibble 4 bits 1 byte 8 bits 1 character 1 kilobyte 1,024 bytes H 1/2 page, double spaced 1 megabyte 1,048,576 bytes H 500,000 pages 1 million bytes 1 gigabyte 1,073,741,824 bytes H 5 million pages 1 billion bytes 1 terabyte 1 trillion bytes H 5 billion pages The Computer Continuum 3-19 Input Devices n Type of Access 3 Sequential - Obtained by proceeding through the storage medium from the beginning until the designated area is reached (as in magnetic tape). 3 Random Access - Direct access (as in floppy and hard disks). The Computer Continuum 3-20 Primary Memory n Primary storage or memory : Is where the data and program that are currently in operation or being accessed are stored during use.<br><br> " Consists of electronic circuits: Extremely fast and expensive. " Two types: 3 RAM (non-permanent) " Programs and data can be stored here for the computer 9s use. " Volatile: All information will be lost once the computer shuts down.<br><br> 3 ROM (permanent) " Contents do not change. The Computer Continuum 3-21 The Central Processing Unit n The Central Processing Unit ( CPU) " Often referred to as the cbrain d of the computer. " Responsible for controlling all activities of the computer system.<br><br> " The three major components of the CPU are: 1. Arithmetic Unit (Computations performed) Accumulator (Results of computations kept here) 2. Control Unit (Has two locations where numbers are kept) Instruction Register (Instruction placed here for analysis) Program Counter (Which instruction will be performed next?) 3.<br><br> Instruction Decoding Unit (Decodes the instruction) " Motherboard : The place where most of the electronics including the CPU are mounted. The Computer Continuum 3-22 Output Devices n Output units store and display information (calculated results and other messages) for us to see and use. " Floppy disk drives and Hard disk drives.<br><br> " Display monitors: Hi-resolution monitors come in two types: 3 Cathode ray tube (CRT) - Streams of electrons make phosphors glow on a large vacuum tube. 3 Liquid crystal display (LCD) - A flat panel display that uses crystals to let varying amounts of different colored light to pass through it. " Developed primarily for portable computers.<br><br> The Computer Continuum 3-23 Output Devices n Audio Output Devices " Windows machines need special audio card for audio output. " Macintosh has audio playback built in. " Audio output is useful for: 3 Music " CD player is a computer.<br><br> " Most personal computers have CD players that can access both music CDs and CD-ROMs. 3 Voice synthesis (becoming more human sounding.) 3 Multimedia 3 Specialized tasks (i.e.: elevator 9s floor announcements) The Computer Continuum 3-24 Output Devices n Optical Disks: CD-ROM and DVD " CD-ROM (Compact Disk - Read Only Memory) 3 By its definition, CD-ROM is Read Only. 3 Special CD drives cburn d information into blank CDs.<br><br> " Burn: A laser is used to cburn d craters into the surface to represent a binary 1. " Two main types of CDs: » CD-R (Compact Disk - Recordable) » CD-WR (Compact Disk - ReWritable) 3 It takes longer to write to a CD-R than a hard drive. 3 Special software is needed to record.<br><br> The Computer Continuum 3-25 Output Devices n DVD (Digital Versatile Disk) " Allows up to 17 gigabytes of storage (from 4.7 GB to 17 GB). " Compatible with older CD-ROM technology. " The four versions of the DVD: The Computer Continuum 3-26 Output Devices n Storage Requirements: How much storage capacity is needed for& " One keystroke on a keyboard.<br><br> 1 byte (8 bits) " One page single-spaced document. 4.0 K " Nineteen pages formatted text. 75 K " One second of high-fidelity sound.<br><br> 95-110 K " Complete word processing program. 8.4 MG n Storage Capacity: How much data can be stored on& " One inch of 1/2 in. wide magnetic tape.<br><br> 4 K " One 3 1/2 d floppy disk, high density. 1.4 MG " One Compact Disk. 650 MG " One DVD.<br><br> up to 17 GB The Computer Continuum 3-27 Moving Information Within the Computer n How do binary numerals move into, out of, and within the computer? " Information is moved about in bytes, or multiple bytes called words. 3 Words are the fundamental units of information.<br><br> 3 The number of bits per word may vary per computer. 3 A word length for most large IBM computers is 32 bits: The Computer Continuum 3-28 Moving Information Within the Computer n Bits that compose a word are passed in parallel from place to place. " Ribbon cables : 3 Consist of several wires, molded together.<br><br> 3 One wire for each bit of the word or byte. 3 Additional wires coordinate the activity of moving information. 3 Each wire sends information in the form of a voltage pulse.<br><br> The Computer Continuum 3-29 Moving Information Within the Computer n Example of sending the word WOW over the ribbon cable " Voltage pulses corresponding to the ASCII codes would pass through the cable. The Computer Continuum 3-30 Packaging the Computer n The many physical forms of the general purpose computer: " All follow general organization: 3 Primary memory 3 Input units 3 Output units 3 Central Processing Unit " Grouped according to speed, cost, size, and complexity. Super Computers Mainframe Computers Minicomputers Microcomputer Palmtop Computer Calculator Fast Expensive Complex Large Slow Cheap Simple Small The Computer Continuum 3-31 Software Tools for Maintaining Your Computer Hardware n Utility Programs exist that can help diagnose and solve computer hardware problems.<br><br> " Four major problem areas where utility programs are helpful: 3 Finding and fixing problems. " Testing Input/Output peripherals. " Testing RAM, motherboard, video cards.<br><br> " Recovering deleted files or fixing damaged disks. 3 Improving computer performance. " De-fragmenting a disk (Packs all files closer together).<br><br> 3 Preventative maintenance. 3 Troubleshooting. " Locates incompatible programs.<br><br>