CBCS Mathematical Physics Lab: Functional Components of a Computer

Dear Readers, Here you will learn about Functional Components of a Computer. Computers are seen everywhere around us, in all spheres of life. May it be the field of education and research, travel and tourism, weather forecasting, social networking, e-commerce or any other, computers have now become an indispensable part of our lives. Before entering the CBCS Mathematical Physics Lab course in details, I want to say few words about Functional Components of a Computer.

CBCS Mathematical Physics Lab:Functional Components of a Computer

The computer is the combination of hardware and software. Hardware are the physical components of a computer like motherboard, memory devices, monitor, keyboard etc. while software is the set of programs or instructions. Both hardware and software together make the computer system function. Let us first have a look at the functional components of a computer. Every task given to a computer follows an Input- Process- Output Cycle (IPO cycle). It needs certain input, processes that input and produces the desired output. The input unit takes the input, the central processing unit does the processing of data and the output unit produces the output. The memory unit holds the data and instructions during the processing.

Fig below shows the basic structure of the computer.

Input Unit

The input unit consists of input devices that are attached to the computer. These devices take input and convert it into binary language that the computer understands. Some of the common input devices are keyboard, mouse, joystick, scanner etc.

Central Processing Unit (CPU)

Once the information is entered into the computer by the input device, the processor processes it. The CPU is called the brain of the computer because it is the control centre of the computer. As the CPU is located on a small chip, it is also called the microprocessor. It first fetches instructions from memory and then interprets them so as to know what is to be done. If required, data is fetched from memory or input device. Thereafter CPU executes or performs the required computation and then either stores the output or displays on the output device. The CPU has three main components which are responsible for different functions – Arithmetic Logic Unit (ALU) , Control Unit (CU) and Memory registers.

Arithmetic and Logic Unit (ALU)

The ALU, as its name suggests performs mathematical calculations and takes logical decisions. Arithmetic calculations include addition, subtraction, multiplication and division. Logical decisions involve comparison of two data items to see which one is
larger or smaller or equal.

Control Unit

The Control unit coordinates and controls the data flow in and out of CPU and also controls all the operations of ALU, memory registers and also input/output units. It is also responsible for carrying out all the instructions stored in the program. It decodes the fetched instruction, interprets (understands) it and sends control signals to input/output devices until the required operation is done properly by ALU and memory.

Memory Registers

A register is a temporary unit of memory in the CPU. These receive data/information and then this data/information is held in them as per the requirement. Registers can be of different sizes(16 bit , 32 bit , 64 bit and so on) and each register inside the CPU has a specific function like storing data, storing an instruction, storing address of a location in memory etc. The user registers can be used by an assembly language programmer for storing operands, intermediate results etc. Accumulator (ACC) is the main register in
the ALU and contains one of the operands of an operation to be performed in the ALU.

Memory

Memory attached to the CPU is used for storage of data and instructions and is called internal memory. During processing, it is the internal memory that holds the data. The internal memory is divided into many storage locations, each of which can store data or
instructions. Each memory location is of the same size and has an address. With the help of the address, the computer can find any data easily without having to search the entire memory. The internal memory is also called the Primary memory or Main memory. When the task is performed, the CU makes the space available for storing data and instructions, thereafter the memory is cleared and the memory space is then available for the next task. The time of access of data is independent of its location in memory, therefore this memory is also called Random Access memory (RAM). Primary memory is volatile in nature. That means when the power is switched off, the data stored in this memory is permanently erased. That is why secondary memory is needed to store data and information permanently for later use. Some of the examples of secondary storage devices are hard disk, compact disks, pen drives etc.

Output Unit

The output unit consists of output devices that are attached with the computer. It converts the binary data coming from CPU to human understandable from. The common output devices are monitor, printer, plotter etc.

 

Previous                                                           Main Menu                                                        Next Page

 

Leave a Reply

Your email address will not be published.