Central Processing Unit (Cpu)
Central Processing Unit (Cpu)
The Cpu also called the processor is the electronic device that interprets and carries out the instructions
that
i) Control unit
iii) Registers
i) Control unit.
This unit directs and coordinates most of the operations in the computer. For every instruction the
control unit
Performs the arithmetic, comparison and logic operations to data. Logical operations work with
conditions and
Iii) The registers are used by the cpu for temporary storage of data and instructions. The functions
include
computer
processing
Input device
instructions
Output device
data processing)
Examples Accumulator, current instruction register, program counter, memory buffer register.
MEMORY.
Stores the operating system and other software’s being run in the computer
a) Volatile memory: This type will lose its memory content when power is switched off. This type is
represented by RAM. RAM is a memory chip that the processor can read from and write to.
b) Non volatile memory: This type of memory does not lose its memory content when power is switched
off. It
is rep[resented by: ROM. ROM is a a memory chip that only can be read and used during the normal
operation of the computer. Ie it cannot be modified.
The backing storage: the backing storage stores data and programs permanently outside the system
unit. It is
characterised by mass storage because it is cheap and easy to fabricate as opposed to the main
memory.
• Main memory:
o holds the programs and data that the processor is actively working with.
RAM ROM
• Its content are user defined its contents are not user defined
• Secondary memory:
o the contents are easily changed, but this is very slow compared to main memory.
1. Fast
2. Expensive
3. Low capacity
1. Slow
2. Cheap
3. Large capacity