Principles of Computing
any computer needs two things to work with:
1. Hardware
2. Software
Hardware - Computer machines and parts are called hardware. Hardware is the physical structure of the computer. In fact, all the things we can see and touch come under hardware. Such as System Unit, Monitor, Printer, Keyboard, Mouse, Memory Device etc.
Software - Hardware cannot edit any task itself Must be instructed to the hardware to edit any task. This work is done by software.
Working principle of computer
the functioning of the computer is generally divided into five parts which are required for all types of computers:
(i) Input - The act of inserting data and instructions (Data and Instructions) into a computer is called input. It is completed by the input unit.
(ii) Storage - Data and instructions are stored in the memory unit so that they can be used as per requirement Intermediate and Final results.
(iii) Processing - The data received by the input is converted into information by arithmetic and logical calculations (Arithmetic and Logical Operations) as per instructions and the desired tasks are carried out.
(iv) Output - The task of displaying information or results to the user after processing by the computer is called output. It is completed by the output unit.
(v) Control - Controlling and coordinating tools, instructions and information used in various processes.
Main components of computer
the internal structure of the computer may vary from computer to computer, but depending on the methodology, they can be divided into the following parts:
1. Input Unit
2. Storage Unit or Memory
3. System Unit
a) Mother board
b) Central Processing Unit (CPU)
c) Primary or Main Memory
4. Output Unit
Electrical mechanical (Electromechanical) device used to insert data, programs, instructions (Instructions) and instructions (Commands) into the computer is called input device. The input unit receives data and instructions from the user and converts it into digital form and submits it for processing. Since the computer can only understand binary signals (0 and 1 or on and off), all input devices convert data and instructions into binary signals with the help of input interface (Input interface).
the functions of the input device are as follows:
1. accepting data, instructions and programs.
2. convert them into binary codes.
3. to give the changed code to the computer system.
Some examples of input devices are Keyboard, Mouse, Joystick, Lightpen, Scanner, Barcode reader, MICR, Punchcard Reader
Storage Unit or Memory
data and instructions are placed in memory before processing. the interim and final results obtained by the process are also kept in memory.
thus memory protects -
1. data and instructions given for process
2. Intermediate results
3. Final results
memory which is mainly divided into two parts:
(i) Primary or Main Memory - It is electronic memory located inside the computer system unit. Its memory capacity is low while the speed is fast. It stores temporary instructions and immediate results. It is a temporary (Volatile) memory in which the information is also lost when the computer is turned off. Data and instructions are temporarily placed in primary memory just before processing. The interim results and output received are stored in primary memory before displaying. Semiconductor Register, Cache, ROM and RAM are examples of primary memory. These are made up of registers or cache memory within CPU or microprocessors, while ROM and RAM are on the motherboard. CPU is directly related to cash memory.
(ii) Secondary or Auxiliary Memory - Data, software and end results are permanently stored in auxiliary memory. Data is brought from auxiliary memory to the main memory before the data process is brought by the computer process. Auxiliary memory has the ability to store huge data at a lower cost. It is a permanent (Non-volatile) memory in which data is not lost even when the computer is turned off or electricity is not available. Magnetic disk, Optical disk, Harddisk etc. are examples of auxiliary memory.
Registers - It is a very high speed primary memory built with CPU or microprocess. It is also known as the executive memory of the CPU. CPU is able to processing the data in the register. Therefore, data and instructions are transferred to the register before processing. The Access time of register memory can be 1-2 nano seconds.
Cache Memory - Cache memory is directly connected to CPU, so the computer motherboard system bus does not have to be used to access data from cache memory to CPU. Therefore, the speed of data transfer is faster. CPU first looks for cache memory for the desired information. If the desired information is not found in the cache memory, it will be RAM/out. It is searched in ROM. Cache memory acts as a buffer between CPU and main memory. Cache memory is extremely fast memory but it is more expensive. The Access time of cache memory can be up to 2-10 nano seconds.
RAM - RAM is a semiconductor memory chip mounted in a memory slot on the motherboard. It is a temporary (Volatile) primary memory in which access time of data does not depend on the physical state of the data. Hence, its speed is fast. During processing, data and instructions are brought from the assistant and stored in the RAM. CPU receives them from RAM and processes data. An interim or final result is permanently stored in RAM.
ROM - ROM semiconductor is a memory chip installed by a computer manufacturing company on a computer motherboard. ROM is a permanent (Non-Volatile) primary memory in which the stored data is neither destroyed nor replaced. Software required to start the computer is stored in ROM.
CMOS Chip - Some information and settings in the computer are constantly changing but the computer has to keep updating them. Even if a personal computer is turned on after some time or a few days, it tells us the exact time and day of the present. Such information is stored in CMOS chip memory. CMOS chip memory is a semiconductor memory installed on the computer motherboard with a button-shaped battery, which keeps CMOS memory working even when the computer is off.
System Unit
The system unit of a personal computer is its main hardware. The system unit is like a box. All hardware systems in the computer are located in the unit except input and output devices. The system unit consists mainly of power supply units, motherboards, CPU or Microprocessor, Main memory and many ports.
1. Motherboard - Motherboard is the main circuit board of a computer. The entire computer revolves around the motherboard. The motherboard is equipped with equipment like CPU, ROM, RAM Memory etc. Other computer devices such as Input unit, Output Unit, Harddisk Drive, Sound card, Video card etc. are connected to motherboards and in future Expansion slots are also made on the motherboard to connect hardware devices.
2. Computer Bus - A group of conductor wires on the motherboard that moves computer data and signals from one place to another within the computer system is called a computer bus. Instructions and information are exchanged between CPU and other hardware and peripheral devices of the computer system through bus route.
Internal / System Bus - Data and signals are exchanged between devices on the motherboard by internal or system bus. It has a fast pace of data transfer. The system is simply divided into three parts - Data bus, Address bus and Control bus.
External / Expansion Bus - External or Expansion bus computer connects peripheral devices such as Keyboard, Mouse, Monitor, Printer, Harddisk, CD Drive etc. to the motherboard. It has a relatively slow pace of data transfer.
3. CPU or Microprocessor - CPU is also known as the brain (Brain of Computer) of a computer, it controls, directs and coordinates all computer functions (Control, Supervise and Co-ordinate). The CPU also does the job of processing the data as directed. CPU is actually a dense IC Chip also known as microprocessors. Works on the basis of CPU stored program instructions. Before processing, data and instructions are temporarily stored in a register made in CPU CPU performs arithmetic and logical actions (Mathematical and Logical Operations) for data processing as per the instructions in the register. All data processing works are carried out by CPU.
THE MAIN FUNCTIONS OF CPU ARE:
1. to determine the order of various procedures.
2. controlling and directing various computer devices.
3. coordination between computer hardware and software.
4. processing of input data as directed.
CPU CAN BE DIVIDED INTO THREE MAIN PARTS IN TERMS OF HARDWARE:
1. Control Unit
2. Arithmatic logic unit
3. Memory register
1. Control Unit - The control unit of the CPU controls all the functions of the computer and coordinates between software and hardware The control unit has a list of tasks that can be performed by CPU called instruction set Control Unit is called Computer Pulse System (Nerve system).