computer hardware (lecture#2)

Upload: usmanchaudhry

Post on 01-Jun-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 Computer Hardware (Lecture#2)

    1/62

    Lecture # 2

    ComputerHardware

  • 8/9/2019 Computer Hardware (Lecture#2)

    2/62

    Computers are all around!

    Grocery store

    Schools

    Libraries Bank

    Mail

    Malls

    We interact with computers everyday!We interact with computers everyday!

  • 8/9/2019 Computer Hardware (Lecture#2)

    3/62

    A computer is an electronic device,operating under the control of

    instructions (software) stored in itsown memory unit, that can acceptdata (input), manipulate data

    (process), and produce information(output) from the processing.enerally, the term is used to descriea collection of devices that functiontogether as a system.

    Computer "ystem

  • 8/9/2019 Computer Hardware (Lecture#2)

    4/62

    A computer can convert data into information that is

    useful to people.

    A complete computer system includes four distinctparts:

    Hardware

    Software

    Data

    User

    A computer is an electronic device used to process data.

    Computer "ystem

  • 8/9/2019 Computer Hardware (Lecture#2)

    5/62

    Understanding Computer

    A computer is aprogrammable

    machine thatreceives input, stores

    andmanipulates

    data/information,and provides outputin a useful format.

  • 8/9/2019 Computer Hardware (Lecture#2)

    6/62

  • 8/9/2019 Computer Hardware (Lecture#2)

    7/62

    ardware All the machinery

    and e$uipment ina computer

    system

    "oftware

    All the instructionsthat tell thecomputer how toperform a tas%

    Computers consist of

    hardware and software.

    &f you can touch it, it'shardware

    http://www.ieee.org/http://www.acm.org/http://www.acm.org/http://www.ieee.org/
  • 8/9/2019 Computer Hardware (Lecture#2)

    8/62

  • 8/9/2019 Computer Hardware (Lecture#2)

    9/62

    and n

    Computers only recogni*e o and on,li%e a light switch

    +hese switches are represented asinary digits or bits

    &nstructions and data are composedonly of a series of its

  • 8/9/2019 Computer Hardware (Lecture#2)

    10/62

    -hy &s A Computer "o owerful/

    +he aility to perform the information processingcycle with ama*ing speed.

    0eliaility (low failure rate).

    Accuracy.

    Aility to store huge amounts of data andinformation.

    Aility to communicate with other computers

  • 8/9/2019 Computer Hardware (Lecture#2)

    11/62

    ow 1oes a Computer now what to

    do/

    &t must e given a detailed list ofinstructions, called a compute program,algorithmsor software, that tells ite3actly what to do.

    4efore processing a speci5c 6o, thecomputer program corresponding to that

    6o must e stored in memory.

    nce the program is stored in memory thecomputer can start the operation ye3ecuting the program instructions oneafter the other.

  • 8/9/2019 Computer Hardware (Lecture#2)

    12/62

    -hat Are +he rimary Componentsf A Computer /

    &nput devices.

    Central rocessing 7nit (containing the controlunit and the arithmetic8logic unit).

    9emory. utput devices.

    "torage devices.

  • 8/9/2019 Computer Hardware (Lecture#2)

    13/62

    &nput rocess utput

    1ata&nformation

    "torage

    ow a Computer "ystem -or%s

  • 8/9/2019 Computer Hardware (Lecture#2)

    14/62

    :unction of Computer "ystem

    Data handling

    nput

    rocess

    " "utputS Storage

  • 8/9/2019 Computer Hardware (Lecture#2)

    15/62

    0100101001101010

    011011111000111110000000

  • 8/9/2019 Computer Hardware (Lecture#2)

    16/62

    and n

    Computers only recogni*e o and on,li%e a light switch

    +hese switches are represented asinary digits or bits

    &nstructions and data are composedonly of a series of its

  • 8/9/2019 Computer Hardware (Lecture#2)

    17/62

    A binary digit bit! is the smallest unit ofinformation that your computer canprocess.

    A bit can be either "on! or #o$!.

    A%C&&is a common coding system used to

    represent all characters, symbols andnumbers in binary form.

    &n A%C&& a group of ' bits is called a byte.

    A01-A0;< =our hysical &nterface

  • 8/9/2019 Computer Hardware (Lecture#2)

    18/62

    ()ample*#&f you type coolon the +eyboard, your

    +eyboard would change it into four bytes asfollows*

    #"####"" #"##"""" #"##"""" #"##""## C o o l

    A01-A0;< =our hysical &nterface

  • 8/9/2019 Computer Hardware (Lecture#2)

    19/62

    4ytes

    ;ight its form a single yte# >??@@??@@ is ne 4yte of &nformation

    4yte Balues