際際滷

際際滷Share a Scribd company logo
Lecture # 3




11/16/2012       Designed by Prof. Anosha Khan PGC   1
    It contains                      system unit



     electronic
     components of
     the computers
     used to process
     data                                                         system unit


                                      system unit



                                                    system unit



11/16/2012     Designed by Prof. Anosha Khan PGC                                2
power supply                            drive bays
       Processor
       Memory                                                                     processor

       Adapter cards
            Sound card                                                            memory
                            ports
            Modem card
       Ports
       Drive bays
       Power supply                                                              sound card




                                                                            video card
                                                        modem card
                            network card



11/16/2012          Designed by Prof. Anosha Khan PGC                                          3
11/16/2012   Designed by Prof. Anosha Khan PGC   4
    Circuit board:
     thin board containing chipsvery small pieces of silicon
     or other semi-conducting material onto which integrated
     circuits are embeddedand other electronic components
    Mother Board
       Main circuit board in system unit
       Contains adapter cards, processor chips, and
        memory chips
       Connects all components
       Allows communication between devices
       Also called system board
11/16/2012         Designed by Prof. Anosha Khan PGC            5
adapter cards
                                                                          processor chip




                                                                                            memory chips




                                                                                           memory slots

             Expansion
             slots for
             adapter cards                                  motherboard




11/16/2012                       Designed by Prof. Anosha Khan PGC                                         6
    Small piece of semi-
     conducting material on
     which integrated circuits
     are etched
      Integrated circuits contain
        many microscopic
        pathways capable of
        carrying electrical current




11/16/2012         Designed by Prof. Anosha Khan PGC   7
Processor
 Interprets and carries                          Control
                                                  Control            Arithmetic
                                                                     Arithmetic
  out basic instructions                           Unit
                                                   Unit            Logic Unit (ALU)
                                                                   Logic Unit (ALU)

  that operate a computer                                   Information
                                                                Data
 Also called the                                           Information

  processor
                              Input                                                     Output
                             Devices
                                             Data           Memory        Information
                                                                                        Devices

                                                            Information
                                                                Data
                                                            Information


                                                             Storage
                                                             Devices
11/16/2012    Designed by Prof. Anosha Khan PGC                                                   8
    Arithmetic/Logic Unit (ALU)
      Perform two types of operations
      Arithmetic (+,-,*,/) and logic(<,>,=)
    Control Unit
      Tell the rest of the computer how to carry out a programs
       instructions
      Works with a program counter (address of next instruction)
      It directs the movement of electronic signals between memory,
       instructions and arithmetic logic unit.
      Direct control signals between the CPU and I/O devices.


    11/16/2012       Designed by Prof. Anosha Khan PGC                 9
 There are four operations of Machine Cycle
Step 1. Fetch
  Obtain program instruction or data item from
  memory
Step 2. Decode
  Translate instruction into commands
Step 3. Execute
  Carry out command
Step 4. Store
  Write result to memory
11/16/2012   Designed by Prof. Anosha Khan PGC   10
       CPU begins fetching second instruction before
        completing machine cycle for first instruction
       Results in faster processing




11/16/2012         Designed by Prof. Anosha Khan PGC     11
    Important measurement indicating speed
       Located on a small chip
       Produces electrical beats(impulse)
    Expressed in gigahertz (1 GH=1 billion ticks
     of system clock per second)
    Faster clock speed, faster computer
    the clock speed determines how many
     instructions per second the processor can
     execute
    Processor speed can also be measured in
     millions of instructions per second (MIPS)
11/16/2012        Designed by Prof. Anosha Khan PGC   12
    Registers
    Page # 145, topic: Registers
    Cache
    System Clock
    RAM




11/16/2012     Designed by Prof. Anosha Khan PGC   13
heat sink fan
   Heat sinkcomponent
    with fins that cools
    processor

   Heat pipesmaller
    device for notebook
    computer


11/16/2012     Designed by Prof. Anosha Khan PGC                   14
Control Processor
   Using multiple
    processors
    simultaneously to
                               Processor 1          Processor 2   Processor 3   Processor 4
    execute a program             Memory              Memory        Memory        Memory
    faster
   Requires special
    software to divide
    problem and bring
                                                       Results combined
    results together


11/16/2012      Designed by Prof. Anosha Khan PGC                                       15
    Most Computers are digital
    Recognize only two discrete states: on or off
    Use a binary system to recognize two states
    Use Number system
     with two unique digits:
     0 and 1, called
     bits (short for binary
     digits)

11/16/2012     Designed by Prof. Anosha Khan PGC     16
      Eight bits grouped together as a unit
      Provides enough different combinations of 0s and
       1s to represent 256 individual characters
        Numbers
        Uppercase
          and lowercase
          letters
        Punctuation
          marks

11/16/2012       Designed by Prof. Anosha Khan PGC        17
    Three types of schemes
       ASCII - American Standard Code for Information
        interchange
       EBCDIC - Extended Binary Coded Decimal
        Interchange Code( used for large computers)
       Unicode ( for international languages like Chinese
        and Japanese.      ASCII      Symbol    EBCDIC
                                   00110000          0   11110000
                                   00110001          1   11110001
                                   00110010          2   11110010
                                   00110011          3   11110011
11/16/2012       Designed by Prof. Anosha Khan PGC                  18
   How is a letter converted to binary form and back?
                                      Step 1.                                              Step 2.
                                      The user presses                                     An electronic signal for the
                                      the capital letter D                                 capital letter D is sent to the
                                      (shift+D key) on                                     system unit.
                                      the keyboard.




Step 4.                                                                Step 3.
After processing, the binary                                           The signal for the capital letter D
code for the capital letter D is                                       is converted to its ASCII binary
converted to an image, and                                             code (01000100) and is stored in
displayed on the output device.                                        memory for processing.


  11/16/2012                       Designed by Prof. Anosha Khan PGC                                                     19
     Electronic components that store instructions, data, and results
     Consists of one or more chips on motherboard or
      other circuit board
     Before running a Program must be loaded into the memory
     Memory slots on motherboard hold memory modules
     RAM (random access memory): temporary memory that the
      computer uses
      Consists of chips connected to a memory module which is
       connected to the motherboard
      Hold data and program instructions while they are needed.
      RAM is volatile, its content is lost
     when the computer is shut off

    11/16/2012      Designed by Prof. Anosha Khan PGC              20
Memory chips that can be
    Home Task                             read from and written
     Explore                                  to by processor
     SRAM, DRAM,
                                                                Most RAM is
     SIMM, DIMM and                        Also called
                                          main memory
                                                               volatile, it is lost
                                                               when computers
     RIMM                                  or primary
                                             storage
                                                                   power is
                                                                  turned off
    Virtual Memory
     Small portion of                              The more RAM a
     hard Disk acts as                             computer has, the
                                                    faster it responds
     RAM
11/16/2012     Designed by Prof. Anosha Khan PGC                                      21
    Types of Memory
          Volatile , non volatile
    How is memory measured?
          By number of bytes available for storage
               Term          Abbreviation           Approximate Size
             Kilobyte           KB or K              1 thousand bytes
             Megabyte            MB                   1 million bytes
             Gigabyte             GB                   1 billion bytes
             Terabyte             TB                   1 trillion bytes




11/16/2012              Designed by Prof. Anosha Khan PGC                 22
RAM

             Operating system                   Operating system
             instructions                       interface


 Step 1. When you start the computer, certain operating system
 files load into RAM from the hard disk. The operating system
 displays the user interface on the screen.
             Word processing                    Word processing
             program instructions               program window



 Step 2. When you start a word processing program, the
 programs instructions load into RAM from the hard disk. The
 word processing program, along with the Web Browser and
 certain operating system instructions are in RAM. The word
 processing program window is displayed on the screen.
11/16/2012                 Designed by Prof. Anosha Khan PGC       23
    It helps to increase speed of computer
    It stores frequently used data and instructions
    Two types of cache
           Memory Cache and Disk Cache
    Memory Cache
      L1: built directly in processor, less memory
      L2:slower but has larger capacity
         ATC (advanced transfer cache) is a type of
         L2 cache
      L3:it is on motherboard separate from
     processor

11/16/2012      Designed by Prof. Anosha Khan PGC      24
 A register is a single storage location within the CPU
 Unlike memory, which is outside the CPU
 Examples of registers:
   Accumulator (ACC)
   Program counter (PC)
   Instruction register (IR)
   Memory address register (MAR)
   Memory data register (MDR)
   Status register
 General purpose registers (R0, R1, )
   Included on some CPUs
   Used for high-speed temporary storage of program
    variables
    11/16/2012   Designed by Prof. Anosha Khan PGC         25
    Memory chips that store
     permanent data
     and instructions
    Nonvolatile memory, it is not
     lost when computers
     power is turned off
    PROM (programmable ROM)
    EEPROM (Electrically erasable read-only memory)


11/16/2012      Designed by Prof. Anosha Khan PGC      26
       Nonvolatile memory that can be erased
        electronically and reprogrammed
       Used with PDAs, digital cameras, digital
        cellular phones, music players, digital voice
        recorders, and pagers




11/16/2012       Designed by Prof. Anosha Khan PGC      27
    CMOS stands for Complementary metal-oxide
     semiconductor memory
    It is used to store configuration information
     about the computer
    Uses battery
     power to retain information when other power
     is turned off
    Stores date, time, and computers startup
     information
11/16/2012     Designed by Prof. Anosha Khan PGC     28
   What is an adapter card?
     Enhances system unit or provides connections to
      external devices called peripherals
     Also called an expansion card
     Flash Memory Cards
     PC Cards




11/16/2012       Designed by Prof. Anosha Khan PGC      29
   What is an expansion slot?
     An opening, or socket,
      on the motherboard
      that can hold an
      adapter card
     With Plug and Play,
      the computer
      automatically
      configures cards
      and other devices
      as you install them
11/16/2012       Designed by Prof. Anosha Khan PGC   30
   Port connects
    external devices to
    system unit
   Connector joins
    cable to peripheral
     Available in one
       of two genders:
       male and female


    11/16/2012   Designed by Prof. Anosha Khan PGC   31
       Transmits one bit of data
        at a time
       Connects slow-speed
        devices, such as mouse,
        keyboard, modem




11/16/2012       Designed by Prof. Anosha Khan PGC   32
    Connects devices that
     can transfer more than
     one bit at a time, such as
     a printer




11/16/2012      Designed by Prof. Anosha Khan PGC   33
    Connect parts of the CPU to each other
    Connect the CPU to other devices on the system board.
    Data roadway for traveling bits
       Measured as bus width( number of bits transmitted at one time)
       More lanes, faster traffic
    Two basic categories of Expansion BUSES
       System buses ( connect CPU to Memory)
       Expansion buses ( connect CPU to slots on the system board)
       Data Bus (Page # 148)
       Address Bus__Connects only CPU & RAM(Page # 148)
       BUS standard (chapter 4 page 148)

11/16/2012           Designed by Prof. Anosha Khan PGC                   34

More Related Content

System unit & its components

  • 1. Lecture # 3 11/16/2012 Designed by Prof. Anosha Khan PGC 1
  • 2. It contains system unit electronic components of the computers used to process data system unit system unit system unit 11/16/2012 Designed by Prof. Anosha Khan PGC 2
  • 3. power supply drive bays Processor Memory processor Adapter cards Sound card memory ports Modem card Ports Drive bays Power supply sound card video card modem card network card 11/16/2012 Designed by Prof. Anosha Khan PGC 3
  • 4. 11/16/2012 Designed by Prof. Anosha Khan PGC 4
  • 5. Circuit board: thin board containing chipsvery small pieces of silicon or other semi-conducting material onto which integrated circuits are embeddedand other electronic components Mother Board Main circuit board in system unit Contains adapter cards, processor chips, and memory chips Connects all components Allows communication between devices Also called system board 11/16/2012 Designed by Prof. Anosha Khan PGC 5
  • 6. adapter cards processor chip memory chips memory slots Expansion slots for adapter cards motherboard 11/16/2012 Designed by Prof. Anosha Khan PGC 6
  • 7. Small piece of semi- conducting material on which integrated circuits are etched Integrated circuits contain many microscopic pathways capable of carrying electrical current 11/16/2012 Designed by Prof. Anosha Khan PGC 7
  • 8. Processor Interprets and carries Control Control Arithmetic Arithmetic out basic instructions Unit Unit Logic Unit (ALU) Logic Unit (ALU) that operate a computer Information Data Also called the Information processor Input Output Devices Data Memory Information Devices Information Data Information Storage Devices 11/16/2012 Designed by Prof. Anosha Khan PGC 8
  • 9. Arithmetic/Logic Unit (ALU) Perform two types of operations Arithmetic (+,-,*,/) and logic(<,>,=) Control Unit Tell the rest of the computer how to carry out a programs instructions Works with a program counter (address of next instruction) It directs the movement of electronic signals between memory, instructions and arithmetic logic unit. Direct control signals between the CPU and I/O devices. 11/16/2012 Designed by Prof. Anosha Khan PGC 9
  • 10. There are four operations of Machine Cycle Step 1. Fetch Obtain program instruction or data item from memory Step 2. Decode Translate instruction into commands Step 3. Execute Carry out command Step 4. Store Write result to memory 11/16/2012 Designed by Prof. Anosha Khan PGC 10
  • 11. CPU begins fetching second instruction before completing machine cycle for first instruction Results in faster processing 11/16/2012 Designed by Prof. Anosha Khan PGC 11
  • 12. Important measurement indicating speed Located on a small chip Produces electrical beats(impulse) Expressed in gigahertz (1 GH=1 billion ticks of system clock per second) Faster clock speed, faster computer the clock speed determines how many instructions per second the processor can execute Processor speed can also be measured in millions of instructions per second (MIPS) 11/16/2012 Designed by Prof. Anosha Khan PGC 12
  • 13. Registers Page # 145, topic: Registers Cache System Clock RAM 11/16/2012 Designed by Prof. Anosha Khan PGC 13
  • 14. heat sink fan Heat sinkcomponent with fins that cools processor Heat pipesmaller device for notebook computer 11/16/2012 Designed by Prof. Anosha Khan PGC 14
  • 15. Control Processor Using multiple processors simultaneously to Processor 1 Processor 2 Processor 3 Processor 4 execute a program Memory Memory Memory Memory faster Requires special software to divide problem and bring Results combined results together 11/16/2012 Designed by Prof. Anosha Khan PGC 15
  • 16. Most Computers are digital Recognize only two discrete states: on or off Use a binary system to recognize two states Use Number system with two unique digits: 0 and 1, called bits (short for binary digits) 11/16/2012 Designed by Prof. Anosha Khan PGC 16
  • 17. Eight bits grouped together as a unit Provides enough different combinations of 0s and 1s to represent 256 individual characters Numbers Uppercase and lowercase letters Punctuation marks 11/16/2012 Designed by Prof. Anosha Khan PGC 17
  • 18. Three types of schemes ASCII - American Standard Code for Information interchange EBCDIC - Extended Binary Coded Decimal Interchange Code( used for large computers) Unicode ( for international languages like Chinese and Japanese. ASCII Symbol EBCDIC 00110000 0 11110000 00110001 1 11110001 00110010 2 11110010 00110011 3 11110011 11/16/2012 Designed by Prof. Anosha Khan PGC 18
  • 19. How is a letter converted to binary form and back? Step 1. Step 2. The user presses An electronic signal for the the capital letter D capital letter D is sent to the (shift+D key) on system unit. the keyboard. Step 4. Step 3. After processing, the binary The signal for the capital letter D code for the capital letter D is is converted to its ASCII binary converted to an image, and code (01000100) and is stored in displayed on the output device. memory for processing. 11/16/2012 Designed by Prof. Anosha Khan PGC 19
  • 20. Electronic components that store instructions, data, and results Consists of one or more chips on motherboard or other circuit board Before running a Program must be loaded into the memory Memory slots on motherboard hold memory modules RAM (random access memory): temporary memory that the computer uses Consists of chips connected to a memory module which is connected to the motherboard Hold data and program instructions while they are needed. RAM is volatile, its content is lost when the computer is shut off 11/16/2012 Designed by Prof. Anosha Khan PGC 20
  • 21. Memory chips that can be Home Task read from and written Explore to by processor SRAM, DRAM, Most RAM is SIMM, DIMM and Also called main memory volatile, it is lost when computers RIMM or primary storage power is turned off Virtual Memory Small portion of The more RAM a hard Disk acts as computer has, the faster it responds RAM 11/16/2012 Designed by Prof. Anosha Khan PGC 21
  • 22. Types of Memory Volatile , non volatile How is memory measured? By number of bytes available for storage Term Abbreviation Approximate Size Kilobyte KB or K 1 thousand bytes Megabyte MB 1 million bytes Gigabyte GB 1 billion bytes Terabyte TB 1 trillion bytes 11/16/2012 Designed by Prof. Anosha Khan PGC 22
  • 23. RAM Operating system Operating system instructions interface Step 1. When you start the computer, certain operating system files load into RAM from the hard disk. The operating system displays the user interface on the screen. Word processing Word processing program instructions program window Step 2. When you start a word processing program, the programs instructions load into RAM from the hard disk. The word processing program, along with the Web Browser and certain operating system instructions are in RAM. The word processing program window is displayed on the screen. 11/16/2012 Designed by Prof. Anosha Khan PGC 23
  • 24. It helps to increase speed of computer It stores frequently used data and instructions Two types of cache Memory Cache and Disk Cache Memory Cache L1: built directly in processor, less memory L2:slower but has larger capacity ATC (advanced transfer cache) is a type of L2 cache L3:it is on motherboard separate from processor 11/16/2012 Designed by Prof. Anosha Khan PGC 24
  • 25. A register is a single storage location within the CPU Unlike memory, which is outside the CPU Examples of registers: Accumulator (ACC) Program counter (PC) Instruction register (IR) Memory address register (MAR) Memory data register (MDR) Status register General purpose registers (R0, R1, ) Included on some CPUs Used for high-speed temporary storage of program variables 11/16/2012 Designed by Prof. Anosha Khan PGC 25
  • 26. Memory chips that store permanent data and instructions Nonvolatile memory, it is not lost when computers power is turned off PROM (programmable ROM) EEPROM (Electrically erasable read-only memory) 11/16/2012 Designed by Prof. Anosha Khan PGC 26
  • 27. Nonvolatile memory that can be erased electronically and reprogrammed Used with PDAs, digital cameras, digital cellular phones, music players, digital voice recorders, and pagers 11/16/2012 Designed by Prof. Anosha Khan PGC 27
  • 28. CMOS stands for Complementary metal-oxide semiconductor memory It is used to store configuration information about the computer Uses battery power to retain information when other power is turned off Stores date, time, and computers startup information 11/16/2012 Designed by Prof. Anosha Khan PGC 28
  • 29. What is an adapter card? Enhances system unit or provides connections to external devices called peripherals Also called an expansion card Flash Memory Cards PC Cards 11/16/2012 Designed by Prof. Anosha Khan PGC 29
  • 30. What is an expansion slot? An opening, or socket, on the motherboard that can hold an adapter card With Plug and Play, the computer automatically configures cards and other devices as you install them 11/16/2012 Designed by Prof. Anosha Khan PGC 30
  • 31. Port connects external devices to system unit Connector joins cable to peripheral Available in one of two genders: male and female 11/16/2012 Designed by Prof. Anosha Khan PGC 31
  • 32. Transmits one bit of data at a time Connects slow-speed devices, such as mouse, keyboard, modem 11/16/2012 Designed by Prof. Anosha Khan PGC 32
  • 33. Connects devices that can transfer more than one bit at a time, such as a printer 11/16/2012 Designed by Prof. Anosha Khan PGC 33
  • 34. Connect parts of the CPU to each other Connect the CPU to other devices on the system board. Data roadway for traveling bits Measured as bus width( number of bits transmitted at one time) More lanes, faster traffic Two basic categories of Expansion BUSES System buses ( connect CPU to Memory) Expansion buses ( connect CPU to slots on the system board) Data Bus (Page # 148) Address Bus__Connects only CPU & RAM(Page # 148) BUS standard (chapter 4 page 148) 11/16/2012 Designed by Prof. Anosha Khan PGC 34