Saturday, August 30, 2014

1.1.5 HARDWARE & SOFTWARE

Hardware
Def:
  The physical, tangible parts of the computer are known as the hardware.

Hardware can be broadly categorized into four:
a)      Input Devices
b)     Processor Devices
c)      Output Devices
d)     Storage Devices

Input Devices:

1.      Keyboard:   It is the main Input Device attached to our system to instruct the computer to what to do and also used for typing purpose.

 Fig 06: Keyboard

Its typing alphabets are similar to that of type writer but it has some optional keys which are
F Functional Keys
F Cursor Control Keys
F Numeric Key Pad
F Shift Keys
F Enter, Pause, Tab, Esc, Print Screen, Delete, Back Space etc.

2.      Mouse: A mouse is a hand held pointing Device that allow user to control computer System without typing any command or Instruction from the Keyboard.  It has three main parts
F Left Click
F Right Click
F Scroll Bar
 
                     Fig 07:  Mouse

3.      Scanners:   A scanner is a device that can transfer an image of a photograph or written information to the computer. It acts like a photocopy machine. Just Instead of making another copy of it on to the paper, it stores it in the computer. Scanner can scan typed, handwritten text, graphs, diagrams and photographs.

Fig 08: Scanner.

Processor Device:
C.P.U. (Central Process Unit) :
It is regarded as brain of Computer. The CPU provides the fundamental commands and instructions for the environment of the Computer.

The major components of CPU are
F Arithmetic Logic Unit (ALU)
F Control Unit (CU)
F Memory Unit.

Fig 09: Block Diagram

  1. Arithmetic Logic Unit:  The Arithmetic logic unit performs arithmetic operations such as Addition, Subtraction, Multiplication and Division etc and some logical operations like comparison of Values.
  2. Control Unit  Control Unit directs and coordinates the activities of the entire computer which include controlling the Input/Output units, the operations of ALU and transfer the data from the main memory
  3. Memory Unit: The data and Instruction that are entered into the system has to be stored inside the computer before the actual processing takes place. Similarly the final result produced by the computer also has to be stored before they passed to the output unit.

Output Devices:

1.      V.D.U. (Visual Display Unit):  It is also called Monitor. It works like a Television, displaying text characters and graphics in color. The image that we see at the screen of Monitor is made up of Tiny Dots called Pixels. It is made up of C.R.T. (Cathode Ray Tube) is similar to Picture tube in Television Sets. Modern Monitors are made up of L.C.D. (Liquid Crystal Display) screen.

2.      Printers:  A hardware device that produce text or graphics output. Printers are grouped broadly into either Impact or Non-Impact printers
F Impact Printers: A printer that has direct mechanical contact with the print medium (Paper) to create an image. Example:  Dot Matrix, Daisy Wheel
F Non-Impact Printers: The printer that does not have direct contact with the print medium falls under this category. Example: Inkjet Printers, Laser Printers

Storage Device:

1.      Floppy disk:   A floppy disk is used to store data permanently. It has a flexible disk coated with magnetic material and is enclosed in a plastic cover. Floppy disks of 3 ½ inch diameter have a storage capacity of 1.44MB. The FDD (floppy disk drive) has a read/write head which reads/writes data on to the disk. The disk rotates at 360rpm while reading or writing on to it. Figure below shows the floppy disk.   
              Data are stored in a floppy disk in concentric circles known as tracks. Tracks are divided into many storage locations called sectors. Tracks and sectors on a disk are identified by the disk drive through formatting. Formatting is a process by which the operating system program controls the disk drives by removing the old data and sets up each track and sector. The root directory will be created in the disk during formatting and the users create other directories. Information is stored in the form of files. A file allocation table (FAT) is used by the operating system to identify the files stored in the disk.

 Fig 10: Floppy disk

2.      Hard Disk: Hard disk is a reliable and permanent storage disk. It has a set of metal disks coated with magnetic material and are mounted on a central spindle which rotates at 7200 rpm. The HDD has a set of read/write heads which are mounted on an arm. Latest hard disks are available with a storage capacity of more than 40GB.  A hard disk has a collection of several (say 6 or 7) hard disk platters staked one above another to have a high storage capacity.
          A collection of tracks across all the disks is called cylinder. In order to read a specified file, the access mechanism with the head moves to the specified cylinder.
         The advantages of a hard disk are high storage capacity, high speed of operation and reliable media mainly in personal computers. External disturbances to the drive may lead to the damage of disk surface or read/write head. This is a major disadvantage in a hard disk.     

Fig 11: Hard disk

3.      CD ROM: Compact Disk (CD) is an optical disk used to store data permanently. It is the most reliable storage media available today. Data stored on a compact disk cannot be erased. The CD drives commonly available are read only. Read/Write CD drives are also available but are expensive. Storage capacity of CD is 700MB. Figure shows a CD-ROM.
      In the optical disk, a high power laser beam is used to record data by burning tiny pits in the surface of the hard plastic disk. To read the data, a low power laser beam is used to scan the disk surface. When the laser beam reflects from the smooth surface of the disk it is interpreted as a 1 bit and when the beam enters the tiny pits it is interpreted as a 0 bit.
     The major advantages of the optical disk are high storage capacity and high quality recording of graphical images and sound. These are used commonly nowadays. CAD and structural drawings used by architects and engineers are generally stored in compact disks. It is also used in high quality music recording, multimedia and educational applications.

 Fig 12: CD-ROM

 
*****
Components of a personal computer:
A personal computer commonly available  today comprises a processor (like Pentium IV), a keyboard, a mouse, a floppy disk drive(FDD), a hard disk drive(HDD), a compact disk drive (CDD) a color monitor, RAM(Random Access Memory) and ROM(Read Only Memory). The microprocessor/CPU, RAM, ROM and other supporting circuitry are interconnected on a single board called mother board.
*****

Software:
Def:
  The set or series of instructions given by user, called program, used to run the hardware, is known as software.  

The following are the two major categories of software under which different types of computer programs can be classified:
·         System software
·         Application software

Fig 13: Layered Architecture

The figure shows a layered architecture, which represents different components of a computer such as hardware, system software, application software, and user in a hierarchical manner.

System Software
Ø  System software refers to a computer program that manages and controls hardware components of a computer system.
Ø  The system software is also responsible for the proper functioning of the application software on a computer system.
Ø  The system software includes general programs, which are written to provide an environment for developing new application software using programming languages.
Ø  The following are the various functions of system software:
o   Process management
o   Memory management
o   Secondary storage management
o   I/O system management
o   File management

Application Software
Ø  Application software is a computer program that is executed on the system software.
Ø  It is designed and developed for performing specific tasks and is also known as end-user program.
Ø  There are six basic types of application softwares:
o   Business software: word processors, spreadsheets, database programs
o   Communication software: allows computers to communicate with other computers like fax software, Novell Netware, AOL, Modem software
o   Graphics software: software that allows users to create and manipulate graphics like Photoshop, Print Shop, etc.
o   Education and Reference software: programs that help teach new material and ideas, and programs that can be used to find information like Encarta, Wordbook Encyclopedia, Jumpstart Kindergarden,etc.
o   Entertainment and Leisure software: like War craft, Age of Empires, Barbie Design Center, Packman, Solitaire, etc.
o   Integrated software: combines several types of software into one program or package like Quicken(Spreadsheet/database/communication/reference) or PrintShop(Graphics/Word processor)

Monday, August 25, 2014

1.1.4 CLASSIFICATION OF COMPUTERS


Computers are classified into various types based on historical development (computer generation), purpose, technology used, and size & storage capacity. The following figure illustrates the classification of computers based on different criteria.
 
Classification of computer based on
 

Fig 04: classification of computer based on different criteria

 
Historical Development (Computer Generations):

First Generation Computers (1940-1956) Vacuum Tubes
·         The first business computer was developed in the year 1951 by U.S. Census Bureau. This computer was called Universal Automatic Computer (UNIVAC).
·         The computers that used vacuum tube circuits were called the First Generation computers.
·         The vacuum tube circuits contained a filament that was heated to emit electrons.

Outstanding features:
1.      Very expensive
2.      Bulky in size and occupied a lot of space
3.      Magnetic core memories
4.      Main application areas were scientific computation, record keeping, pay roll processing etc.
5.      Processor speed measured in milliseconds.

Second Generation Computers (1956-1963) Transistors
·         Bell labs of USA invented transistors that were used in place of vacuum tubes.
·         Transistors are electronic circuits that are small in size and do not require any heating for emitting electrons.

Outstanding features:
1.      Smaller in size in comparison with the previous generation and generated less heat.
2.      Internal storage capacity was increased and processor speed measured in microseconds.
3.      Magnetic core memories as primary storage.
4.      Machines started to evolve as series rather than standalone processors.
5.      More reliable and less prone to errors.

Third generation computers (1964-1971) Integrated Circuits
·         These used Large Scale Integrated (LSI) circuits for processing.
·         LSI circuits integrate several circuits’ components into a single chip.

Outstanding features:
1.      Smaller in size
2.      Significant improvement in cost performance factor.
3.      Could be commercially produced at cheaper rates.
4.      Processor speeds measured in nano seconds.
5.      Portable.
6.      The use of high level languages e.g. COBOL, FORTRAN and PL/1.
7.      Disk used as backing store medium.
8.      Complex and sophisticated technology used for CPU design.

Fourth Generation Computers (1971-Present) Microprocessors
·         Very Large Integrated (VLSI) chips were invented in the year 1969.
·         The introduction of standard architecture helped in greater mobility of systems.

Outstanding features:
1.      Very small in size and very reliable and cheaper.
2.      Development of microprocessor based technology.
3.      Semiconductor memory used.
4.      Sophisticated systems software.
5.      Personal and home computers availability.
6.      Complex and sophisticated technology used for CPU design.
 
Fifth Generation Computers (Present and Beyond) Artificial Intelligence
·         Recent research has focused on developing ‘thinking computers’ i.e. artificial intelligence.
·      These will have VVLSI (Very Very Large Integration) technology with sophisticated operating system interface capability. These computers will have KIPS (Knowledge Information Processing System).
In reality we have entered the era of generation less computers because no single innovation is, or will be, good enough to name another generation of computers.

 
Classification By Purpose:
There are some needs that are specified to a particular environment or a particular user whereas, there are many needs that are desired by every user of the computer. Depending upon the purpose of use, the computers can be general purpose or special purpose.

General Purpose Computers
·         General purpose computers are the computers that can be used for all general needs of all environments and users.
·         These are the versatile computers that can perform a variety of jobs for all types of environments. 
·         The programs or instructions are fed to them and at the time of execution these computers process these instructions and produce meaningful results.
·         For example, a personal computer that is capable of calculating accounts data, preparing students result, designing broachers, writing letters, accessing Internet or playing games is a general purpose computer.

Special purpose computers:
·         Special purpose computers are the computers that are specially designed to perform a specific environment.
·         These are designed for performing a particular task and cannot perform other tasks.
·         These computers are not versatile.
·         The instructions used by these computers are generally embedded in various automatic devices.
·         For example, a computer designed to display the path and trajectory of a missile can be only used for this purpose and we cannot use it for playing games. A computer that has been designed to count the telephone call pulses and the amount to be paid can only serve this purpose. We cannot use it for designing and word processing.

 
Classification By Technology Used
According to the technology used, computers are of following three types:
1.      Digital computers
2.      Analog computers
3.      Hybrid computers

Digital Computers:
·         Digital computers are mainly general purpose computers that represent and store data in discrete quantities or numbers.
·         In these computers, all processing is done in terms of numeric representation (binary digits) of data and information.
Although the user enters the data in decimal or character form, it is converted into binary digits (0s and 1s).
·         For example: PC, Laptop etc.

PCs (Microcomputers) are of several types: desktop PCs, tower PCs, laptops ( or notebooks) and personal digital assistants- handheld computers or palmtops.
Desktop PCs are those in which the case or main housing sits on a desk, with keyboard in front and screen (monitor) often on top.
Tower PCs are those in which the case sits as a “tower”, often on the floor beside a desk, thus freeing up desk surface space.
Notebook computers, also called laptop computers, are light weight portable computers with built-in-monitor, keyboard, hard disk drive, battery, and AC adapter that can be plugged into an electrical outlet. They weigh anywhere from 720 gms to 3.6 Kgs.
Personal digital assistants (PDAs), also called handheld computers or palmtops, combine personal organization tools- schedule planers, address books, to-do lists- with the ability in some cases to send e-mail and faxes. Some PDAs have touch sensitive screens. Some also connect to desktop computers for sending or receiving information.

Analog Computers:
·         Analog computers are special purpose computers that represent and store data in continuously varying physical quantities such as current, voltage or frequency.
·         These computers are programmed for measuring physical quantities like pressure, temperature, speed, etc., and to perform computations on these measurements.
·         Analog computers are mainly used for scientific and engineering applications.
 
Some of the examples of Analog computers are given below:
Thermometer: It is a simple analog computer used to measure temperature. In thermometer, the mercury moves up or down as the temperature varies.
Speedometer: Car’s speedometer is another example of analog computer where the position of the needle on dial represents the speed of the car.

Limitations of the Analog computer:
  1. These do not have logical facilities afforded by programming.
  2. They do not have the ability to store data in large quantities.
  3. Cost of implementation of computation ios very high.
Hybrid computers:
·         Hybrid computers incorporate the technology of both analog and digital computers.
·         These computers store and process analog signals which have been converted into discrete numbers using analog to digital converters.
They can also convert the digital numbers into analog signals or physical properties using digital to analog converters.
·         Hybrid computers are mainly used in artificial intelligence (robotics) and computer aided manufacturing (e.g., process control).
·         For example, money counting machine and Automated Teller Machine (ATM).

 
Classification by Size and Capacity:
Computers are classified into different types depending on the memory size, cost and processing speed.


Fig 05: Classification of computers on the basis of memory size, cost and processing capabilities

 
The performance of a computer involves speed of processing data, storage capacity and ability to handle input and output devices.

Microcomputers:
  • Microcomputers are also called personal computers (PCs) and use microprocessor as its CPU, a memory unit, and input device and an output device.
  • They are small in size. Also, they do not have large storage capacities. The word length of a microcomputer lies in the range 8-32.
  • They can perform difficult task. They are used for general purpose calculations, industrial control, home appliances, desktop publishing, graphics designing and project management.
  • These are of two types- Desktops and Portables.
  • Few examples are IBM PC, PS/2, Apple II and Macintosh.
Minicomputers:
  • Minicomputers are faster and more powerful than microcomputers. Their word length is 32 bits (word length means number of bits in a computer word).
  • These computers can perform more complex tasks and cost more than microcomputers.
  • They are larger in size and their storage capacity is small to medium.
  • They are used for payroll preparation, accounting and scientific computation, controlling and monitoring production processes.
  • Few examples are VAX 11, PDP11/42 and WIPRO LANDMARK 860 etc.
Mainframes:
  • These are more powerful than minicomputers. Their word length may be 48, 60 or 64 bits.
  • They have high processing speeds and can store large amounts of data.
  • They are used in research organizations, large industries, large business and government organizations, banks and airline reservations where large database is needed. However, these computers consume more electricity.
  • Few examples are IBM 2000 series and UNIVAC 1180.
Super Computers:
  • These are the largest and fastest computers. Their word length is 64-96 bit. They are also the costliest.
  • A super computer has a number of CPUs which operate in parallel to make it faster.
  • They are used for massive data processing and solving very sophisticated problems i.e., in the fields of science and defense, designing and launching missiles, weather forecasting, biomedical research, aircraft design and automobile design.
  • Few examples are CRAZY 3, HITAC S-300 etc. India has a series of super computers called PARAM developed by C-DAC and ANURAG. Wipro InfoTech has developed Supernova computers.