Components of A Computer
Components of A Computer
The five classic components of a computer are input, output, memory, datapath, and control.
Datapath and control are combined and called as the processor. The figure 1.1 shows the standard
organization of a computer. This organization is independent of hardware technology.
The organization of a computer, showing the five classic components.
1. Input writes data to memory
2. Output reads data from memory
3. Memory stores data and programs
4. Control sends the signals that determine the operations of the datapath, memory, input, and
output.
5. Datapath performs arithmetic and logic operations
The computer is a device that operated upon information or data. It is an electronic device
which accepts inputs data, stores the data, does arithmetic and logic operations and provides the
outputs in the desired format. The computer receives data, process it, produces output and stores
it for further references. So, a computer should have at least four major components to perform
these tasks. A block diagram of the basic computer organization has the following functional
units
Fig: Block diagram of computer architecture
1. Input Unit
The input unit is formed by the input devices attached to the computer. Input devices are used to
interact with a computer system or used enter data and instructions to the computer. These
devices convert input data and instructions into a suitable binary form such as ASCII, which can
be acceptable by the computer. In brief, an input unit performs the following function:
It stored data and instructions, which are entered through input devices.
It stores an intermediate result of processing.
It stores the final result of processing before these results are passed to an output device.
The storage unit of computers consists of two types of memory or storage: primary and
secondary storage:
i. Primary Storage
Memory storage that communicates directly with CPU is called main memory. It enables the
computer to store, at least temporarily data and instruction. It is mainly used to hold data and
instructions and as well as the intermediate result of processing which the computer system is
currently working on. Primary memory is volatile, that is, it lose its content when power supply
is off. The Random access memory (RAM) is an example of a primary to main memory.
ii. Secondary Storage
Auxiliary storage is also known as secondary storage. It is the memory that supplements the
main memory. These are a non-volatile memory. It is mainly used to transfer data to program
from one computer to another computer. There is high capacity storage devices used to store data
and program permanently. These are also used as backup devices which allows to store the
valuable information as backup on which you are working on. The examples of secondary
memory are Magnetic Disk, Optical disk, etc.
3. Central Processing Unit (CPU)
CPU is the component that actually responsible for interpreting and executing most of the
commands from the computer hardware and software and also controls the operation of all other
components such as memory unit, input and output devices. It simply accepts binary data as
input and processes data according to those instructions and provides the result as output. It is the
logic machine. So, its main function is run the program by fetching instructions from the RAM,
evaluating and executing them in sequence. In summary, the function of CPU are as follow:
It performs the data processing operations with the aid of program prepared by the user
and send control signals to various parts of the computer system.
It gives commands to transfer data from the input devices to the memory to an arithmetic
logic unit.
It also transfers the results from ALU to the memory and then to the output devices.
It stores a program in the memory.
It fetches the required instruction from the main storage and decode each instruction and
hence execute them in sequence.
Arithmetic Logic Unit
This is the area of CPU where various computing functions are performed on data. The ALU
performs arithmetic operations such as addition, subtraction, multiplication and division and
logical operation such as comparison AND, OR and Exclusive OR. The result of an operation is
stored in Accumulator or in some register. The main functions of ALU are as follow:
Program Counter (PC): Contains the address of the next instruction to be fetched.
Instruction Register (IR): Contains the instruction most recently fetched.
Memory Address registers (MAR): Contain the address of a location in memory for
read and write operation.
Memory Buffer Register (MBR): It contains the value to be stored in memory or the
last value read from memory.
Accumulator (ACC): An accumulator is a general purpose register used for storing
temporary result and result produced by the arithmetic logic unit.
5. Output Unit
The output unit is formed by the output devices attached to the computer. Output devices are
used to present result produced by the computer to the users. The output from the computer is in
the form electric signals, which is then converted into human understandable form into human
readable form.
The examples of output devices are the monitor, printer and speaker.
The main functions of the output unit are as follow:
Accepts the result produced by the computer which is in electric binary signals.
It then converts the result into human readable form.
Finally, it supplied the converted results to the outside word.