Information Communication Technology: National Youth Service-Engineering Institute
Information Communication Technology: National Youth Service-Engineering Institute
Information Communication Technology: National Youth Service-Engineering Institute
TECHNOLOGY
MODULE I
Page 1
TOPIC 2 : COMPUTER HARDWARE
Hardware represents the physical and tangible components of a computer i.e. the components that
can be seen and touched.
Components of a computer
All types of computers follow a same basic logical structure and perform the following five basic
operations for converting raw input data into information useful to their users.
Operation Description
1 Take Input The process of entering data and instructions into the computer system .
Saving data and instructions so that they are available for processing as
2 Store Data
Performing arithmetic, and logical operations on data in order to
3 Processing Data
Output The process of producing useful information or results for the user,
4
Information such as a printed report or visual display.
Control the Directs the manner and sequence in which all of the above operations
5
workflow are performed.
Page 2
INPUT DEVICES
Following are few of the important input devices which are used in a computer:
• Keyboard
• Mouse
• Joy Stick
• Light pen
• Track Ball
• Scanner
• Graphic Tablet
• Microphone
• Magnetic Ink Card Reader(MICR)
• Optical Character Reader(OCR)
• Bar Code Reader
• Optical Mark Reader(OMR)
Keyboard
Keyboard is the most common and very popular input device which helps in inputting
data to the computer. The layout of the keyboard is like that of traditional typewriter,
although there are some additional keys provided for performing additional functions.
Keyboards are of two sizes 84 keys or 101/102 keys, but now keyboards with 104 keys or
108 keys are also available for Windows and Internet.
Page 3
These keys provide cursor and screen control. It includes four
directional arrow keys. Control keys also include Home, End,
4 Control keys
Insert, Delete, Page Up, Page Down, Control(Ctrl), Alternate(Alt),
Escape(Esc).
Keyboard also contains some special purpose keys such as Enter,
5 Special Purpose Keys
Shift, Caps Lock, Num Lock, Space bar, Tab, and Print Screen.
Mouse
Mouse is most popular pointing device. It is a very famous cursor-control device having
a small palm size box with a round ball at its base which senses the movement of mouse
and sends corresponding signals to CPU when the mouse buttons are pressed.
Generally it has two buttons called left and right button and a wheel is present between
the buttons. Mouse can be used to control the position of cursor on screen, but it cannot
be used to enter text into the computer.
Advantages
• Easy to use
• Not very expensive
• Moves the cursor faster than the arrow keys of keyboard.
Joystick
Joystick is also a pointing device which is used to move cursor position on a monitor
screen. It is a stick having a spherical ball at its both lower and upper ends. The lower
spherical ball moves in a socket. The joystick can be moved in all four directions.
Page 4
Light Pen
Light pen is a pointing device which is similar to a pen. It is used to select a displayed
menu item or draw pictures on the monitor screen. It consists of a photocell and an
optical system placed in a small tube. When the tip of a light pen is moved over the
monitor screen and pen button is pressed, its photocell sensing element detects the screen
location and sends the corresponding signal to the CPU.
Track Ball
Track ball is an input device that is mostly used in notebook or laptop computer, instead
of a mouse. This is a ball which is half inserted and by moving fingers on ball, pointer
can be moved. Since the whole device is not moved, a track ball requires less space than
a mouse. A track ball comes in various shapes like a ball, a button and a square.
Scanner
Scanner is an input device which works more like a photocopy machine. It is used when
some information is available on a paper and it is to be transferred to the hard disc of the
computer for further manipulation. Scanner captures images from the source which are
then converted into the digital form that can be stored on the disc. These images can be
edited before they are printed.
Page 5
Digitizer
Digitizer is an input device which converts analog information into digital form. Digitizer
can convert a signal from the television or camera into a series of numbers that could be
stored in a computer. They can be used by the computer to create a picture of whatever
the camera had been pointed at. Digitizer is also known as Tablet or Graphics Tablet
because it converts graphics and pictorial data into binary inputs. A graphic tablet as
digitizer is used for doing fine works of drawing and image manipulation applications.
Microphone
Microphone is an input device to input sound that is then stored in digital form. The
microphone is used for various applications like adding sound to a multimedia
presentation or for mixing music.
Magnetic Ink Card Reader(MICR)
MICR input device is generally used in banks because of a large number of cheques to be
processed every day. The bank's code number and cheque number are printed on the
cheques with a special type of ink that contains particles of magnetic material that are
machine readable. This reading process is called Magnetic Ink Character Recognition
(MICR). The main advantages of MICR is that it is fast and less error prone.
Page 6
Optical Character Reader(OCR)
OCR is an input device used to read a printed text. OCR scans text optically character by
character, converts them into a machine readable code and stores the text on the system
memory.
Bar Code Reader is a device used for reading bar coded data (data in form of light and
dark lines). Bar coded data is generally used in labelling goods, numbering the books etc.
It may be a hand held scanner or may be embedded in a stationary scanner. Bar Code
Reader scans a bar code image, converts it into an alphanumeric value which is then fed
to the computer to which bar code reader is connected.
Page 7
OMR is a special type of optical scanner used to recognize the type of mark made by pen
or pencil. It is used where one out of a few alternatives is to be selected and marked. It is
specially used for checking the answer sheets of examinations having multiple choice
questions.
PROCESSING DEVICES
These are devices that transform inputs into outputs
CPU is considered as the brain of the computer. CPU performs all types of data
processing operations. It stores data, intermediate results and instructions(program). It
controls the operation of all parts of computer.
Page 8
CPU itself has following three components.
This unit can store instructions, data and intermediate results. This unit supplies
information to the other units of the computer when needed. It is also known as internal
storage unit or main memory or primary storage or Random access memory(RAM).
Its size affects speed, power and capability. Primary memory and secondary memory are
two types of memories in the computer. Functions of memory unit are:
• It stores all the data and the instructions required for processing.
Page 9
• It stores intermediate results of processing.
• It stores final results of processing before these results are released to an output
device. All inputs and outputs are transmitted through main memory.
Control Unit
This unit controls the operations of all parts of computer but does not carry out any actual
data processing operations.
• It is responsible for controlling the transfer of data and instructions among other
units of a computer.
• It manages and coordinates all the units of the computer.
• It obtains the instructions from the memory, interprets them, and directs the
operation of the computer.
• It communicates with Input/Output devices for transfer of data or results from
storage. It does not process or store data.
• Arithmetic section
• Logic Section
Arithmetic Section
Logic Section
MEMORY
A memory is just like a human brain. It is used to store data and instructions. Computer
memory is the storage space in computer where data is to be processed and instructions
required for processing are stored. The memory is divided into large number of small
parts called cells. Each location or cell has a unique address which varies from zero to
Page 10
memory size minus one. For example if computer has 64k words, then this memory unit
has 64 * 1024=65536 memory locations. The address of these locations varies from 0 to
65535.
Memory is primarily of three types
• Cache Memory
• Primary Memory/Main Memory
• Secondary Memory
Cache Memory
Cache memory is a very high speed semiconductor memory which can speed up CPU. It
acts as a buffer between the CPU and main memory. It is used to hold those parts of data
and program which are most frequently used by CPU. The parts of data and programs are
transferred from disk to cache memory by operating system, from where CPU can access
them.
Advantages
Disadvantages
Page 11
Primary Memory (Main Memory)
Primary memory holds only those data and instructions on which computer is currently
working. It has limited capacity and data is lost when power is switched off. It is
generally made up of semiconductor device. These memories are not as fast as registers.
The data and instruction required to be processed reside in main memory. It is divided
into two subcategories RAM and ROM.
Secondary Memory
Page 12
This type of memory is also known as external memory or non-volatile. It is slower than
main memory. These are used for storing data/Information permanently. CPU directly
does not access these memories instead they are accessed via input-output routines.
Contents of secondary memories are first transferred to main memory, and then CPU can
access it. For example : disk, CD-ROM, DVD etc.
RAM(Random Access Memory) is the internal memory of the CPU for storing data,
program and program result. It is read/write memory which stores data until the machine
is working. As soon as the machine is switched off, data is erased.
Access time in RAM is independent of the address that is, each storage location inside
the memory is as easy to reach as other locations and takes the same amount of time.
Data in the RAM can be accessed randomly but it is very expensive.
RAM is volatile, i.e. data stored in it is lost when we switch off the computer or if there is
a power failure. Hence a backup uninterruptible power system(UPS) is often used with
computers. RAM is small, both in terms of its physical size and in the amount of data it
can hold.
Page 13
Static RAM (SRAM)
The word static indicates that the memory retains its contents as long as power is being
supplied.
However, data is lost when the power gets down due to volatile nature. SRAM chips use
a matrix of 6-transistors and no capacitors. Transistors do not require power to prevent
leakage, so SRAM need not have to be refreshed on a regular basis.
Because of the extra space in the matrix, SRAM uses more chips than DRAM for the
same amount of storage space, thus making the manufacturing costs higher. So SRAM is
used as cache memory and has very fast access.
Characteristic of the Static RAM
DRAM, unlike SRAM, must be continually refreshed in order to maintain the data. This
is done by placing the memory on a refresh circuit that rewrites the data several hundred
times per second. DRAM is used for most system memory because it is cheap and small.
All DRAMs are made up of memory cells which are composed of one capacitor and one
transistor.
Page 14
• Used as RAM
• Lesser in size
• Less expensive
• Less power consumption
ROM stands for Read Only Memory. The memory from which we can only read but
cannot write on it. This type of memory is non-volatile. The information is stored
permanently in such memories during manufacture. A ROM, stores such instructions that
are required to start a computer. This operation is referred to as bootstrap. ROM chips are
not only used in the computer but also in other electronic items like washing machine
and microwave oven.
The very first ROMs were hard-wired devices that contained a pre-programmed set of
data or instructions. These kind of ROMs are known as masked ROMs which are
inexpensive.
PROM is read-only memory that can be modified only once by a user. The user buys a
blank PROM and enters the desired contents using a PROM program. Inside the PROM
chip there are small fuses which are burnt open during programming. It can be
programmed only once and is not erasable.
Page 15
The EPROM can be erased by exposing it to ultra-violet light for a duration of up to 40
minutes. Usually, an EPROM eraser achieves this function. During programming, an
electrical charge is trapped in an insulated gate region. The charge is retained for more
than ten years because the charge has no leakage path. For erasing this charge, ultra-
violet light is passed through a quartz crystal window(lid). This exposure to ultra-violet
light dissipates the charge. During normal use the quartz lid is sealed with a sticker.
The EEPROM is programmed and erased electrically. It can be erased and reprogrammed
about ten thousand times. Both erasing and programming take about 4 to 10 ms (milli
second). In EEPROM, any location can be selectively erased and programmed.
EEPROMs can be erased one byte at a time, rather than erasing the entire chip. Hence,
the process of re-programming is flexible but slow.
Advantages of ROM
The advantages of ROM are as follows:
• Non-volatile in nature
• These cannot be accidentally changed
• Cheaper than RAMs
• Easy to test
• More reliable than RAMs
• These are static and do not require refreshing
• Its contents are always known and can be verified
Motherboard
The motherboard serves as a single platform to connect all of the parts of a computer
together. A motherboard connects CPU, memory, hard drives, optical drives, video card,
sound card, and other ports and expansion cards directly or via cables. It can be
considered as the backbone of a computer.
Features of Motherboard
Page 16
A motherboard comes with following features:
Description of Motherboard
The motherboard is mounted inside the case and is securely attached via small screws
through predrilled holes. Motherboard contains ports to connect all of the internal
components. It provides a single socket for CPU whereas for memory, normally one or
more slots are available. Motherboards provide ports to attach floppy drive, hard drive,
and optical drives via ribbon cables. Motherboard carries fans and a special port designed
for power supply.
There is a peripheral card slot in front of the motherboard using which video cards, sound
cards and other expansion cards can be connected to motherboard.
On the left side, motherboards carry a number of ports to connect monitor, printer,
mouse, keyboard, speaker, and network cables. Motherboards also provide USB ports
which allow compatible devices to be connected in plug-in/plug-out fashion for example,
pen drive, digital cameras etc.
Memory Units
Ports
What is a Port?
A port:
• is a physical docking point using which an external device can be connected to the
computer.
• can also be programmatic docking point through which information flows from a
program to computer or over the internet.
Characteristics
Page 18
• External devices are connected to a computer using cables and ports.
• Ports are slots on the motherboard into which a cable of external device is plugged
in.
• Examples of external devices attached via ports are mouse, keyboard, monitor,
microphone, speakers etc.
Serial Port
Parallel Port
PS/2 Port
• It can connect all kinds of external USB devices such as external hard disk,
printer, scanner, mouse, keyboard etc.
• It was introduced in 1997.
• Most of the computers provide two USB ports as minimum.
• Data travels at 12 megabits per seconds
• USB compliant devices can get power from a USB port
VGA Port
Power Connector
• Three-pronged plug
• Connects to the computer's power cable that plugs into a power bar or wall socket
Firewire Port
Modem Port
Ethernet Port
Page 20
• Data travels at 10 megabits to 1000 megabits per seconds depending upon the
network bandwidth.
Game Port
• Connects Flat panel LCD monitor to the computer's high end video graphic cards.
• Very popular among video card manufacturers.
Sockets
• Hardware and software are mutually dependent on each other. Both of them must
work together to make a computer produce a useful output.
• Software cannot be utilized without supporting hardware.
• Hardware without set of programs to operate upon cannot be utilized and is
useless.
• To get a particular job done on the computer, relevant software should be loaded
into the hardware
• Hardware is a one-time expense.
• Software development is very expensive and is a continuing expense.
• Different software applications can be loaded on a hardware to run different jobs.
• A software acts as an interface between the user and the hardware.
• If hardware is the 'heart' of a computer system, then software is its 'soul'. Both are
complimentary to each other.
OUTPUT DEVICES
Following are few of the important output devices which are used in a computer.
• Monitors
• Printer
• Speakers
Monitors
Page 21
Monitors, commonly called as Visual Display Unit (VDU), are the main output device of
a computer. It forms images from tiny dots, called pixels that are arranged in a
rectangular form. The sharpness of the image depends upon the number of pixels.
The CRT display is made up of small picture elements called pixels. The smaller the
pixels, the better the image clarity, or resolution. It takes more than one illuminated pixel
to form whole character, such as the letter ‘e’ in the word help.
A finite number of characters can be displayed on a screen at once. The screen can be
divided into a series of character boxes - fixed location on the screen where a standard
character can be placed.
Most screens are capable of displaying 80 characters of data horizontally and 25 lines
vertically. There are some disadvantages of CRT:
• Large in Size
• High power consumption
The flat-panel display refers to a class of video devices that have reduced volume, weight
and power requirement in comparison to the CRT. You can hang them on walls or wear
them on your wrists. Current uses of flat-panel displays include calculators, video games,
monitors, laptop computer, graphics display.
• Emissive Displays - The emissive displays are devices that convert electrical
energy into light. Example are plasma panel and LED(Light-Emitting Diodes).
Page 22
• Non-Emissive Displays - The Non-emissive displays use optical effects to
convert sunlight or light from some other source into graphics patterns. Example is
LCD(Liquid-Crystal Device)
Printers
• Impact Printers
• Non-Impact Printers
Impact Printers
The impact printers print the characters by striking them on the ribbon which is then
pressed on the paper.
• Character printers
• Line printers
Character Printers
Character printers are the printers which print one character at a time.
In the market one of the most popular printers is Dot Matrix Printer. These printers are
popular because of their ease of printing and economical price. Each character printed is
in form of pattern of dots and head consists of a Matrix of Pins of size (5*7, 7*9, 9*7 or
9*9) which come out to form a character that is why it is called Dot Matrix Printer.
Advantages
• Inexpensive
• Widely Used
• Other language characters can be printed
Disadvantages
• Slow Speed
• Poor Quality
Daisy Wheel
Head is lying on a wheel and pins corresponding to characters are like petals of Daisy
(flower name) that is why it is called Daisy Wheel Printer. These printers are generally
used for word-processing in offices which require a few letters to be sent here and there
with very nice quality.
Advantages
Page 24
• More reliable than DMP
• Better quality
• The fonts of character can be easily changed
Disadvantages
Line Printers
Line printers are the printers which print one line at a time.
• Drum Printer
• Chain Printer
Page 25
Drum Printer
This printer is like a drum in shape so it is called drum printer. The surface of drum is
divided into number of tracks. Total tracks are equal to size of paper i.e. for a paper
width of 132 characters, drum will have 132 tracks. A character set is embossed on track.
The different character sets available in the market are 48 character set, 64 and 96
characters set. One rotation of drum prints one line. Drum printers are fast in speed and
can print 300 to 2000 lines per minute.
Advantages
Disadvantages
• Very expensive
• Characters fonts cannot be changed
Chain Printer
In this printer, chain of character sets are used so it is called Chain Printer. A standard
character set may have 48, 64, or 96 characters.
Advantages
Disadvantages
• Noisy
Non-impact Printers
Non-impact printers print the characters without using ribbon. These printers print a
complete page at a time so they are also called as Page Printers.
• Laser Printers
• Inkjet Printers
Page 26
• Faster than impact printers.
• They are not noisy.
• High quality.
• Support many fonts and different character size.
Laser Printers
These are non-impact page printers. They use laser lights to produce the dots needed to
form the characters to be printed on a page.
Advantages
Disadvantages
• Expensive.
• Cannot be used to produce multiple copies of a document in a single printing.
Inkjet Printers
Inkjet printers are non-impact character printers based on a relatively new technology.
They print characters by spraying small drops of ink onto paper. Inkjet printers produce
high quality output with presentable features.
Page 27
They make less noise because no hammering is done and these have many styles of
printing modes available. Colour printing is also possible. Some models of Inkjet printers
can produce multiple copies of printing also.
Advantages
Disadvantages
Speakers
There are two types of speakers used in computers. Those that are inbuilt and external
speakers
COMMUNICATIONS DEVICE
Computers on a network need to be able to communicate with the server and with other
computers. In order to do this, a network interface card (NIC) is required or a built-in
network chip is included on the motherboard, such as in the laptop opposite..
Page 28
The hardware handles all the physical network signals.
Wi-fi cards
When you are using your computer on a wireless network, you need to be able to send
data to and receive data from the server and other computers on the network. This may be
done by a built-in wifi in your laptop or mobile device connected to a local network.
If your laptop needs to connect via a mobile wi-fi network whilst on the move, then you
can also purchase a Wi-Fi 'dongle' that looks like a memory stick and is inserted into a
USB port. It works in just the same way but is designed to work with a specific mobile
internet network provider.
Router
Modem
A Modem is a device used to convert digital data to analogue data in order to transmit it
over the telephone network (MODulation).
It will also convert the analogue data back into digital data when the computer is
receiving data from the telephone network (DEModulation).
There are many factors which affect how fast your computer can process data and
instructions:
1. Registers
2. RAM
3. The System Clock
4. The Bus
Page 29
5. Cache Memory
1. Registers
• The CPU contains of small memory areas: called registers, which store data and
instructions while the CPU processes them.
• The size of the registers determines the amount of data with which the computer
can work at a one time.
• Today most PC`s have 32-bit registers, mean the CPU can process four bytes data
at one time. Register sizes are rapidly growing to 64 bits.
2. RAM
• The computer`s system clock sets the pace the CPU by using a vibrating quartz
crystal.
• A single "tick" of the clock is the time required to turn a transistor off and back
on.This is called a clock cycle.
• Clock cycles are measured in Hertz(Hz),a measure of cycles per second.If a
computer has a clock speed of 300 MHz, then its system clock"ticks" 300 million
times every seconds.
• The faster a PCs clock runs,the more instructions the PC can execute each second.
5. Cache Memory
Page 30
• Cache memory is high-speed memory that holds the most recent data and
instructions that have been loaded by the CPU.
• Cache is located directly on the CPU or between the CPU and RAM,making it
faster than normal RAM.
• CPU-resident cache is called Level-1 (L1)cache.External cache is called Level-2
(L2) cache. The amount of cache memory has a tremendous impact on the
computer`s speed.
Hardware Acquisition
In acquiring hardware, organization needs to keep in mind that "Software" is the heart of
the system, when selecting the system, those software to be used must efficiently and
effectively satisfy organization’s overall needs first, and the "Hardware" to be acquired
must be able to support that selected software.
Page 31