Computer Hardware
Computer Hardware
A Computer system is divided into three main categories of hardware units. Those
are below:
Input-Output units: Input devices (keyboard, mouse etc.) and output devices such
as monitor, printer etc.
Memory units: Primary memory such as RAM, ROM and secondary memory such
as HDD, DVD, Pen Drive etc.
Processing unit: Central Processing Unit (CPU) or microprocessor.
Computer System
Secondary
Memory
(HD, CD, DVD )
CPU
(Processor)
P = Program
Secondary D = Data
Memory Ins = Instruction
(HD, CD, DVD ) Inf = Information
P, D Inf
Ins, D Inf
CPU
(Processor)
To execute a program, the program along with its data must be loaded into
primary memory RAM either directly from an input unit or from a secondary
memory. CPU then takes one instruction and its corresponding data from
RAM. Using that instruction the data is processed and information is
generated. The generated information is then stored back to RAM. Finally,
the information is sent to the output unit and/or saved in secondary memory
for future use.
Central Processing Unit (CPU)
What is a CPU?
Answer: A CPU is a single chip used to perform most of the operations of a
computer system. It is called the brain of a computer. Because, a brain
controls all the operations of a human body, similarly, a CPU controls all the
operations of a computer system directly or indirectly. The CPU of a
microcomputer is called microprocessor or simply processor.
Example: Intel Core i3, Core i5, Core i7, Motorola 68000, Celeron etc.
Internal Block Diagram and Functions of a CPU
Internal Block Diagram:
A CPU has two major units such as Arithmetic Logic Unit (ALU) and Control
Unit (CU). It has some local or internal memories which are called registers.
These registers are smallest in capacity but fastest in operation and used to
store data and instructions before and during execution of a program. After
execution they store information. A CPU can also have another type of
memory called Internal cache memory . The cache memory is used to support
the main memory to enhance the system efficiency. It is used to store block of
data and instruction required by a program.
Internal Block Diagram of a CPU
CPU
Arithmetic Logic
Unit (ALU)
Control Unit
(CU)
Registers
Register-1
Register-2
:
:
Registers-N
Internal Cache
Memory
The functions of a CPU are discussed by it’s internal units. These functions
are below:
Functions of ALU
It controls all the units connected with the computer system by generating
necessary control signals. The possible control signals are