computer architecture how does a computer work? chapter 6

Download Computer Architecture How Does a Computer Work? Chapter 6

Post on 29-Dec-2015




16 download

Embed Size (px)


  • Computer ArchitectureHow Does a Computer Work?Chapter 6

  • Student Learning OutcomesExplain the basic components (inside the box) of a personal computer and their related functions.

  • System UnitSystem unit is the case or box in which the motherboard and storage units are housedp. 6.162 Fig. 6-1

  • 6.1 The Big Picture InputData

    Process DataOutputInformation

  • The System UnitMotherboard is the large circuit board inside your system unit that holds the CPU, memory, and other essential electronic componentsCAN YOU NAME THE PARTS?p. 6.164 Fig. 6.3SimNet Concepts Support CD: The Motherboard and Inside the Computer

  • System Unit Terminology

  • System Unit Terminology

  • 6.2 Representing Information Inside a ComputerBinary digit (bit) has two states - 0 or 1By combining bits into groups of 8, we can represent letters, symbols, and numbers, like the word "cool" (below)A group of 8 bits represents one natural language character and is called a byte


  • ASCII, EBCIDIC, and Unicode ASCII American Standard Code for Information InterchangeUsed on personal computers; eight-bit coding system; 256 different patternsEBCDIC Extended Binary Coded Decimal Interchange CodeUsed by IBM mainframes; eight-bit coding system; 256 different patternsUnicode coding scheme capable of representing many languagesUsable on many computers; 16-bit coding system; approximately 65,000 patternsSimNet Concepts Support CD: Data Representation Using Binary Codes

  • ASCII & EBCDIC Binary Representations p. 6.168 Fig. 6.7

    YOUR CHARACTERSASCIIEBCDIC(space)0010000001000000!0010000101011010#0010001101111011$0010010001011011&001001100101000000011000011110000100110001111100012001100101111001030011001111110011400110100111101005001101011111010160011011011110110700110111111101118001110001111100090011100111111001

  • 6.3 CPU, RAM, and Machine CyclesCentral processing unit (CPU or microprocessor or processor). Chip that carries out instructions it receives from your softwareRandom access memory (RAM) Temporary memory that holds software instructions and information for the CPUMachine cycle (CPU cycle or clock cycle) consists of retrieving, decoding, and executing the instruction, and returning the result to RAM

  • Central Processing UnitChip that carries out instructions it receives from your softwareRole of the CPU is analogous to the role of your brain keeps everything functioning as its supposed top. 6.169 Fig. 6.3SimNet Concepts Support CD: The CPU

  • Random Access Memory (RAM)OS InstructionsRAM Holds

  • Machine Cycle (CPU Cycle)

  • How a CPU Worksp. 6.170 Fig. 6.9

  • CPU ClockEach beat or tick of the clock is called a CPUcycle/machine cycle CPU speed is quoted in Megahertz (MHz = 1 millionCPU cycles per second) or Gigahertz (GHz= 1 billiion CPU cycles per second).

  • Classes of CPUsIntel and AMD are two major manufacturers of CPUs for consumer computersCPU speed and power continue to get fasterHigher-performance CPUs have top speeds and are the most expensive

  • RAM CapacityBuy as much as you can afford. For optimal performance purchase, more than the minimum specifications512 MB is standard on new computers i.e. 512 million bytesp.6.173 Fig. 6.13SimNet Concepts Support CD: Memory

  • RAM Capacity: How Much Do You Need?ByteKilobyte (KB)Megabytes (MB)Gigabytes (GB)Terabytes (TB)Petabyte (PB)Exabyte (EB)= 8 bits 1 Thousand Bytes 1 Million Bytes 1 Billion Bytes 1 Trillion Bytes 1 quadrillion Bytes 1 quintillion Bytes

  • RAM Capacity: How Much Do You Need?ByteKilobyte (KB)Megabytes (MB)Gigabytes (GB)Terabytes (TB)Petabyte (PB)Exabyte (EB)= 8 bits 1000 1000000 1000000000 1000000000000 1000000000000000 1000000000000000000

  • RAM and Virtual MemoryIf your computer runs out of physical RAM space, it uses hard disk space as temporary RAM, which is called virtual memoryVirtual memory is slower than physical RAM because instructions temporarily stored on the hard disk must be moved into RAM as they are needed

  • How Virtual RAM Worksp.6.174 Fig. 6.14

  • 6.4 Making Connectionsp.6.175 Fig. 6.15Ports are places in a computer system where external devices are plugged in, and through which information and instructions flow into the computer systemConnectors consist of cables that are used to join peripheral to the computer. Common types of connectors: USBFirewireSerialPS/2ParallelRJ-45

  • USB Connectors and PortsUSB (Universal serial bus) connector is a plug-and-play interface between a computer and add-on deviceWith plug and play, a new device can be added to your computer without having to add an adapter card or even having to turn the computer off

  • Firewire (IEEE 1394)Firewire (IEEE1394) although different from USB, allows you to connect hot-swap, plug and play devices to your computerFirewire used mostly for video camcorders and digital video disk (DVD) playersA popular implementation of IEEE 1394 is Sonys I-LINK

  • Serial Connectors and PortsSerial means one event at a time. It is usually contrasted with parallel, meaning more than one event happening at a timeIn the context of computer hardware and data transmission, serial connection, operation, and media usually indicate a simpler, slower operation and parallel indicates a faster operation

  • Parallel Connectors and PortsOn a PC, the printer is usually attached through a parallel interface and cable so that it will print fasterKeyboard and mouse are one-way devices that only require a serial interface and lineSimNet Concepts Support CD: Ports and Cables

  • Wireless PortsWireless is a term used to describe telecommunications in which electromagnetic waves (rather than some form of wire) carry the signal over part or all of the communications path

  • Wireless Ports Cont.Common examples of wireless equipment Cellular phonesGlobal positioning systemsCordless mouseWireless networksBaby monitorsTV remote controlsp.6.178 Fig. 6.17

  • Wireless PortsIrDA (Infrared Data Association) portUse infrared light to send and receive informationBluetooth uses radio waves over distances of up to 30 feet

  • IrDA (Infrared Data Association)In this form of radio transmission, a focused ray of light in the infrared frequency spectrum, measured in terahertz, or trillions of hertz (cycles per second), is modulated and sent from a relatively short distanceIrDa communications is playing an important role in wireless data communication due to the popularity of laptop computers, personal digital assistants, digital cameras, mobile telephones, pagers, and other devices

  • Examples for Using IrDAExchange business cards between handheld PCsSend a document from a notebook computer to a printerCoordinate schedules and telephone books between a desktop and notebook computer

  • Examples for Using IrDASend faxes from a notebook computer to a distant fax machine through a public telephoneBeaming images from a digital camera into a computerInterconnecting local area networks. Maximum effective distance is somewhat under 1.5 miles

  • Bluetooth Bluetooth is a computing and telecommunications industry specification that describes how mobile phones, computers, and PDAs can easily interconnect with each other and with home and business phones and computers using a short-range wireless connectionBluetooth requires that a low-cost transceiver chip be included in each device

  • Expansion Slots on the MotherboardSimNet Concepts Support CD: Expansion Cards and Slots

  • BusesData busesCarries information in the form of bits around the motherboardTwo types: system and expansion System bus Electrical pathways which move information between RAM and CPUThe more bits that can travel together at one time, the faster the bus

  • Expansion BusMoves information coming from and going to devices outside the motherboardTypes of expansion busesISA (industry standard architecture) PCI (peripheral component interconnect)AGP (accelerated graphics port)

  • PCI and AGP Busesp.6.180 Fig. 6.19

  • 6.5 Notebook ComputersNotebook computer is smaller and power to run devices is limitedBiggest advantage is its portabilityElectronic engineers work to reduce the power and size requirements of these computers

  • Notebook Computers CPUs and RAMNotebook hardware has special featuresA mobile CPU is a special type of CPU for a notebook computer that changes speed, and therefore power consumption, in response to fluctuations in demandThe CPU fan comes on only when the CPU gets too hotRAM for a notebook looks a little different from desktop RAMNotebook RAMDesktop RAMp. 6.181 Fig. 6.13 & 6.20

  • Notebook Computers Expansion Cards and SlotsDevices are added to a notebook by sliding a PC card into the PC Card slot on the notebook, and connecting the device to the PC cardA PC Card is the expansion card used to add devices to notebook computersp.6.181 Fig. 6.21

  • An excellent exercise is to point at the red lines in this diagram and randomly ask students to identify the part/component.

    By explaining the concept of the motherboard to students, it makes it easier for them to grasp. Ask your computing services department for an old board to take to class, and while you are identifying these components to students from the slide, the students can be passing around the real board. Most computing services departments are very glad to help out with this step, and many will gladly provide you with other components.

    Again by having a system to demonstrate these components with you are helping students grasp the