Lecture 2
Lecture 2
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 .
3
Relationship between Hardware and Software
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
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
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
10
Cont…
Data is transferred to ALU from storage unit when
required.
After processing the output is returned back to
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
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
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
14
Internal Structure of CPU
CPU
Control
Unit ALU
Bus Registers
Memory
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
processing.
16
Thank You
17