Professional Documents
Culture Documents
Hardware
Hardware
By:
Jehangir Rahman
OCP
MS(CS)
BIT
Parts of the Computer System
A computer is a collection of parts, which are categorized
according to the kinds of work they do
Software
Software is a set of instructions that makes the computer perform tasks
Or Software tells the computer what to do
The term program refers to any piece of software
Thousands of different software programs are available
Parts of the Computer System (Cont.)
Data
Data consist of individual facts or pieces of information
A computer’s primary job is to process these tiny pieces of data in various
ways, converting them into useful information
For example, the company annual sale report is the data or information
etc.
Procedures
Set of Instructions, rules, steps to use the computer
Users
People are the computer operators, also known as users
Users operate the computer
Information Processing Cycle
Using all parts together, a computer converts data
into information by performing various actions on
the data
Mouse
Trackballs
Track pads
Joystick
Touch Screen
The pointer is an on-screen object, usually an arrow, that is used to select text, access
menus, and interact with program that appear on the screen
Mechanical Mouse contains a small rubber ball that rolls inside the case when you
move the mouse around on a flat surface
It has a ball on the top and one can roll the ball directly with the finger to move the
pointer around the screen, and it is normally used with the laptops
Input Devices (Cont.)
Track pad
A track pad (also called touchpad) is a stationary pointing device that many people find
less tiring to use than a mouse or trackball
Track pads include two or three buttons that perform the same functions as mouse
buttons
Today because they have been less expensive, touch screens are found in many
applications such as ATM
Input Devices (Cont.)
Input Devices (Cont.)
Scanners and Optical Character Recognition
Image Scanners convert any printed image into electronic form by shining light onto
the image and sensing the intensity of the light’s reflection at every point
When a scanner first creates an image from a page, the image is stored in the
computer’s memory as a bitmap
OCR is a software that is used to translate the image into text that you can edit
OCR software is extremely complex and not always 100 percent reliable
Input Devices (Cont.)
Input Devices (Cont.)
Voice Recognition System
Voice recognition is one of the newest, most complex input techniques used to
interact with the computer
Microphones are used to input the voice and then the software recognizes the human
voice
Input Devices (Cont.)
Machine Vision System
The simulation of human senses, especially vision, is extremely complex
A camera digitizes the images of the entire object then stores the images into
computer’s database
When a new image is seen the system compares the digitized images with its database
Hard Copy
Soft Copy
Output Devices (Cont.)
An output unit performs the following three
functions:
It accepts the result from the computer (CPU)
It converts these coded results to human
readable form (HRF)
It supplies the converted result to the outside
world
Output Devices (Cont.)
Following are some of the output
devices:
Monitors
Speakers
Printers
Plotters
Output Devices (Cont.)
Monitors
• Flat-Panel Monitors
Output Devices (Cont.)
CRT Monitors
This type of monitor uses a large vacuum tube
called a Cathode Ray Tube (CRT)
Near the back of a monitor’s housing is an
electron gun
The gun shoots a beam of electrons through a
magnetic coil (Yoke) and yoke guides the streams
of electrons at the front of the monitor
The back of the monitor’s screen is coated with
phosphors, a substance that emits light when they
are struck by the electron beam
CRT Monitor
Output Devices (Cont.)
CRT Monitors
The screen’s phosphor coating is organized into a
grid of dots
The smallest number of phosphor dots that the gun
can focus on is called a pixel
In a color monitor, each pixel includes three
phosphors—red, green, and blue (RGB)—arranged
in a triangle
When the beams of each of these guns are
combined and focused on a pixel, the phosphors
light up
Output Devices (Cont.)
CRT Monitors
Liquid Crystal is a substance that behaves like both a liquid and a solid
Liquid crystals retain their dual liquid and solid nature only over a certain range of
temperatures and pressures
Output Devices (Cont.)
LCD Monitors
Liquid crystal can appear as a solid at low temperatures and high pressures
Liquid crystal can appear as a liquid at high temperatures and low pressures
LCD Monitor
Output Devices (Cont.)
LCD Monitors
Sound systems are especially useful to people who use their computer to create or
use multimedia products, watch videos or listen to music
The most complicated part of a computer’s sound system is the sound card
A computer’s sound card is a circuit board that converts sound from analog to digital
form, and vice versa, for recording or playback
Output Devices (Cont.)
Sound System
To listen the audio, the sound card accepts digital sounds and translates it into the
electric current that is sent to the speakers, which are connected to the card’s output
jacks
Speakers
Output Devices (Cont.)
Printers
• Non-Impact
Output Devices (Cont.)
Impact Printers
An impact printer creates an image by using pins or hammers to
press an inked ribbon against the paper
The most common type of impact printer is the dot matrix printer
A dot matrix printer creates an image by using a mechanism called a
print head
Examples of non-impact printers are Ink Jet Printers and Laser Printers
Ink Jet Printers create an image directly on the paper by spraying ink
through tiny nozzles
Laser Printers utilize a laser beam to form characters and work like
photocopiers and their print quality is higher
Laser Printers are more expensive and faster than ink jet printers
Output Devices (Cont.)
Plotters
A plotter is a special kind of output device that
gives very neat and best quality of graphic designs
It is like a printer because it produces images on
paper
But the plotter is typically used to print large-
format images, such as construction drawings
created by an architect
Plotters are very much useful for engineers,
architects, and designers
Plotter
Computer Memory
The CPU contains the basic instructions needed to
operate the computer
But the CPU cannot store entire programs or large
sets of data permanently
The CPU needs to have millions of bytes of space
where it can quickly read or write programs and data
while they are being used
This area is called memory, and it consists of chips
either on the motherboard or on a small circuit board
attached to the motherboard
Computer Memory (Cont.)
There are two major classes of computer memory:
Volatile (Nonpermanent)
Nonvolatile (Permanent)
Cheaper DRAM is used in main memory while SRAM is commonly used in cache
memory
Non-Volatile Memory
Nonvolatile chips hold data even when the computer is unplugged
During normal use, the data in these chips is only read and used–
not changed– so the memory is called read-only memory (ROM)
Gaining access to the data was slow due to the way data is
organized on tape, as a long stream of ones and zeroes, an
arrangement known as "sequential"
It includes the hard disk, the motor that spins the platters, and a set of read/write
heads
Magnetic Storage (Cont.)
Magnetic Storage (Cont.)
Heads
The number of heads is relative to the total number of sides of all the platters used to
store data
If a hard disk drive has four platters, it can have up to eight heads
Magnetic Storage (Cont.)
Organizing Data on Disk
Just as you need an organization scheme to file documents in a
file cabinet so you can find them later, the disk also needs one
The tracks are numbered from the outermost circle to the innermost, starting with 0
Magnetic Storage (Cont.)
Magnetic Storage (Cont.)
Sectors
A sector is a single segment of a disk created by cross-sectioning divisions that
intersect all the tracks
A hard disk drive is cut into tens of thousands of small arcs, like a pie
Or a set of tracks (all of the same diameter) through each head is called a cylinder
All of the tracks with the same track number on all of the hard drive’s surfaces form a
cylinder
Magnetic Storage (Cont.)
Magnetic Storage (Cont.)
Clusters
The term clusters (also called allocation units) refers to minimum area that a file can
take up on the hard drive
An operating system uses blocks, which are in fact groups of sectors (between 1 and
16 sectors)
So that the computer can go directly to a specific point on it without searching through
data
When the user software, such as MS Word, asks to read a file from the hard disk, the
operating system (Windows 95/98 or NT) asks the file system (FAT or NTFS) to open
the file
The file system knows where files are saved. It finds and reads the relevant sectors and
delivers the data to the operating system
Magnetic Storage (Cont.)
File System
File system is the way in which files are named and where they are placed logically for
storage and retrieval
The DOS, Windows, OS/2, Macintosh, and UNIX-based operating systems all have file
systems in which files are placed somewhere in a hierarchical (tree) structure
A file system also includes a format for specifying the path to a file through the
structure of directories
You must install the book shelves and the catalogue system before any books are put in
place
Magnetic Storage (Cont.)
File System
Once the library is ready, bring on the books! Similarly with a disk
When we format it, we "burn in" a file system to make it ready to receive data (files)
FAT 32 introduced in service pack 2 of Windows 95, and also supported by Windows
98, Windows Me, Windows 2000 and Windows XP
Some areas of the disc reflect the laser light into a sensor, and other areas scatter the
light
A spot that reflects the laser beam into the sensor is interpreted as a 1, and the
absence of a reflection is interpreted as a 0
The latest generation of DVD-ROM disc actually uses layers of data tracks, effectively
doubling their capacity
Control unit works like the traffic signal directing the flow of data through the CPU, as
well as to and from other devices
Central Processing Unit (Cont.)
Arithmetic Logic Unit (ALU)
Because all computer data is stored as numbers, much of the
processing that takes place involves comparing numbers or
carrying out mathematical operations
So the computer can perform two types of operations
• Arithmetic Operations
• Logical Operations
The control unit tell the ALU to load the data into registers from the memory
Then ALU performs the calculation and stores the result in other registers
Machine Cycle
Each time the CPU executes an instruction, it takes
a series of steps
Execution Cycle
Machine Cycle (Cont.)
Instruction Cycle
During the instruction cycle, the CPU takes two steps:
• Fetching
• Decoding
Execution Cycle
During this CPU also takes two steps:
• Executing
• Storing