Professional Documents
Culture Documents
Unit. Input / Output devices: keyboard, mouse, light pen, barcode readers, scanners, MICR, OCR,
voice recognition and handwriting recognition systems; visual display terminals, printers, plotters
etc. Storage devices: Primary storage – RAM, ROM, EEROM, PROM, EPROM; Secondary storage –
direct access devices, serial access devices: hard disks, floppy disks, magnetic tape, CD-ROM, DVD;
Cache memory and Virtual memory. Central Processing Unit – Control Unit; Arithmetic and Logic
Unit; Decoders; Registers; Machine Instructions; Stored program concept; Program execution: Fetch-
Decode-Execute cycle; Arithmetic, logical and shift operations.
Input unit
Input is a process by which data and instructions are entered into a computer system from the
external world. Input Unit performs these tasks. It passes input information to the computer in
a computer compatible form. Input information may be programs or data, Keyboard, Punch
Card, Floppy Disk, Mouse, Joystick, Analog to Digital Converter (ADC) are some examples
of Input Devices. Computer works on binary codes.
Functions of the input unit:
(c) It sends the converted data and instructions to the computer system for processing.
Input devices:
A device that converts our information to a form which computer understands is known as an
Input Device. Some input devices are listed below:
(c) It can create some special additional symbols called extended character set which are not
available in the typewriter keyboard.
The number of keys varies in different keyboards e.g. the windows '95 keyboard has 104/105 keys
but nowadays, keyboards with 111/112 keys or above are available. Some keyboards can be folded
right through the center to ensure less space while using it. This type of keyboards are called
Ergonomically Designed Keyboards.
a) Mouse: The keyboard suffers from a lot of drawbacks at the time of using in the
windows environment. For this, the mouse is preferred as it is generally used in Graphical
User Interface (GUI) environment. The mouse is basically rectangular or oval shaped object,
which can be held by hand and made to roll on a flat surface with the help of a ball
underneath it. When in use, a small arrow-mark, known as mouse pointer, denoted by
appears on the screen and it can be made to move in any direction as the mouse is rolled.
There can be two types of mouse; (a) Normal Mouse which remains connected with the
computer by means of a chord, and (b) Remote Controlled Mouse or Tail less Mouse which
is used by remote control.
b) Light Pen: This pen shaped device allowing natural movement on the screen. The
pen contains the light receptor and is activated by pressing the pen against the display
screen. Receptor is the scanning beam which helps in locating the pen’s position. Suitable
system software is provided to initiated necessary action when we locate an area on the
display surface with the help of the light pen.
(iii) Joystick: It has a lever-like structure, which can be rotated in any direction on a fixed flat base.
The movement of the lever controls the movement of an object on the screen. There may be one or
more buttons on the joystick, which are used to perform special functions. Generally, the joystick is
used for playing games in the computer. It finds another important use in the flight simulator
software, which is used, for training pilots.
b) Optical Character Reader (OCR) : It is a special type of scanner which is popularly used
for scanning alphabetic, numeric and alpha-numeric symbols written using normal ink on
plain paper. This avoids data miss-entry and errors that may occur due to normal entry. It is
popularly used in banks for reading the current status of passbooks.
c) Optical Bar Code Reader (OBR) : It scans a set of vertical bars of different widths for
specific data and are used to read tags and merchandise in stores, Books, medical records etc.
These are available as hand held device.
d) Magnetic Ink Character Reader (MICR) : It is popularly used in banks for verifying
important documents like drafts, cheques, etc. At the bottom side of such documents, a set of
symbols is printed with magnetized ink. When inserted into the MICR, the MICR induces a
magnetic field over the document.
v) Scanners: Scanners facilitate capturing of information and storing them in graphic or textual
format for displaying on the graphical screen. Scanners consists of two components the first one to
illuminate the page so that optical image can be captured and the other to convert the optical image
into digital format for storing by computer. The graphic or textual image/matter can be seen and
processed directly by the computer.
Some famous examples of voice recognition assistants are Apple’s Siri, Microsoft’s
Cortana, Google Home, and Amazon’s Echo and Amazon's Alexa.
The voice recognition system detects voice and extracts analog signals (the words we
speak) into digital signals (that computers interpret)..
Handwriting recognition (HWR), also known as handwritten text recognition (HTR), is the
ability of a computer to receive and interpret intelligible handwritten input from sources such
as paper documents, photographs, touch-screens and other devices. The image of the written
text may be sensed "off line" from a piece of paper by optical scanning (optical character
recognition) or intelligent word recognition. Alternatively, the movements of the pen tip may be
sensed "on line", for example by a pen-based computer screen surface, a generally easier task
as there are more clues available. A handwriting recognition system handles formatting, performs
correct segmentation into characters, and finds the most possible words.
A visual display terminal, or video display terminal (VDT) is a computer screen. The VDT
displays the text and images generated by a computer. VDTs can be part of a computer, or
separate hardware devices tethered to a computer with a cable. These separate devices are
sometimes called computer monitors
Output Units
Output is a process by which the computer system outputs the results and information
to the external world. It sends information from inside the computer to the outside world. The
output may be displayed on the Video Display Screen or may be connected to some external system.
Input devices send information to the computer from outside world. Computer processes the
information and sends the result to the outside world. But we do not understand the binary
language of the computer. For this, an Output Device is necessary.
Output devices:
(i) Visual display unit (VDU) (ii) Printer
(i) Visual display unit (VDU) or Soft copy Output Device: Here the output is shown on
monitor using dots of colors or lights. Each of these dots are individually called pixel or
Picture Element (PEL). These. dots, when concentrated on various parts of the screen,
produce an output. If the density of dots is high, then the output is clearer. This is called
resolution. Hence, higher the resolution, better is the output. This concept is used in case of
both monochrome and color monitors, which are essentially the two different types of soft
copy output device.
According to the display technology we can divide monitor into three types:
a) Cathode Ray Tube.
b) Liquid Crystal Display (LCD).
c) Projection Display.
According to the colour we can divide monitor into two types:
a) Monochrome Monitor
b) Colour Monitor
(a) Monochrome Monitor: As the name indicates, in this type of monitor, light of only one
colour is emitted from the screen. This colour, with all its shades of grey, is able to produce an
impression on the screen. The output here is generally shown on a dark background using a light
foreground.
(b) Colour Monitor: In case of colour monitor, virtually infinite number of colours are
produced to generate an output. Here, the monitor can originally generate the three primary
colours viz. red, green and blue; which are intermixed in various proportions to get a large
number of secondary colours. For obvious reasons, the color monitors are also known as
RGB screen.
(ii) Printers or Hard Copy Output Devices: Here the output is generated on paper by using either of
the output devices viz. PRINTERS or PLOTTERS.
(i) Printers: Here the output device is generally used to produce text material and other ordinary
graphics as output. Generally, the output generated by the printer can either be of single colour or
multicolor. The printers have two basis for classification:
(a) Impact Printer: In this type, the printer's head physically touches the paper surface to produce
the output. The head, always being in contact with the paper while printing, produces high friction
thus making it noisy. Moreover, the rigidity of the printer head limits the generation of multiple
colours. Graphical outputs are also of low quality in the case of impact printers.
(b) Non-impact Printers: In this type, the printer's head does not physically touch the paper to
produce the impression. Generally, in this case, a fine jet of ink is spread over the paper surface. Due
to no contact between the printer head and paper, the friction generated is very low, making it
virtually noiseless. Moreover, multi-coloured output is possible. Graphics output generated is also of
high quality here.
(ii) Classification based on speed of printing: Here the various types of printers are
classified as :
(a) Serial or Character Printer: It can print one character at a time. It is the slowest and the cheapest
form of printer. It's speed is measured in characters per second (CPS).
(b) Line Printer: It can print one line output at a time. It's speed is measured in lines per
minute (LPM).
(c) Page Printer: Here, the printer can generate one page of output at a time. It is the fastest but the
costliest of printers. Its speed is measured in pages per minute (PPM).
It may be mentioned here that, the printing quality of any printer depends on the number and
density of ink dots available on the output paper. This is measured in dots per inch (dpi). Higher dpi
means better quality output.
(iii) Plotters
Plotters are another type of hard copy output device. It consists of a similar to the printer head. But
the head contains pen filled with liquid ink. A plotter has a flat surface on which the paper is kept.
There is an arm moving horizontally across the paper length. On this arm, the moves in a vertical
direction on the paper. Plotters are preferably used for plotting geographical maps, weather maps
and also for creating engineering drawing of Computer Aided Designs (CAD). Plotters can be of two
types; (i) FLAT-BED PLOTTER (ii) DRUM PLOTTER
Storage devices
Memory unit
1.Magnetic Tape
a) Floppy Disk
b) Hard Disk.
c) Optical Media.
Primary Memory or Main Memory: Primary memory is a storage device which stores data and
program temporarily. It generally holds data and program till the power supply remains on. When
the supply is made off, the contents are removed from the memory.
1. Random Access Memory (RAM) : It is that part of the primary memory which is used by the
computer for performing all jobs supplied by the user. Generally, all data stored here is
based on charge, and hence is power dependent. In this case, the user has both read and
writes permission. At power off condition, the RAM looses all its contents permanently.
Basically, RAM comes into use when the user uses the computer.
Based on its functioning, RAM is of two types:
(i) Static Random Access Memory (S-RAM) : It is faster and hence costlier. For this reason,
it is available in limited amount in the computer. .
(ii) Dynamic Random Access Memory (D-RAM): This part of RAM is Capacitor based and hence it
needs to be recharged at frequent intervals of time to retain the information.
Comparison between S-RAM and D-RAM has been shown in the following table:
SRAM DRAM
1 This memory is based on transistor 1.This memory is based on capacitor technology.
technology.
4. It is expensive. 4. It is cheaper.
(ii) Erasable Programmable Read Only Memory (EPROM)- This can also be of two types:
Cache Memory: This is a small fast memory placed between the processor and main memory. It is a
high-speed storage unit and much faster than real memory or main memory. Cache storage is
extremely expensive compared to main storage. The characteristics of cache memory compared to
main memory are as under:
Virtual memory uses both the computer's software and hardware to work. It transfers processes
between the computer's RAM and hard disk by copying any files from the computer's RAM that
aren't currently in use and moving them to the hard disk. By moving unused files to the hard disk, a
computer frees up space in its RAM to perform current tasks, such as opening a new application. If
the computer later needs to use its RAM for a more urgent task, it can again swap files to make the
most of the available RAM.
Secondary Memory or Auxiliary Memory or Backing Store: It is the storage unit that stores data and
program permanently. It holds the current data and program even if the supply is withdrawn.
Types of Secondary Memory:
1. Magnetic Tape: Here the data is stored on thin plastic strips coated with a layer of magnetic
oxide. This strip is found in reels and data is stored by the presence or absence of magnetic
poles on the strip. Data in strips are available in two forms
(a) Cassette Tape (Tape Cartridge)
2. Magnetic Media: Here the data is stored on circular disks made either of flexible plastic or
rigid metallic material. Both sides of the disk have magnetic oxide coating for storing data. Data is
stored here magnetically using bits 1 and 0 in invisible concentric circles called 'tracks'.
(a) Floppy Disk: Floppy disks are made of thin, flexible plastic material. Here a read and write head js
available for each surface and the head physically touches the surface for reading data. Floppy disks
are portable, quite cheap, but have less storage capacity. Floppy disks are basically of the following
types:
The most commonly used variety of floppy disk is DSDD having a capacity of 1.44 MB. (3.5" Micro
Floppy disk).
(b) Hard Disk: Hard disks are thin circular disks made of a rigid metallic material and coated
with magnetic oxide. A read and write head is available for each of its surfaces, but to avoid
friction, the head does not physically touch the surface of the hard disk. Because of their
extremely high capacity and high speed, hard disks are costlier. For protection, hard disk is
permanently housed inside the computer in protective metallic jacket, and for this, it is also
known as 'fixed disc'. Generally, hard disks have capacities in the range of gigabytes.
(c) Optical Media:
Compact Disk (CD)
Compact Disks have got extremely high capacity of data storage and works very fast. It has
got a long life, provided that it is used properly. Generally, compact disks are used to store
extremely important software. Here, data is stored optically on spiral tracks. At the time of
recording some information in the CD, laser beam of very high intensity is made incident on
the spinning disk, whereby small furrows deep marks are created on the disks surface. The
presence of such a furrow indicates bit 1 and its absence indicates bit o. On completion of
recording the full CD, a transparent protective polythene covering is applied on the recorded
surface and the CD is distributed in a protective box known as 'Jewel Box'. Generally the
capacity of a CD is 600 MB to 750 MB till date. Three types of CD are available. These are:
(a) CD-ROM (Compact Disk Read-Only Memory) : This is a pre-recorded disk and one can only read
from it as writing is not permissible. It is the cheapest form of CD.
(b) WORM (Write-Once, Read-Many) : This is a blank CD by default. Recording can be done on it, but
only once. Afterwards, the user can only read from it. This type of CD is costlier than CD-ROM.
(c) Erasable Optical Disk or Write-CD: In this type of CD, multiple read and write operations are
allowed. This is the costliest form of CD. It may be noted that a CD-drive is required for running each
of the above types of CD.
CPU includes ALU, which performs all mathematical and logical operations. It performs
'addition, subtraction, multiplication and division. It controls AND, OR, NOT and other
logical operations.
Control unit is a special type electronic circuit. It controls all functioning of the computer. It
co-ordinates Input Unit, Output Unit and Memory Unit. It controls execution of instructions.
It helps the computer to understand the difference between Data and Instructions. It decodes
program instructions stored in Control Memory (CM). Each instruction .s read from CM into
a register. These registers are known as instruction registers (IR).
Decoders;
The combinational circuit that change the binary information into 2 N output lines is
known as Decoders. The binary information is passed in the form of N input lines.
The output lines define the 2 N-bit code for the binary information. In simple words,
the Decoder performs the reverse operation of the Encoder. At a time, only one
input line is activated for simplicity. The produced 2 N-bit output code is equivalent to
the binary information.
Registers :
Computer Registers are a type of computer memory used to quickly accept, store, and
transfer data and instructions that the CPU needs immediately. The registers used by the
CPU are called processor registers. The function of a register is to store, accept, transfer,
and manipulate the data..
Machine Instructions: A machine instruction is a simple program instruction in binary form. It
comprises several bytes in memory that tells the processor how to perform one machine
operation. The microprocessor decodes and executes Types of machine instruction without
further processing. In each instruction, a specific task is performed on a data unit in a CPU
register or memory, such as a load, a jump, or an ALU operation. A CPU directly executes a
program made up of such instructions.
: Fetch-Decode-Execute cycle
Control Unit – controls all parts of the computer system. It manages the four
basic operations of the Fetch Execute Cycle as follows:
The table given below is the function table of the Arithmetic Logic Shift Unit.
Operation Function
F=A Transfer A
F=A+1 Increment A
F=A+B Addition
F = A + B’ + 1 Subtraction
F=A–1 Decrement A
F=A Transfer A
F=A∧B AND
F=A∨B OR
F=A⊕B XOR
F = A’ Complement A