Lec no. 3 comp hardware components

767 views
680 views

Published on

Published in: Education, Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
767
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
31
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Chapter 3 The Computer Continuum
  • Lec no. 3 comp hardware components

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

    ×