Unit 1 CH 1 Hardware Concepts
Unit 1 CH 1 Hardware Concepts
Chapter-1
Hardware Concepts
• Mainly computer system consists of three parts,
that are central processing unit (CPU), Input Devices
, and Output Devices. The Central Processing Unit
(CPU) is divided into two parts again: arithmetic
logic unit (ALU) and the control unit (CU). The set of
instruction is in the form of raw data.
• Basic Operations of a Computer System
• Input
• Process
• Output
• Store
• Control
Hardware concepts
• CPU
• Memory
• Input Devices
• Output Devices
Central Processing Unit
• Central Processing Unit (CPU) consists of the
following features −
• 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 the computer.
• CPU itself has following three components.
• Memory or Storage Unit
• Control Unit
• ALU(Arithmetic Logic Unit)
Control unit
• A control unit or CU is circuitry that directs
operations within a computer's processor. It
lets the computer's logic unit, memory, and
both input and output devices know how to
respond to instructions received from a
program. Examples of devices that utilize
control units include CPUs and GPUs.
Control Processing Units(CPUs)
Graphics Processing Units(GPUs)
• A control unit works by receiving input information
that it converts into control signals, which are then
sent to the central processor. The computer's
processor then tells the attached hardware what
operations to carry out. The functions that a control
unit performs are dependent on the type of CPU, due
to the variance of architecture between different
manufacturers. The following diagram illustrates how
instructions from a program are processed.
• Functions of the Control Unit –
• It coordinates the sequence of data movements
into, out of, and between a processor’s many sub-
units.
• It interprets instructions.
• It controls data flow inside the processor.
• It receives external instructions or commands to
which it converts to sequence of control signals.
• It controls many execution units(i.e. ALU, data
buffers and registers) contained within a CPU.
• It also handles multiple tasks, such as fetching,
decoding, execution handling and storing results.
Arithmetic Logic Unit (ALU)
CPU that handles all the calculations the CPU may need. Most of these operations
are logical in nature. Depending on how the ALU is designed, it can make the CPU
more powerful, but it also consumes more energy and creates more heat.
Therefore, there must be a balance between how powerful and complex the ALU is
and how expensive the whole unit becomes. This is why faster CPUs are more
Sequential
Sequential Direct
Direct
Access
AccessDevice
Device Access
AccessDevice
Device
Magnetic
Magnetic
Tape
Tape Magnetic Memory
Memory
Magnetic Optical
Disk Optical Storage
Storage
Disk Disk
Disk
CD DVD
CD DVD
Magnetic Tape memory
In magnetic tape only one side of the ribbon is used for
storing data. It is sequential memory which contains thin
plastic ribbon to store data and coated by magnetic
oxide. Data read/write speed is slower because of
sequential access. It is highly reliable which requires
magnetic tape drive writing and reading data.
Floppy Disk
1. Address Bus:
Used to carry the address to memory and IO.
Unidirectional.
Based on width of a address bus we can determine the capacity of a main memory
2. Data Bus:
Used to carry the binary data between the CPU, memory and IO.
• Bidirectional.
• Based on the width of a data bus we can determine the word
length of a CPU.
• Based on the word length we can determine the performance of a
CPU.
3. Control Bus:
Used to carry the control signals and timing signals
• Control signals indicates type of operation.
• Timing Signals used to synchronize the memory and IO
operations with a CPU clock.
Types of computer buses
A bus is either a parallel or serial bus, and either an internal bus (local bus) or
an external bus (expansion bus).
Internal bus vs. external bus:
An internal bus enables the communication between internal components,
such as a video card and memory. An external bus is capable of
communicating with external components, such as a USB or SCSI device.
Parallel bus vs. serial bus:
A computer bus can transmit its data using either a parallel or serial method
of communication. With a parallel bus, data is transmitted several bits at a
time. However, with a serial bus, the data is transferred one bit at a time.
Communication Ports
• A port is a physical docking point using which an
external device can be connected to the computer. It
can also be programmatic docking point through which
information flows from a program to the computer or
over the Internet.
A port has the following characteristics −
• 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 the
mouse, keyboard, monitor, microphone, speakers, etc.
Let us now discuss a few important types of ports −
Serial Port
Used for external modems and older computer mouse
Two versions: 9 pin, 25 pin model
Data travels at 115 kilobits per second
Parallel Port
• Used for scanners and printers
• Also called printer port
• 25 pin model
PS/2 Port
• Used for old computer keyboard and mouse
• Also called mouse port
• Most of the old computers provide two PS/2 port, each for the mouse and keyboard
The scanner uses the pictures and pages of text as input. It scans the
picture or a document. The scanned picture or document then
converted into a digital format or file and is displayed on the
screen as an output. It uses optical character recognition
techniques to convert images into digital ones. Some of the
common types of scanners are as follows:
Types of Scanner:
i) Flatbed Scanner:
It has a glass pane and a moving optical CIS or CCD array. The
light illuminates the pane, and then the image is placed on the
glass pane. The light moves across the glass pane and scans the
document and thus produces its digital copy. You will need a
transparency adapter while scanning transparent slides.
Handheld Scanner:
It is a small manual scanning device which is
held by hand and is rolled over a flat image
that is to be scanned. The drawback in using
this device is that the hand should be steady
while scanning; otherwise, it may distort the
image. One of the commonly used handheld
scanners is the barcode scanner which you
would have seen in shopping stores.
:
Sheetfed Scanner:
In this scanner, the document is inserted into
the slot provided in the scanner. The main
components of this scanner include the sheet-
feeder, scanning module, and calibration
sheet. The light does not move in this scanner.
Instead, the document moves through the
scanner. It is suitable for scanning single page
documents, not for thick objects like books,
magazines, etc.
Drum Scanner
Drum scanner has a photomultiplier
tube (PMT) to scan images. It does not
have a charge-coupled device like a
flatbed scanner. The photomultiplier
tube is extremely sensitive to light. The
image is placed on a glass tube, and
the light moves across the image,
which produces a reflection of the
image which is captured by the PMT
and processed. These scanners have
high resolution and are suitable for
detailed scans.
Photo Scanner
It is designed to scan photographs. It has
high resolution and color depth, which
are required for scanning photographs.
Some photo scanners come with in-built
software for cleaning and restoring old
photographs.
Optical Character Reader (OCR)
• CRT monitors are based on the cathode ray tubes. They are
like vacuum tubes which produce images in the form of
video signals. Cathode rays tube produces a beam of
electrons through electron guns that strike on the inner
phosphorescent surface of the screen to produce images
on the screen. The monitor contains millions of
phosphorus dots of red, green and blue color. These dots
start to glow when struck by electron beams and this
phenomenon is called cathodoluminescence.
• The main components of a CRT monitor include the
electron gun assembly, deflection plate assembly,
fluorescent screen, glass envelope, and base. The front
(outer surface) of the screen onto which images are
produced is called the face plate. It is made up of fiber
optics.
• Although LCDs have replaced the CRT monitors, the CRT
monitors are still used by graphics professionals because of
their color quality.
Flat-Panel Display Monitor
• The laser printer is one of the common personal computer printers. It was
introduced in 1971, and after that it was developed at Xerox PARC by Gary
Starkweather. It uses the laser or non-impact photocopier technology to
print the text and images on the paper. Whenever it gets input to print
any document, a laser beam draws the document on the selenium-coated
drum with the help of electric charges.
• When the drum is charged, it is rolled in toner (dry ink powder). The ink
follows the image, which has charged on the drum. The ink is combined
with the paper, including heat and pressure, then transferred on a chunk
(piece) of paper.
• When the document is printed, the excess toner is collected, and an
electric charge is removed from the drum. Most of the laser printers are
capable of printing only in monochrome. The monochrome laser printer is
around ten times cheaper than a color laser printer.
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.
They make less noise because no hammering is done and these have many
styles of printing modes available. Color printing is also possible. Some
models of Inkjet printers can produce multiple copies of printing also.
There are many differences between a laser printer and inkjet printer, such
as:
• The laser printer contains dry ink, while an inkjet contains wet ink.
• An inkjet printer is approximately ten times more expensive than the laser
printer as it requires replacing the ink very frequently.
• If a paper is wet, the inkjet printer will print the document with blur, but
the laser printer will print clear. The inkjet printer is suitable for printing
fewer documents, while the laser printer has the ability to print more
documents.
Plotter
A plotter is a hardware device or a printer, which was first invented
by Remington-Rand in 1953. It is developed to print vector graphics
and uses a pencil, pen, marker, or other writing tools for drawing
continuous lines instead of using ink or tonner. It is widely used to
print a hard copy of schematics and other similar applications.
There are several types of plotter given in the below list:
• Drum plotter: It is also known as roller plotter. It turns the paperback
and forth on a drum while pens move left and right. With the help of
combining these two directions, the line can be drawn in any
direction.
• Flatbed plotter: In flatbed plotter, a paper is placed
on a large horizontal surface. A traveling bar moves
across the surface and draws the lines.
• Electrostatic plotter: It draws on paper that is
charged negatively with positively charged ink or
tonner.
• Inkjet Plotter: It is a type of Pinch Roller Plotter,
which produces an image with the help of
showering little drops of ink on the paper.
• Cutting Plotter: It is a new generation device that
allows users to cut different shapes. It is mainly
used for advertising, sign-making, bill board, and
vehicle graphics.