Introduction to Computers

What is a Computer or  Define the term computer
The word Computer is derived from a Latin word “Computare” which mean to count or to calculate. It is an extension of human mind, which can perform several tasks with a great speed and accuracy. Computer is just like a dumb servant, which obey the instruction given to it by its users. It gets input of data in any form and provides us output in a meaningful form after processing.
Definition:
We can define computer as follows:
                “A computer is an electronic device, which takes data as input, processes it and provides result as output under given instruction.”
The more comprehensive definition,

                “Computer is an electronic data processing machine which takes the input , store the data in its memory then processing it which the help of Arithmetic logic Unit (ALU) under the supervision of Control Unit (CU) and gives us the out put according to instructions (Programs)”

The following five units (also called "The functional units") correspond to the five basic operations performed by all computer systems.
How a Computer Works



Input Unit

Data and instructions must enter the computer system before any computation can be performed on the supplied data. The input unit that links the external environment with the computer system performs this task. Data and instructions enter input units in forms that depend upon the particular device used. For example, data is entered from a keyboard in a manner similar to typing, and this differs from the way in which data is entered through a mouse, which is another type of input device. However, regardless of the form in which they receive their inputs, all input devices must provide a computer with data that are transformed into the binary codes that the primary memory of the computer is designed to accept. This transformation is accomplished by units that called input interfaces. Input interfaces are designed to match the unique physical or electrical characteristics of input devices to the requirements of the computer system.
In short, an input unit performs the following functions.
  1. It accepts (or reads) the list of instructions and data from the outside world.
  2. It converts these instructions and data in computer acceptable format.
  3. It supplies the converted instructions and data to the computer system for further processing.

Output Unit

The job of an output unit is just the reverse of that of an input unit. It supplied information and results of computation to the outside world. Thus it links the computer with the external environment. As computers work with binary code, the results produced are also in the binary form. Hence, before supplying the results to the outside world, it must be converted to human acceptable (readable) form. This task is accomplished by units called output interfaces.
In short, the following functions are performed by an output unit.
  1. It accepts the results produced by the computer which are in coded form and hence cannot be easily understood by us.
  2. It converts these coded results to human acceptable (readable) form.
  3. It supplied the converted results to the outside world.
  4. Storage Unit

    The data and instructions that are entered into the computer system through input units have to be stored inside the computer before the actual processing starts. Similarly, the results produced by the computer after processing must also be kept somewhere inside the computer system before being passed on to the output units. Moreover, the intermediate results produced by the computer must also be preserved for ongoing processing. The Storage Unit or the primary / main storage of a computer system is designed to do all these things. It provides space for storing data and instructions, space for intermediate results and also space for the final results.
    In short, the specific functions of the storage unit are to store:
    1. All the data to be processed and the instruction required for processing (received from input devices).
    2. Intermediate results of processing.
    3. Final results of processing before these results are released to an output device

    Central Processing Unit (CPU)



The main unit inside the computer is the CPU. This unit is responsible for all events inside the computer. It controls all internal and external devices, performs"Arithmetic and Logical operations". The operations a Microprocessor performs are called "instruction set" of this processor. The instruction set is “hard wired” in the CPU and determines the machine language for the CPU. The more complicated the instruction set is, the slower the CPU works. Processors differed from one another by the instruction set. If the same program can run on two different computer brands they are said to be compatible. Programs written for IBM compatible computers will not run on Apple computers because these two architectures are not compatible.
The control Unit and the Arithmetic and Logic unit of a computer system are jointly known as the Central Processing Unit (CPU). The CPU is the brain of any computer system. In a human body, all major decisions are taken by the brain and the other parts of the body function as directed by the brain. Similarly, in a computer system, all major calculations and comparisons are made inside the CPU and the CPU is also responsible for activating and controlling the operations of other units of a computer system.

Arithmetic and Logic Unit (ALU)

The arithmetic and logic unit (ALU) of a computer system is the place where the actual execution of the instructions take place during the processing operations. All calculations are performed and all comparisons (decisions) are made in the ALU. The data and instructions, stored in the primary storage prior to processing are transferred as and when needed to the ALU where processing takes place. No processing is done in the primary storage unit. Intermediate results generated in the ALU are temporarily transferred back to the primary storage until needed at a later time. Data may thus move from primary storage to ALU and back again as storage many times before the processing is over. After the completion of processing, the final results which are stored in the storage unit are released to an output device.
The arithmetic and logic unit (ALU) is the part where actual computations take place. It consists of circuits that perform arithmetic operations (e.g. addition, subtraction, multiplication, division over data received from memory and capable to compare numbers (less than, equal to, or greater than).
While performing these operations the ALU takes data from the temporary storage are inside the CPU named registers. Registers are a group of cells used for memory addressing, data manipulation and processing. Some of the registers are general purpose and some are reserved for certain functions. It is a high-speed memory which holds only data from immediate processing and results of this processing. If these results are not needed for the next instruction, they are sent back to the main memory and registers are occupied by the new data used in the next instruction.
All activities in the computer system are composed of thousands of individual steps. These steps should follow in some order in fixed intervals of time. These intervals are generated by the Clock Unit. Every operation within the CPU takes place at the clock pulse. No operation, regardless of how simple, can be performed in less time than transpires between ticks of this clock. But some operations required more than one clock pulse. The faster the clock runs, the faster the computer performs. The clock rate is measured in megahertz (Mhz) or Gigahertz (Ghz). Larger systems are even faster. In older systems the clock unit is external to the microprocessor and resides on a separate chip. In most modern microprocessors the clock is usually incorporated within the CPU.

Depending on the type of CPU you have, the control unit will do different things. It may:
  • Send and receive control signals from other devices, working as the bridge between the processor that is doing the work and the other devices in the computer
  • Interpret instructions by converting the instructions it receives into the format the processor needs to perform the function
  • Perform sequential instruction execution to make sure that as the processor works and is getting commands in the order it needs to receive them in
  • Guide data flow in and out of the processor and in and out of random access memory (RAM), which is considered the working space of the computer
  • Regulate and control timing signals for the computer, which means the control unit is responsible for instigating what is called the machine cycle, or the pulse of information packets, to make sure information packets are sent out regularly (every few milliseconds)
  • Make sure that commands that come out of the CPU are carried out or executed correctly, and if they aren't, the control unit institutes corrections
Here's what happens:
Control Unit: Simple Data Flow Diagram

Control Unit: Simple Data Flow Diagram









Comments

Popular posts from this blog

Work certified and uncertified

Sale of Goods Act- Conditions and Warranties

E Commerce Security environment