CPU Stands for Central Processing Unit. CPU is considered as the brain of the computer. CPU perform all types of data processing operations. It stores data, intermediate results and instructions (program). It controls the operation of all parts of computer. CPU itself has following three components.
Components Or Parts Of CPU
(A) ALU – This unit consists of two subsection namely: (i) Arithmetic section. (ii) Logic section
(i) Function of Arithmetic section is to perform arithmetic operations like addition, subtraction, multiplication & division. All complex operations are done by making repetitive use of above operations.
(ii) Function of logic section is to perform logic operations such as comparing, selecting, matching and merging of data.
The arithmetic & logic unit contains a number of storage locations referred to as registers. These registers are composed of electronic circuitry having the capability of adding, subtracting, multiplying, rounding off etc. The number of registers in a computer vary from model to model. However, the basic registers in any computer are the adder and the accumulator.
(B) Control Unit – Control unit controls the operations of all parts of computer. It does not carry out any actual data processing operations. Functions of this unit are:
(i) It retrieves instructions from the main memory and determines what is to be taken.
(ii) It then retrieves the data required to be processed from the main memory.
(iii) It causes the CPU to actually carry out required operations and determines whether the required operations have been carried out or not.
(iv) It places the processed results in the output area of the memory
(v) It fetches the next instruction from the memory and repeat the whole cycle of operations outlined above.
In addition to the above, the control unit also oversees to ensure that erroneous data does not enter into the system. For example, if an event like numeric data consisting of alphabets or a number is divided by zero occurs, then control unit displays an error on the screen to warn computer operator (user).
In order to carry out these operations, the control unit also has its own set of registers (Like those of ALU). The basic registers of the control unit are the instruction register, the decoder & the address register.
(C) Memory or Storage Unit – This unit can store instruction, data and intermediate results. This unit supplies information to the other units of the computer when needed. It is also known as internal storage unit or main memory or primary storage or Random access memory (RAM). Its size affects speed, power and capability. The main memory can be divided into four areas that have no fixed or built-in-physical boundaries within the memory. These areas are:
(i) Input storage area
(ii) Working storage area
(iii) Output storage area
(iv) Program storage area.
There are two types of memories in the computer. The first type is called as primary memory and the other type is called as secondary memory. The primary memory offers temporary storage and the secondary memory provides permanent storage.
Leave a Comment