cs101_lec04

Upload: fahad-nabeel

Post on 14-Apr-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 Cs101_Lec04

    1/40

    CS101 Introduction to Computing

    Lecture 4Computer Systems

  • 7/27/2019 Cs101_Lec04

    2/40

    During the Second Lecture

    We talked about the evolution of computers

    How initial computers were mechanical, and

    then came electro-mechanicals, then tube-based, and finally transistorbased, and howthe future belongs to quantum computers

    We discussed how the size is drasticallydecreasing with time and how theircapabilityis increasing year by year

  • 7/27/2019 Cs101_Lec04

    3/40

    Todays Goal

    1. To learn to classifycomputers accordingto theircapability and targetedapplications

    2. To find out about the essential buildingblocks that make up a modern computer

  • 7/27/2019 Cs101_Lec04

    4/40

    Computer Types According to Capability

    Supercomputers

    Mainframes

    Servers

    Desktops

    Portables

  • 7/27/2019 Cs101_Lec04

    5/40

    Supercomputers (1)

    State-of-the-art machines designed to perform

    calculations as fast as the current technology allows

    Used to solve extremely complex and large-scaleproblems: weather prediction, simulation of atomic

    explosions; aircraft design; movie animation

    Cost tens of millions of dollars

    Unique in that unlike mainframes &personal computers, designed to focusall their resources and capabilities on a

    single task at a time

  • 7/27/2019 Cs101_Lec04

    6/40

    Supercomputers (2)

    Early supercomputers used a single or a fewprocessors working in parallel

    Those processors were custom-built for the

    supercomputers, and were, therefore, veryexpensive

    Modern supercomputers use the sameprocessors that are used in desktop PCs.They, however, are designed to use 1000s

    of them working together in parallel

  • 7/27/2019 Cs101_Lec04

    7/40

    Why use many not-so-

    powerful processorsworking in parallel

    Why not just design a

    single, really powerfulprocessor

    Post your answers on the CS101 message board

    ?

    ?

  • 7/27/2019 Cs101_Lec04

    8/40

    The Champion:ASCI White

    Most powerful computer as of February 2002

    Capable of12.3 trillion calculations/sec 74,000 times faster than Cray 1 (1976)

    1,000 times faster than Deep Blue (1997)

    Designed forcomplex 3-D simulationsrequired for testing nuclear weapons

    Powered by 8192 microprocessors

    6 TB of memory; 160 TB of storage capacity

  • 7/27/2019 Cs101_Lec04

    9/40

    Mainframe Computers (1)

    Also called Enterprise Servers

    Designed for performing multiple, intensive

    tasks formultiple users simultaneously

    Used by large businesses (e.g. banks, e-commerce sites), military, and industrial

    organizations

  • 7/27/2019 Cs101_Lec04

    10/40

    Mainframe Computers (2)

    Designed forvery-high reliability

    Can be serviced/upgraded while in operation

    Generally consist ofmultiple processors,GBs of memory, and TBs of storage

    Cost in millions of dollars

  • 7/27/2019 Cs101_Lec04

    11/40

    Servers/Minicomputers (1)

    The name minicomputers used to definethe class of computers that lies betweenpersonal computers and mainframes

    Then very high-end desktop computers called low-end or mid-range servers

    took over the role that was previouslyplayed by minicomputers

  • 7/27/2019 Cs101_Lec04

    12/40

    Servers/Minicomputers (2)

    Low-end and mid-range servers are used bysmall businesses and organizations as file-stores, to run e-mail systems and Web sites

    Generally are more reliable than desktops, butnot as solid as the mainframes

    Generally consist of2 or more processors,

    GBs of memory, and TBs of storage

    Costs in hundreds of thousands of dollars

  • 7/27/2019 Cs101_Lec04

    13/40

    Desktop Computers (1)

    Also called microcomputers

    Low-end desktops are called PCs and high-end

    ones Workstations

    Generally consist of a single processor only,

    some times 2, along with MBs of memory, andGBs of storage

  • 7/27/2019 Cs101_Lec04

    14/40

    Desktop Computers (2)

    PCs are used for running productivityapplications, Web surfing, messaging

    Workstations for more demanding tasks like

    low-end 3-D simulations and other engineering& scientific apps

    Are not as reliable and fault-tolerant as servers

    Workstations cost a few thousand dollars; PC

    around a $1000

  • 7/27/2019 Cs101_Lec04

    15/40

    Mobile Computers (1)

    Laptops, palmtops, and wearable computers arevery capable computers but are light-weight andconsume very little power

    Laptops (also called notebook computers) generallyweigh around 2kg, use special low-powerprocessors, typically have 256MB memory, 40GB ofstorage, can work for more than 2 hours on battery

    Theirusage is similar to that of PCs

    They cost in the range of $1500-2500

  • 7/27/2019 Cs101_Lec04

    16/40

    Mobile Computers (2)

    Palmtops, also known as PDAs - Personal DigitalAssistants

    Weigh less than a pound, have very low-power

    processors, KBs of memory, MBs of storage capacity

    Can run for many hours onAA batteries

    Used as an electronic version of a pocket diary. Alsofor Web surfing and e-mail or even as mobile phones

    Palmtops cost $200-600

  • 7/27/2019 Cs101_Lec04

    17/40

    Mobile Computers (3)

    Wearables are small in size, carried in a pocket,worn on the arm, waist, or head or elsewhereon the body

    Capability similar to PDAs, but more expensive

    They are always ON, and always accessible.That is, the user can always enter and execute

    commands, even while walking around or doingother activities

    Each soldier of the future will be fitted with one

  • 7/27/2019 Cs101_Lec04

    18/40

    Click here to view the picture

    of a wearable computer

    http://localhost/var/www/apps/conversion/tmp/scratch_2/wearable%20computerhttp://localhost/var/www/apps/conversion/tmp/scratch_2/wearable%20computerhttp://localhost/var/www/apps/conversion/tmp/scratch_2/wearable%20computerhttp://localhost/var/www/apps/conversion/tmp/scratch_2/wearable%20computer
  • 7/27/2019 Cs101_Lec04

    19/40

    Ranking w.r.t. installed number

    PCs

    PDAs

    Workstations

    Servers

    Wearables (will take the top spot in future)

    Mainframes Supercomputers

  • 7/27/2019 Cs101_Lec04

    20/40

    Now that we have learnt about the varioustypes of computers and about theirtypical

    applications, lets move on to a new topic

    Lets now find out about the essential

    components that are present in every typeof computers

  • 7/27/2019 Cs101_Lec04

    21/40

    At the highest level, two thingsare required for computing

    Hardware: The physical equipment in acomputing environment such as the

    computer and its peripheral devices(printers, speakers, etc.)

    Software: The set of instructions thatoperates various parts of the hardware.Also termed as computer program

  • 7/27/2019 Cs101_Lec04

    22/40

    Well have a lot to say about softwareduring the duration of this course

    However, for the rest of todays

    discussion, lets concentrate on hardware

    All t h th f ll i

  • 7/27/2019 Cs101_Lec04

    23/40

    All computers have the followingessential hardware components:

    Input the component through which a userinstructs acomputer about what to do

    Processor the engine that processes the instructions

    given by the user

    Memory where the processor stores information that isrequired during its computations

    Storage where information that is required to be usedmuch lateris stored

    Output the component that communicates the results

    of a computation to the user

  • 7/27/2019 Cs101_Lec04

    24/40

    There is another quite essential componentthat is present in every computer

    ????

  • 7/27/2019 Cs101_Lec04

    25/40

    The Bus!

  • 7/27/2019 Cs101_Lec04

    26/40

    Keyboard Mouse

    PrinterMemory

    HardDisk

    Memory

    Bus

    System Bus

    Monitor

    CompactDisk

    Processor

    IntegerUnit

    ControlUnit

    CacheMemory

    FloatingPointUnit

  • 7/27/2019 Cs101_Lec04

    27/40

    Input Devices

    Mouse Keyboard

    Joystick

    Camera Microphone

    Scanner

  • 7/27/2019 Cs101_Lec04

    28/40

    Whats a

  • 7/27/2019 Cs101_Lec04

    29/40

    Port

    The connection point at which we connectinput and output devices to a computer

  • 7/27/2019 Cs101_Lec04

    30/40

    Many Types of Ports

    1. Parallel2. Serial

    3. SCSI

    4. USB

    5. Firewire

  • 7/27/2019 Cs101_Lec04

    31/40

    Processor

    Pentium Celeron

    Athlon

    PowerPC StrongARM (PDA)

    Crusoe (Laptops)

    SPARC (Workstations)

  • 7/27/2019 Cs101_Lec04

    32/40

    Memory/Storage

    RAM Punch cards

    ROM

    Hard disk Floppy disk

    Tape

    CD

    DVD

  • 7/27/2019 Cs101_Lec04

    33/40

    Classifying Memory/Storage

    Electronic (RAM, ROM)magnetic (HD, FD, Tape),optical (CD, DVD)

    Volatile (RAM), non-volatile (HD)

    Direct access (RAM, HD), serial access (Tape)

    Read/write (HD, RAM), read-only (CD)

  • 7/27/2019 Cs101_Lec04

    34/40

    Output Devices

    Printer

    Plotter

    Speakers

    Monitor

  • 7/27/2019 Cs101_Lec04

    35/40

    input device or output device?

  • 7/27/2019 Cs101_Lec04

    36/40

    modem

  • 7/27/2019 Cs101_Lec04

    37/40

    modulatordemodulatorom d e m

  • 7/27/2019 Cs101_Lec04

    38/40

    Modem is an example of a devicethat acts both as an input as well

    as an output device

    Can you think of any other such dual-purpose devices?

    Network cared

    Touch screens

    Wh t h l t t d ?

  • 7/27/2019 Cs101_Lec04

    39/40

    What have we learnt today?

    What are the various types of computerswith respect to theirsize, capability,applications (FIVE TYPES)

    The five essential components of anycomputer are input devices, processor,memory, storage and output devices

    N t ti ll fi d t b t

  • 7/27/2019 Cs101_Lec04

    40/40

    Next time well find out about

    1. What are the major building blocksof a modern personal computer?

    2. How those building blocks are puttogether to form a PC?