Computer Fundamentals: Pradeep K.
Sinha & Priti Sinha
  Computer
      ▪ The word computer comes from the word “compute”,
        which means, “to calculate”
      ▪ Thereby, a computer is an electronic device that can
        perform arithmetic operations at high speed
      ▪ A computer is also called a data processor because it can
        store, process, and retrieve data whenever desired
Ref Page 01            Chapter 1: Introduction to Computers           Slide 1/17
                                  Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Data Processing
      The activity of processing data using a computer is called
      data processing
                                 Data
                                   Capture Data
                                 Manipulate Data
                                  Output Results
                                  Information
              Data is raw material used as input and information is
              processed data obtained as output of data processing
Ref Page 01                Chapter 1: Introduction to Computers           Slide 2/17
Data and Information Comparison
                              Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Characteristics of Computers
      1) Automatic: Given a job, computer can work on it
         automatically without human interventions
      2) Speed: Computer can perform data processing jobs
         very fast, usually measured in microseconds (10-6),
         nanoseconds (10-9), and picoseconds (10-12)
      3) Accuracy: Accuracy of a computer is consistently high
         and the degree of its accuracy depends upon its design.
         Computer errors caused due to incorrect input data or
         unreliable programs are often referred to as Garbage-
         In-Garbage-Out (GIGO)
                                                              (Continued on next slide)
Ref Page 02            Chapter 1: Introduction to Computers               Slide 4/17
                                           Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
     Characteristics of Computers
(Continued from previous slide..)
            4) Diligence: Computer is free from monotony, tiredness,
               and lack of concentration. It can continuously work for
               hours without creating any error and without grumbling
            5) Versatility: Computer is capable of performing almost
               any task, if the task can be reduced to a finite series of
               logical steps
            6) Power of Remembering: Computer can store and
               recall any amount of information because of its
               secondary storage capability. It forgets or looses certain
               information only when it is asked to do so
                                                                           (Continued on next slide)
  Ref Page 02                       Chapter 1: Introduction to Computers              Slide 5/17
                                           Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
     Characteristics of Computers
(Continued from previous slide..)
            7) No I.Q.: A computer does only what it is programmed
               to do. It cannot take its own decision in this regard
            8) No Feelings: Computers are devoid of emotions. Their
               judgement is based on the instructions given to them in
               the form of programs that are written by us (human
               beings)
                                                                           (Continued on next slide)
  Ref Page 03                       Chapter 1: Introduction to Computers              Slide 6/17
                              Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Evolution of Computers
      ▪ Blaise Pascal invented the first mechanical adding
        machine in 1642
      ▪ Baron Gottfried Wilhelm von Leibniz invented the first
        calculator for multiplication in 1671
      ▪ Keyboard machines originated in the United States
        around 1880
      ▪ Around 1880, Herman Hollerith came up with the concept
        of punched cards that were extensively used as input
        media until late 1970s
Ref Page 03            Chapter 1: Introduction to Computers           Slide 7/17
                                           Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
     Evolution of Computers
(Continued from previous slide..)
            ▪ Charles Babbage is considered to be the father of
              modern digital computers
                     ▪     He designed “Difference Engine” in 1822
                     ▪     He designed a fully automatic analytical engine in
                           1842 for performing basic arithmetic functions
                     ▪     His efforts established a number of principles that
                           are fundamental to the design of any digital
                           computer
                                                                           (Continued on next slide)
  Ref Page 03                       Chapter 1: Introduction to Computers              Slide 8/17
                             Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Some Well Known Early Computers
      ▪ The Mark I Computer (1937-44)
      ▪ The Atanasoff-Berry Computer (1939-42)
      ▪ The ENIAC (1943-46)
      ▪ The EDVAC (1946-52)
      ▪ The EDSAC (1947-49)
      ▪ Manchester Mark I (1948)
      ▪ The UNIVAC I (1951)
Ref Page 03           Chapter 1: Introduction to Computers           Slide 9/17
                              Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Computer Generations
      ▪ “Generation” in computer talk is a step in technology. It
        provides a framework for the growth of computer industry
      ▪ Originally it was used to distinguish between various
        hardware technologies, but now it has been extended to
        include both hardware and software
      ▪ Till today, there are five computer generations
                                                              (Continued on next slide)
Ref Page 05            Chapter 1: Introduction to Computers              Slide 10/17
                                                     Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
     Computer Generations
(Continued from previous slide..)
                            Key hardware           Key software                  Key                     Some
     Generation
                                                                                                     representative
      (Period)              technologies           technologies             characteristics
                                                                                                        systems
    First               ▪ Vacuum tubes           ▪ Machine        and   ▪ Bulky in size              ▪   ENIAC
    (1942-1955)         ▪ Electromagnetic          assembly             ▪ Highly unreliable          ▪   EDVAC
                          relay memory             languages            ▪ Limited      commercial    ▪   EDSAC
                        ▪ Punched       cards    ▪ Stored    program      use and costly             ▪   UNIVAC I
                          secondary storage        concept
                                                                        ▪ Difficult     commercial   ▪ IBM 701
                                                 ▪ Mostly scientific      production
                                                   applications         ▪ Difficult to use
    Second              ▪ Transistors            ▪ Batch operating      ▪Faster, smaller, more       ▪   Honeywell 400
    (1955-1964)         ▪ Magnetic       cores     system               reliable and easier to       ▪   IBM 7030
                          memory                 ▪ High-level           program than previous
                                                                                                     ▪   CDC 1604
                                                   programming          generation systems
                        ▪ Magnetic tapes                                                             ▪   UNIVAC LARC
                                                   languages            ▪Commercial production
                        ▪ Disks for secondary
                          storage                ▪ Scientific   and     was still difficult and
                                                   commercial           costly
                                                   applications
                                                                                               (Continued on next slide)
  Ref Page 13                               Chapter 1: Introduction to Computers                           Slide 11/17
                                                   Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
     Computer Generations
(Continued from previous slide..)
       Generation            Key hardware         Key software               Key                    Some rep.
        (Period)              technologies        technologies          characteristics              systems
      Third               ▪ ICs with SSI and    ▪ Timesharing       ▪ Faster, smaller, more      ▪ IBM 360/370
      (1964-1975)           MSI technologies      operating           reliable, easier and       ▪ PDP-8
                          ▪ Larger magnetic       system              cheaper to produce
                                                                                                 ▪ PDP-11
                            cores memory        ▪ Standardization   ▪ Commercially, easier       ▪ CDC 6600
                          ▪ Larger capacity       of high-level       to use, and easier to
                            disks and             programming         upgrade than
                            magnetic tapes        languages           previous generation
                            secondary           ▪ Unbundling of       systems
                            storage               software from     ▪ Scientific, commercial
                          ▪ Minicomputers;        hardware            and interactive on-
                            upward                                    line applications
                            compatible family
                            of computers
                                                                                          (Continued on next slide)
  Ref Page 13                             Chapter 1: Introduction to Computers                       Slide 12/17
                                                       Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
     Computer Generations
(Continued from previous slide..)
        Generation              Key hardware                Key software                  Key                Some rep.
         (Period)               Technologies                technologies             characteristics          systems
     Fourth              ▪ ICs      with      VLSI     ▪ Operating systems for    ▪ Small, affordable,     ▪ IBM PC and
     (1975-1989)           technology                    PCs with GUI and           reliable, and easy       its clones
                         ▪ Microprocessors;              multiple windows on a      to use PCs             ▪ Apple II
                           semiconductor memory          single terminal screen   ▪ More powerful          ▪ TRS-80
                         ▪ Larger capacity hard        ▪ Multiprocessing     OS     and         reliable   ▪ VAX 9000
                           disks     as     in-built     with        concurrent     mainframe
                                                         programming                systems         and    ▪ CRAY-1
                           secondary storage
                                                         languages                  supercomputers         ▪ CRAY-2
                         ▪ Magnetic tapes       and
                           floppy disks as portable    ▪ UNIX operating system    ▪ Totally     general    ▪ CRAY-X/MP
                           storage media                 with C programming         purpose machines
                                                         language                 ▪ Easier to produce
                         ▪ Personal computers
                                                       ▪ Object-oriented design     commercially
                         ▪ Supercomputers based
                           on    parallel    vector      and programming          ▪ Easier to upgrade
                           processing          and     ▪ PC,     Network-based,   ▪ Rapid      software
                           symmetric                     and    supercomputing      development
                           multiprocessing               applications               possible
                           technologies
                         ▪ Spread of high-speed
                           computer networks
                                                                                               (Continued on next slide)
  Ref Page 13                               Chapter 1: Introduction to Computers                           Slide 13/17
                                                     Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
     Computer Generations
(Continued from previous slide..)
       Generation            Key hardware           Key software                  Key                  Some rep.
        (Period)             technologies           technologies             characteristics            systems
      Fifth              ▪ ICs    with    ULSI   ▪ Micro-kernel based,     ▪ Portable computers     ▪ IBM notebooks
      (1989-               technology              multithreading,         ▪ Powerful, cheaper,     ▪ Pentium PCs
      Present)           ▪ Larger capacity         distributed OS            reliable, and easier   ▪ SUN
                           main       memory,    ▪ Parallel                  to    use    desktop     Workstations
                           hard   disks with       programming               machines
                                                                                                    ▪ IBM SP/2
                           RAID support            libraries like MPI &    ▪ Powerful
                                                   PVM                                              ▪ SGI Origin 2000
                         ▪ Optical disks as                                  supercomputers
                           portable read-only    ▪ JAVA                                             ▪ PARAM 10000
                                                                           ▪ High uptime due to
                           storage media         ▪ World Wide Web            hot-pluggable
                         ▪ Notebooks,            ▪ Multimedia,               components
                           powerful    desktop     Internet                ▪ Totally      general
                           PCs             and     applications              purpose machines
                           workstations                                    ▪ Easier to produce
                                                 ▪ More          complex
                         ▪ Powerful servers,       supercomputing            commercially,
                           supercomputers          applications              easier to upgrade
                         ▪ Internet                                        ▪ Rapid       software
                         ▪ Cluster computing                                 development
                                                                             possible
  Ref Page 13                               Chapter 1: Introduction to Computers                         Slide 14/17
                                   Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Electronic Devices Used in Computers of Different Generations
        (a) A Vacuum Tube         (b) A Transistor            (c) An IC Chip
Ref Page 07                 Chapter 1: Introduction to Computers          Slide 15/17
                                 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Key Words/Phrases
      ▪ Computer                             ▪ Integrated Circuit (IC)
      ▪ Computer generations                 ▪ Large Scale Integration (VLSI)
      ▪ Computer Supported Cooperative       ▪ Medium Scale Integration (MSI)
        Working (CSCW)                       ▪ Microprocessor
      ▪ Data                                 ▪ Personal Computer (PC)
      ▪ Data processing                      ▪ Second-generation computers
      ▪ Data processor                       ▪ Small Scale Integration (SSI)
      ▪ First-generation computers           ▪ Stored program concept
      ▪ Fourth-generation computers          ▪ Third-generation computers
      ▪ Garbage-in-garbage-out (GIGO)        ▪ Transistor
      ▪ Graphical User Interface (GUI)       ▪ Ultra Large Scale Integration
      ▪ Groupware                              (ULSI)
      ▪ Information                          ▪ Vacuum tubes
Ref Page 12               Chapter 1: Introduction to Computers           Slide 16/17
BASIC COMPUTER ORGANIZATION
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Learning Objectives
  In this chapter you will learn about:
        ▪ Basic operations performed by all types of computer
          systems
        ▪ Basic organization of a computer system
        ▪ Input unit and its functions
        ▪ Output unit and its functions
        ▪ Storage unit and its functions
        ▪ Types of storage used in a computer system
                                                                 (Continued on next slide)
Ref. Page 15            Chapter 2: Basic Computer Organization              Slide 2/16
                                           Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
     Learning Objectives
(Continued from previous slide..)
                     ▪ Arithmetic Logic Unit (ALU)
                     ▪ Control Unit (CU)
                     ▪ Central Processing Unit (CPU)
                     ▪ Computer as a system
  Ref. Page 15                      Chapter 2: Basic Computer Organization        Slide 3/16
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  The Five Basic Operations of a Computer System
      ▪ Inputting. The process of entering data and instructions
        into the computer system
      ▪ Storing. Saving data and instructions to make them
        readily available for initial or additional processing
        whenever required
      ▪ Processing. Performing arithmetic operations (add,
        subtract, multiply, divide, etc.) or logical operations
        (comparisons like equal to, less than, greater than, etc.)
        on data to convert them into useful information
                                                                 (Continued on next slide)
Ref. Page 15            Chapter 2: Basic Computer Organization              Slide 4/16
                              Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  The Five Basic Operations of a Computer System
      ▪ Outputting. The process of producing useful information
        or results for the user such as a printed report or visual
        display
      ▪ Controlling. Directing the manner and sequence in which
        all of the above operations are performed
Ref. Page 15           Chapter 2: Basic Computer Organization        Slide 5/16
                                 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Basic Organization of a Computer System
                                 Storage Unit
                                  Secondary
                                   Storage
      Program   Input                                   Output     Information
        and      Unit                                    Unit       (Results)
        Data                       Primary
                                   Storage
                                   Control
                                    Unit
                                                                  Indicates flow of
                                                                  instructions and data
                                  Arithmetic                      Indicates the control
                                  Logic Unit                      exercised by the
                                                                  control unit
                        Central Processing Unit (CPU)
Ref. Page 16             Chapter 2: Basic Computer Organization           Slide 6/16
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Input Unit
  An input unit of a computer system performs the
  following functions:
        1. It accepts (or reads) instructions and data from outside
           world
        2. It converts these instructions and data in computer
           acceptable form
        3. It supplies the converted instructions and data to the
           computer system for further processing
Ref. Page 16            Chapter 2: Basic Computer Organization        Slide 7/16
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Output Unit
  An output unit of a computer system performs the
  following functions:
         1. It accepts the results produced by the computer, which
            are in coded form and hence, cannot be easily
            understood by us
         2. It converts these coded results to human acceptable
            (readable) form
         3. It supplies the converted results to outside world
Ref. Page 16            Chapter 2: Basic Computer Organization        Slide 8/16
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Storage Unit
  The storage unit of a computer system holds (or stores)
  the following :
        1. Data and instructions required for processing (received
           from input devices)
        2. Intermediate results of processing
        3. Final results of processing, before they are released to
           an output device
Ref. Page 17            Chapter 2: Basic Computer Organization        Slide 9/16
                                    Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Two Types of Storage
      ▪ Primary storage
               ▪ Used to hold running program instructions
               ▪ Used to hold data, intermediate results, and
                 results of ongoing processing of job(s)
               ▪ Fast in operation
               ▪ Small Capacity
               ▪ Expensive
               ▪ Volatile (looses data on power dissipation)
                                                                      (Continued on next slide)
Ref. Page 17                 Chapter 2: Basic Computer Organization              Slide 10/16
                                           Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
     Two Types of Storage
(Continued from previous slide..)
            ▪ Secondary storage
                   ▪ Used to hold stored program instructions
                   ▪ Used to hold data and information of stored jobs
                   ▪ Slower than primary storage
                   ▪ Large Capacity
                   ▪ Lot cheaper that primary storage
                   ▪ Retains data even without power
  Ref. Page 17                      Chapter 2: Basic Computer Organization        Slide 11/16
                                 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Storage Evaluation Criteria
                                                  Primary        Secondary
    Property              Desirable
                                                  storage         storage
     Storage
                    Large storage capacity          Small            Large
     capacity
   Access Time         Fast access time                Fast          Slow
  Cost per bit of
                      Lower cost per bit               High           Low
     storage
     Volatility          Non-volatile              Volatile      Non-volatile
                                                                   Pseudo-
                                                                   random
                                                  Random
      Access           Random access                              access or
                                                   access
                                                                  sequential
                                                                    access
Ref Page 108         Chapter 7: Processor and Memory                    Slide 15/27
                                 Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Main Memory
      ▪ Every computer has a temporary storage built into
        the computer hardware
      ▪ It stores instructions and data of a program mainly
        when the program is being executed by the CPU.
      ▪ This temporary storage is known as main memory,
        primary storage, or simply memory.
      ▪ Physically, it consists of some chips either on the
        motherboard or on a small circuit board attached to
        the motherboard of a computer
      ▪ It has random access property.
      ▪ It is volatile.
Ref Page 108         Chapter 7: Processor and Memory                    Slide 14/27
                                Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Memory Capacity
      ▪ Memory capacity of a computer is equal to the number
        of bytes that can be stored in its primary storage
      ▪ Its units are:
               Kilobytes (KB)         : 1024 (210) bytes
               Megabytes (MB)         : 1,048,576 (220) bytes
               Gigabytes (GB)         : 1,073,741824 (230) bytes
Ref Page 111        Chapter 7: Processor and Memory                    Slide 20/27
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Random Access Memory (RAM)
      ▪ Primary storage of a computer is often referred to as RAM
        because of its random access capability
      ▪ RAM chips are volatile memory
      ▪ A computer’s motherboard is designed in a manner that
        the memory capacity can be enhanced by adding more
        memory chips
      ▪ The additional RAM chips, which plug into special sockets
        on the motherboard, are known as single-in-line memory
        modules (SIMMs)
Ref Page 112       Chapter 7: Processor and Memory                    Slide 21/27
                              Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Read Only Memory (ROM)
      ▪ ROM a non-volatile memory chip
      ▪ Data stored in a ROM can only be read and used – they
        cannot be changed
      ▪ ROMs are mainly used to store programs and data, which
        do not change and are frequently used. For example,
        system boot program
Ref Page 112      Chapter 7: Processor and Memory                    Slide 22/27
                                  Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Types of ROMs
               Type                                     Usage
                          Data is burnt by the manufacturer
  Manufacturer-programmed
                          of the electronic equipment in
  ROM
                          which it is used.
  User-programmed ROM
             or                     The user can load and store
                                    “read-only” programs and data in
  Programmable ROM
                                    it
  (PROM)
                                    The user can erase information
                                    stored in it and the chip can be
  Erasable PROM (EPROM)             reprogrammed to store new
                                    information
                                                                 (Continued on next slide)
Ref Page 112          Chapter 7: Processor and Memory                       Slide 23/27
                                                Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
     Types of ROMs
(Continued from previous slide..)
                            Type                                      Usage
                                                   A type of EPROM chip in which the
               Ultra Violet EPROM                  stored information is erased by
                   (UVEPROM)                       exposing the chip for some time
                                                   to ultra-violet light
               Electrically EPROM
                   (EEPROM)                        A type of EPROM chip in which the
                               or                  stored information is erased by
                                                   using high voltage electric pulses
                 Flash memory
  Ref Page 113                      Chapter 7: Processor and Memory                    Slide 24/27
                                Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Cache Memory
      ▪ It is commonly used for minimizing the memory-
        processor speed mismatch.
      ▪ It is an extremely fast, small memory between CPU
        and main memory whose access time is closer to the
        processing speed of the CPU.
      ▪ It is used to temporarily store very active data and
        instructions during processing.
      Cache is pronounced as “cash”
Ref Page 113        Chapter 7: Processor and Memory                    Slide 25/27
                              Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Arithmetic Logic Unit (ALU)
      Arithmetic Logic Unit of a computer system is the place
      where the actual executions of instructions takes place during
      processing operation
Ref. Page 18           Chapter 2: Basic Computer Organization        Slide 12/16
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Arithmetic Logic Unit (ALU)
      ▪ One of the two basic components of CPU.
      ▪ Actual execution of instructions takes place in ALU
      ▪ Has some special purpose registers
      ▪ Has necessary circuitry to carry out all the
        arithmetic and logic operations included in the CPU
        instruction set
Ref Page 103       Chapter 7: Processor and Memory                    Slide 6/27
                             Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Control Unit (CU)
      Control Unit of a computer system manages and coordinates
      the operations of all other components of the computer
      system
Ref. Page 18          Chapter 2: Basic Computer Organization        Slide 13/16
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Control Unit (CU)
      ▪ One of the two basic components of CPU
      ▪ Acts as the central nervous system of a computer
        system
      ▪ Selects and interprets program instructions, and
        coordinates execution
      ▪ Has some special purpose registers and a decoder to
        perform these activities
Ref Page 101       Chapter 7: Processor and Memory                    Slide 5/27
                                   Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Central Processing Unit (CPU)
               Arithmetic                                       Central
               Logic Unit       Control Unit         =        Processing
                            +      (CU)
                 (ALU)                                        Unit (CPU)
         ▪ It is the brain of a computer system
         ▪ It is responsible for controlling the operations of
           all other units of a computer system
Ref. Page 18                Chapter 2: Basic Computer Organization        Slide 14/16
                                     Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Basic Processor & Memory Architecture
 of a Computer System
                   ROM                 PROM             Flash
                            Main Memory (RAM)
                                       Cache
                                      Memory
                                                 Accumulato
                      Decode                      r register
                     r                                            I/
                     Program                      General-        O
                  control register             purpose register
                     Instruction                  General-        D
                       register                   purpose         E
                                                  register        V
                     Memory                                       I
                  address register                                C
                  Memory buffer                                   E
                    register                                      S
                   Input/Output
                      register
                    General-                    General-purpose
                 purpose register                  register
                  Control Unit           Arithmetic Logic Unit
                         Central Processing Unit
Ref Page 102   Chapter 7: Processor and Memory                              Slide 3/27
                               Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Central Processing Unit (CPU)
   ▪ The brain of a computer system
   ▪ Performs all major calculations and comparisons
   ▪ Activates and controls the operations of other units of a
     computer system
   ▪ Two basic components are
        ▪ Control Unit (CU)
        ▪ Arithmetic Logic Unit (ALU)
   ▪ No other single component of a computer determines
     its overall performance as much as the CPU
Ref Page 101       Chapter 7: Processor and Memory                    Slide 4/27
                                  Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Instruction Set
      ▪   CPU has built-in ability to execute a particular set of machine
          instructions, called its instruction set
      ▪   Most CPUs have 200 or more instructions (such as add,
          subtract, compare, etc.) in their instruction set
      ▪   CPUs made by        different    manufacturers       have     different
          instruction sets
      ▪   Manufacturers tend to group their CPUs into “families” having
          similar instruction sets
      ▪   New CPU whose instruction set includes instruction set of its
          predecessor CPU is said to be backward compatible with its
          predecessor
Ref Page 103          Chapter 7: Processor and Memory                    Slide 7/27
                              Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Registers
    ▪ Special memory units, called registers, are used to
      hold information on a temporary basis as the
      instructions are interpreted and executed by the CPU
    ▪ Registers are part of the CPU (not main memory) of a
      computer
    ▪ The length of a register, sometimes called its word
      size, equals the number of bits it can store
    ▪ With all other parameters being the same, a CPU with
      32-bit registers can process data twice larger than
      one with 16-bit registers
Ref Page 103      Chapter 7: Processor and Memory                    Slide 8/27
                                      Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Functions of Commonly Used Registers
      Sr.
                 Name of Register                           Function
      No.
                                         Holds address of the active memory
       1       Memory Address (MAR)
                                         location
                                         Holds   contents  of   the        accessed
       2       Memory Buffer (MBR)
                                         (read/written) memory word
                                         Holds address of the next instruction to
       3       Program Control (PC)
                                         be executed
                                         Holds data to be operated upon,
       4       Accumulator (A)
                                         intermediate results, and the results
                                         Holds an instruction while it is being
       5       Instruction (I)
                                         executed
                                         Used to communicate           with the I/O
       6       Input/Output (I/O)
                                         devices
Ref Page 104              Chapter 7: Processor and Memory                    Slide 9/27
                                  Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Processor Speed
      ▪   Computer has a built-in system clock that emits millions of
          regularly spaced electric pulses per second (known as
          clock cycles)
      ▪   It takes one cycle to perform a basic operation, such as
          moving a byte of data from one memory location to
          another
      ▪   Normally, several clock cycles are required to fetch,
          decode, and execute a single program instruction
      ▪   Hence, shorter the clock cycle, faster the processor
      ▪   Clock speed (number of clock cycles per second) is
          measured in Megahertz (106 cycles/sec) or Gigahertz (10 9
          cycles/sec)
Ref Page 105          Chapter 7: Processor and Memory                    Slide 10/27
                                Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  The System Concept
      A system has following three characteristics:
          1. A system has more than one element
          2. All elements of a system are logically related
          3. All elements of a system are controlled in a manner to
             achieve the system goal
      A computer is a system as it comprises of integrated
      components (input unit, output unit, storage unit, and CPU)
      that work together to perform the steps called for in the
      executing program
Ref. Page 18             Chapter 2: Basic Computer Organization        Slide 15/16
                                Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
  Key Words/Phrases
   ▪   Arithmetic Logic Unit (ALU)            ▪   Output interface
   ▪   Auxiliary storage                      ▪   Output unit
   ▪   Central Processing Unit (CPU)          ▪   Outputting
   ▪   Computer system                        ▪   Primate storage
   ▪   Control Unit (CU)                      ▪   Processing
   ▪   Controlling                            ▪   Secondary storage
   ▪   Input interface                        ▪   Storage unit
   ▪   Input unit                             ▪   Storing
   ▪   Inputting                              ▪   System
   ▪   Main memory
Ref. Page 19             Chapter 2: Basic Computer Organization        Slide 16/16
                                     Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
 Key Words/Phrases
      ▪   Accumulator Register (AR)           ▪ Flash Memory
      ▪   Address                             ▪ Input/Output Register (I/O)
      ▪   Arithmetic Logic Unit (ALU)         ▪ Instruction Register (I)
      ▪   Branch Instruction                  ▪ Instruction set
      ▪   Cache Memory                        ▪ Kilobytes (KB)
      ▪   Central Processing Unit (CPU)       ▪ Main Memory
      ▪   CISC (Complex Instruction Set       ▪ Manufacturer-Programmed ROM
          Computer) architecture              ▪ Megabytes (MB)
      ▪   Clock cycles                        ▪ Memory
      ▪   Clock speed                         ▪ Memory Address Register (MAR)
      ▪   Control Unit                        ▪ Memory Buffer Register (MBR)
      ▪   Electrically EPROM (EEPROM)         ▪ Microprogram
      ▪   Erasable Programmable Read-         ▪ Multi-core processor
          Only Memory (EPROM)                 ▪ Non-Volatile storage Processor
      ▪   Explicitly Parallel Instruction     ▪ Program Control Register (PC)
          Computing (EPIC)                    ▪ Programmable Read-Only Memory
      ▪   Fixed-word-length memory              (PROM)
                                              ▪ Random Access Memory (RAM)
                                                                    (Continued on next slide)
Ref Page 114             Chapter 7: Processor and Memory                       Slide 26/27
                                                Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
     Key Words/Phrases
(Continued from previous slide..)
            ▪ Read-Only Memory (ROM)
            ▪ Register
            ▪ RISC (Reduced Instruction Set Computer)
              architecture
            ▪ Single In-line Memory Module (SIMM)
            ▪ Ultra Violet EPROM (UVEPROM)
            ▪ Upward compatible
            ▪ User-Programmed ROM
            ▪ Variable-word-length memory
            ▪ Volatile Storage
            ▪ Word length
            ▪ Word size
  Ref Page 114                      Chapter 7: Processor and Memory                    Slide 27/27