Computer Hardware
1
Contents
Hardware and Software
Relationship between Hardware and Software
Basic Units of Computer Hardware
Internal Structure of CPU
2
Hardware and Software
Hardware represents the physical and tangible
components of the computer i.e. the components that
can be seen and touched.
Software is a collection of programs.
Examples of Hardware are following .
Input devices -- keyboard, mouse etc.
Output devices -- printer, monitor etc.
Secondary storage devices -- Hard disk, CD, DVD etc.
Internal components -- CPU, motherboard, RAM etc.
3
Relationship between Hardware and Software
Mutually dependent. Both of them must work together to
make computer produce a useful output.
Software cannot be utilized without supporting hardware.
Without software, hardware cannot be utilized and is useless.
To get a particular job done on the computer, relevant software
should be loaded into the hardware
Different software can be loaded on a hardware to run
different jobs.
A software acts as an interface between the user and the
hardware.
4
Basic Units of Computer Hardware
A Computer can process data, pictures, sound and graphics.
They can solve highly complicated problems quickly and
accurately.
A computer as shown in Fig-1 performs basically five major
computer operations or functions irrespective of their size and
make.
These are:
1) it accepts data or instructions by way of input
2) it stores data
3) it can process data as required by the users
4) it gives results in the form of output
5) it controls all operations inside a computer.
5
Fig-1
6
Input unit
This unit is used to process of entering data and programs into the
computer system.
Therefore, the input unit takes data from us and provide it to the
computer in an organized manner for processing.
7
Fig: Input Devices
Storage Unit
This unit is used to process of saving data and instructions
is known as storage.
Data has to be fed into the system before the actual
processing starts.
Therefore the data is first stored in the storage unit for
faster access and processing.
It provides space for storing data and instructions.
The storage unit performs the following major functions:
• All data and instructions are stored here before and after
processing.
• Intermediate results of processing are also stored here.
8
9
Arithmetic Logical Unit (ALU)
After you enter data through the input device it is stored
in the primary storage unit.
The actual processing of the data and instruction are
performed by Arithmetic Logical Unit.
The major operations performed by the ALU are
addition, subtraction, multiplication, division, logic and
comparison.
10
Cont…
Data is transferred to ALU from storage unit when
required.
After processing the output is returned back to
storage unit for further processing or getting stored.
The task of performing operations like arithmetic
and logical operations is called processing.
It is then sent back to the storage unit.
11
Control Unit
The next component of computer is the Control Unit,
which acts like the supervisor seeing that things are done
in proper fashion.
It is responsible for coordinating various operations using
time signal.
The control unit determines the sequence in which
computer programs and instructions are executed.
It coordinates the activities of computer’s peripheral
equipment as they perform the input and output.
12
Cont…
Controlling of all operations like input, processing and
output are performed by control unit.
It takes care of step by step processing of all operations
inside the computer.
It coordinates the flow of data and instructions.
It contains a clock that generates a uniform stream of
electrical pulses that synchronize the operating of the
CPU and other computer components.
13
The Central Processing Unit (CPU)
The ALU and the CU of a computer system are jointly known
as the central processing unit.
It is just like a brain that takes all major decisions, makes all
sorts of calculations and directs different parts of the computer
functions by activating and controlling the operations.
The CPU takes data and instructions from the storage unit and
makes all sorts of calculations based on the instructions given
and the type of data provided.
It receives input.
It interprets instructions provided by programs.
It directs other components of the system to act.
It processes data.
It controls output.
14
Internal Structure of CPU
CPU
Control
Unit ALU
Bus Registers
Memory
Registers: They hold program instructions, data values, and
memory locations as the computer executes a program.
Buses: They are electrical pathways that carry signal (bits)
between a CPU’s components and outside devices.
15
Output Unit
This unit is used to produce results from the data for
getting useful information.
The output produced by the computer after processing must
also be kept somewhere inside the computer before being
given to you in human readable form.
The output is also stored inside the computer for further
processing.
16
Thank You
17