Table of Contents
Components of a Computer
A computer system consists of both hardware and information stored on the hardware. Information stored on computer hardware is often called software.
The hardware components of a computer system are the electronic and mechanical parts
The software components of a computer system are the data and computer programs.
The major hardware components of a computer system are:
- Processor
- Main memory
- Secondary memory
- Input devices
- Output devices
The below section describes briefly all the computer components in a computer system
Input Unit
The input unit is used for transfers’ raw Data and control signals into the information processing system by the user before processing and computation. All the input unit devices provide the instructions and data are transformed into binary codes that are the primary memory acceptable format.
Example of Input unit devices: keyboard, mouse, scanner, joystick, MICR, Punched cards, Punched paper tape, Magnetic tape, etc.
Memory or Storage Unit
Memory or Storage unit is used for storing Data during before and after processing. The capacity of storage is expressed in terms of Bytes.
The two terms Memory or Storage unit are used interchangeably, so it is important to understand what is the difference between memory and storage?
Memory
This unit retains temporary results until further processing, For example, Random Access Memory (RAM). This memory is volatile, which means data disappear when the power is lost.
Storage
The storage or “secondary storage” is used to retain digital data after processing for permanently. For example hard drive. The Storage is non-volatile in nature. CPU does not access directly to secondary storage memories, instead, they accessed via the input-output unit. The contents of secondary storage memories are first transferred to the main memory (RAM) and then CPU access it.
Output Unit
The output unit receives information from the CPU and then delivers it to the external storage or device in the soft or hard processed form. The devices which are used to display output to the user are called output devices. The Monitor or printer is a common output device.
Central Processing Unit
The main chip in a computer is the microprocessor chip, which is also known as the CPU (central processing unit). The CPU is mounted on a printed circuit board called the mainboard or motherboard. This chip is considered to be the controlling chip of a computer system since it controls the activities of other chips as well as outside devices connected to the computer, such as to monitor and printer. In addition, it can also perform logical and computational tasks. Microprocessors work on a parallel system. The figure shows a typical structure of one of the first-generation microprocessors. The recent ones possess greater complexity, although the basic design concept has not changed much.
The various activities that a microprocessor performs, such as storing data, doing arithmetic calculations (addition, subtraction, multiplication, division, etc.), are the result of instructions given to the CPU in the form of sequences of 0s and 1s. Microprocessors are designed to carry out a large number of instructions and all the instructions may be represented by different sequences of 0s and 1s. Each instruction is represented by a unique set of 0s and 1s.
The internal structure of a typical CPU consists of circuits which form a number of registers (the typical number is 16), an arithmetic unit for carrying out arithmetic operations, a logic unit, and a control unit.
Arithmetic logic unit (ALU)
Arithmetic Logical Unit is used for processing data after inputting data is stored in the primary unit. The major operations of the Arithmetic Logical Unit are addition, subtraction, multiplication, division, logic, and comparison.
Control unit (CU)
It is like a supervisor, that checks ordaining operations or check sequence in which instructions are executed.