A computer is an electronic device that can perform activities that involve mathematical, logical, and graphical manipulations. Generally, the term computer is used to describe a collection of devices that function together as a system. It performs the following three operations in sequence.
Modern personal computers usually contain the following components:
Block Diagram of Computer
(a) Storage or Memory Unit: It is also known as the primary storage or main memory. It stores data, program instructions, internal results, and final output temporarily before it is sent to an appropriate output device. It consists of thousands of cells called - storage locations. These cells can store binary digits called bits. These bits are used to store instructions and data by their combinations.
(b) Arithmetic Logic Unit (ALU): An arithmetic-logic unit also known as ALU is the part of a CPU that carries out arithmetic and logic operations when instructions are given. Some processors have ALU divided into two units, an arithmetic unit (AU) and a logic unit (LU). Some processors contain more than one AU. Typically, the ALU has direct access to the processor controller, main memory, and input/output devices.
Inputs and outputs flow along an electronic path called a bus. The input is a set of instructions that contains an operation code. The operation code tells the ALU what task to carry out. The output is a result that is shown or placed in an output device indicating the operation was performed. It is the unit where all arithmetic operations (addition, subtraction, etc.) and logical functions such as true or false, male or female are performed. Once data are fed into the main memory from the input devices, they are held and transferred as needed by ALU where processing takes place.
No processing occurs in primary storage. Intermediately generated results in ALU are temporarily placed in memory until needed later. Data may move from primary memory to ALU and back again to store many times before the process is finalized.
(c) Control Unit: It acts as a central nervous system and ensures that the information is stored correctly and the program instructions are followed in proper sequence. The data are selected. from the memory as and when necessary. It also coordinates all the input and output devices of a system. A control unit tells the computer’s logic unit, memory, and both input and output devices how to respond to instructions received from a program. Examples of devices that utilize control units include Central Processing Unit (CPUs) and Graphics Processing Unit (GPUs). A control unit receives input information from the input devices and converts it into control signals, which are then sent to the central processor. The computer’s processor then tells the attached output device how to respond.
Some of the functions carried out by the CU:
(d) Secondary Memory: Secondary memory is a computer memory also known as secondary storage. It is non-volatile meaning that its data is not lost even when the power supply to the computer system is turned off. It cannot be processed directly from the main memory. It allows a user to store data that may be instantly and easily retrieved or transported. Some examples of secondary memory devices are magnetic disks like hard drives and floppy disks; optical disks like CDs and DVDs and magnetic tapes.
Computers can be classified in various ways depending upon their size, memory capacity, processing speed, etc. Here we are going to discuss the broadly accepted classification of a computer.
Analog Computer: An analog computer processes analog data. Analog data is continuous and has an infinite variety of values. These data include temperature, pressure, speed weight, voltage, depth, etc. Analog computers were the first computers to be developed. It provided the basis for the development of digital computers. Analog computers are widely used for specialized engineering and scientific applications, especially for the calculation of analog quantities.
Digital Computer: Most of the computers available today are digital computers. A digital computer employs digits to represent any kind of data. Digital computers process information which is based on the presence or the absence of an electrical charge or binary digits 1 or 0. It can be used to interpret both numeric and alphanumeric data. It can perform arithmetic operations like addition, subtraction, multiplication, division, and also logical operations. Some examples of digital computers are accounting machines and calculators. The results of digital computers are more accurate than those of analog computers.
Hybrid Computers: These computers are a combination of both analog computers and digital computers. Its examples are STD/PCO phone, where one communicates with a person using an analog computer and the rate as charges and pulse rate is measured in the form of digits. measuring heartbeat or ECG system in ICU in a hospital is another example of hybrid computers.
Difference between Analog and Digital Computer
Classification on the basis of Purpose
In a digital computer, classification can be done on the basis of purpose:
General Purpose Computer
These computers are designed to perform a variety of jobs or applications and are less efficient than special-purpose computers. It is used in banking, sales analysis, PCs, etc.
Special Purpose Computer
These are designed to meet the needs of some special applications. They are designed to perform a single job. Therefore, they execute a task quickly and more efficiently. Programs and instructions are stored permanently in them. They are used in weapon design.
1. Super Computer
These computers can handle the most complex scientific, statistical applications or programs. It can process trillions of instructions in a second. Its speed is measured in picoseconds. It is also used to forecast weather reports worldwide.
Key features are:
Example: PARAM
Disadvantages are:
2. Mainframe Computer
The CPU of the mainframe computer is connected to more than 100 terminals. It occupies approximately 1000 sq. feet of area. Insurance companies, banks, airline, and railway reservation systems use these computers. The most popular maker of these computers is IBM. Examples of mainframe computers are IBM 1401, ICL 2950/10.
Key features are:
Examples: PDP-370, IBM 40
Disadvantages are:
3. Mini Computer
Minicomputers are medium-sized computers. They are also known as mid-range computers. They are more reliable and faster than microcomputers. This computer is next in line but offers less than the mainframe in work and performance. These are the computers which are mostly preferred by the small business personnel, colleges, etc.
Key features are:
Examples: are PDP-11 and PDP-45.
Disadvantages are:
4. Micro Computer
Microcomputers are small, single-user computers that contain a single processor and a few input/ output devices. They are also known as ‘Personal Computers or PCs. These are the smallest computer systems on the basis of size. They are called micro because of the microprocessor it uses to operate. Microcomputers can be grouped into five smaller groups. They are
Key features are:
Examples: Uptron, HCL, PCL, Wipro, PCs, HP, PC-AT, PC-XT
5. Desktop Computers
This is also called HOME or Briefcase Computers. Desktop computers are used in the education system and small-scale industries.
Key features are:
Examples: PCL, Wipro, COMPAQ, HP, LEO, SAMSUNG, etc.
Disadvantages are: There execute limited software and languages related to windows.
6. Pocket Computer
Key features are:
Disadvantages are: There are executed on limited software and hardware.
A generation refers to the state of improvement in the development of a product. This term is also used in different advancements in computer technology. With the stages of each new generation, the circuitry has become smaller and more advanced than that of the previous generation. As a result speed, power, and memory of computers have proportionally increased.
The First Generation (1946-1958, The Vacuum Tube Years)
The first generation of computers was huge, slow, expensive, and often undependable. In 1946, two Americans, Presper Eckert, and John Mauchly built the ENIAC electronic computer which used vacuum tubes. The first-generation computers used vacuum tubes for circuitry and magnetic drums for memory. The ENIAC used thousands of vacuum tubes, which took up a lot of space and gave off a great deal of heat just like light bulbs do. The ENIAC led to other vacuum tube-type computers like the EDVAC (Electronic Discrete Variable Automatic Computer) and the UNIVAC (Universal Automatic Computer).
Features of the first generation:
The Second Generation (1959-1964, The Era of the Transistor):
The transistor computer did not last as long as the vacuum tube computer lasted, but it was no less important in the advancement of computer technology. In 1947, three scientists, John Bardeen, William Shockley, and Walter Brattain working at AT&T's Bell Labs invented what could replace the vacuum tubes forever. This invention was the transistor which functions as a vacuum tube and could be used to relay and switch electronic signals.
There were obvious differences between the transistor and the vacuum tube. The transistor was faster, more reliable, smaller, and much cheaper to build than a vacuum tube. One transistor was equivalent to 40 vacuum tubes. A transistor was very cheap to produce, much smaller, and did not produce heat as compared to vacuum tubes.
Features of the second generation:
The Third Generation (1965-1970, Integrated Circuits)
The integrated circuit (IC), sometimes referred to as a semiconductor chip, packs a huge number of transistors onto a single wafer of silicon. Robert Noyce of Fairchild Corporation and Jack Kilby of Texas Instruments independently discovered the amazing attributes of integrated circuits. Placing such large numbers of transistors on a single chip drastically increased the power of a single computer and lowered its cost considerably.
Since the invention of integrated circuits, the number of transistors that can be placed on a single chip has doubled every two years, shrinking both the size and cost of computers even further and further enhancing their power. Instead of punched cards and printouts, keyboards monitors were used to interacting with the operating system. Most electronic devices today use some form of integrated circuit placed on printed circuit boards called a motherboard.
Features of third-generation computers:
The Fourth Generation (1971-Today, The Microprocessor)
This generation can be characterized by the jump to the invention of the microprocessor (a single chip that could do all the processing of the full-scale computer). By putting millions of transistors onto one single chip, more calculations and faster speed could be reached by computers. Ted Hoff, employed by Intel (Robert Noyce's new company) invented a chip of the size of a pencil eraser that could do all the computing and logic work of the computer. The microprocessor was made to be used in calculators, not in computers. It led, however, to the invention of personal computers, or microcomputers.
Properties of Computers
Limitations of Computers
A computer can perform better than a human being in speed, memory, and accuracy, but it still has limitations.
Some limitations of a computer are as follows.
Programs or instructions have to be fed to computer components into two major areas, namely, hardware and software. Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic, and magnetic devices such as monitors, printers, electronic circuits, floppy, and hard disks.
As we all know the computer cannot do anything without instructions from the user. In order to do any specific job, you have to give a set of instructions to the computer. This set of instructions is called a computer program. A collection of programs is called software which increases the capabilities of the hardware.
The software guides the computer at every step in carrying out a particular task. The process of software development is called programming. Software and hardware are complementary to each other. Both have to work together to produce meaningful results. Producing software is more difficult and expensive than making hardware.
Computer software is normally classified into two broad categories.
1. Application Software
It is a set of one or more programs that are designed for the user to carry out operations for a specific application. Application software cannot run on itself but is dependent on system software to execute commands.
Some examples of application software are the following:
In later modules, you will learn about MS WORD, Lotus 1-2-3, and dBase III Plus. All these are application software. Another example of application software is a programming language. Among the programming languages, COBOL (Common Business Oriented Language) is more suitable for business applications whereas FORTRAN (Formula Translation) is useful for scientific applications. We will discuss languages in the next section.
An instruction is a set of programs that has to be fed to the computer for the operation of the computer system as a whole. When you switch on the computer, the programs written in ROM are executed, which activate different units of your computer and make it ready for you to work on it. This set of programs can be called system software.
Therefore, the system software may be defined as a set of one or more programs designed to control the operation of the computer system. System software is a general program designed for performing tasks such as controlling all operations required to move data into and out of the computer.
It communicates with printers, card readers, disks, tapes, etc, and monitors the use of various hardware components like memory, CPU, etc. System software contains programs Written in low-level languages which interact with the hardware at the most basic level. In addition, the system software is essential for the development of application software. System Software allows application packages to be run on the computer with less time and effort. Remember that it is not possible to run application software without system software.
Features of application software are:
The development of system software is a complex task and requires extensive knowledge of computer technology. Computer manufacturers build and supply system software with the computer system. DOS, UNIX, and WINDOWS are some of the widely used system software. Out of these, UNIX is a multi-user operating system whereas DOS and WINDOWS are PC-based. Without system software, it is impossible to operate a computer.
Our computer will not understand any languages like English, Hindi for the transfer of data and instruction. Therefore, there are programming languages specially developed so that you can pass your data and instructions to the computer to do a specific job. Names of some programming languages are FORTRAN, BASIC, COBOL, etc Therefore, instructions or programs are written in a particular language based on the type of job. For example, for scientific applications, FORTRAN and C languages are used. On the other hand, COBOL is used for business applications.
There are two major types of programming languages:
1. Low-Level Languages
The term low level means closeness to the way in which the machine has been built. Low-level languages are machine-oriented and require extensive knowledge of computer hardware and its configuration.
Machine Language
Machine language is the lowest-level programming language. These are languages that are understood by computers. They need not be converted to any form for the computer to understand. Machine languages are in a format that can be easily understood by computers but it is impossible for a human being to understand since it contains only numbers. It is comprised of just two digits 0 and 1 also known as binary digits. Programmers write codes in a higher-level language and convert them to machine language using assemblers or compilers.
For example, a program instruction may look like this:
1011000111101
It is not easy to learn a low-level language because of its difficulty to understand, though computers understand this language very efficiently. It is considered to be the first generation language. It is also difficult to debug the program written in this language.
Advantages
The only advantage is that the program of machine language runs very fast because no translation program is required for the CPU.
Disadvantages
Assembly Language
Advantages
Disadvantages
One of the major disadvantages is that assembly language is machine-dependent. A program written for one computer might not run on other computers with different hardware configurations.
2. High-Level Languages
You know that assembly language and machine level language require deep knowledge of computer hardware whereas in higher languages a programmer needs to know only the instructions in English words and the logic of the problem irrespective of the type of computer being used. In computer science, a high-level programming language is a programming language with a strong resemblance to the human language. Unlike, machine language it uses natural language elements, is easier to use, or may automate significant areas of computing systems making the process of developing a program much simpler. Some examples include BASIC, FORTRAN, Java, C++, and Pascal.
High-level languages are simple languages that use English and mathematical symbols like +, -, %, / etc. for their program construction.
A high-level language needs to be converted to a machine language for the computer to understand. High-level languages are problem-oriented languages because the instructions are suitable for solving a particular problem. For example, COBOL (Common Business Oriented Language) is mostly suitable for business-oriented language which requires very little processing and produces huge output. There are mathematically oriented languages like FORTRAN (Formula Translation) and BASIC (Beginners All-purpose Symbolic Instruction Code) where very large processing is required.
Thus, a problem-oriented language is designed in such a way that its instruction may be written more like the language of the problem. For example, business persons use business terms and scientists use scientific terms in their respective languages.
Advantages
High-level languages have a major advantage over machine and assembly languages as languages are easy to learn and use. It is because there they are similar to the languages used in our day-to-day life.
Translator
It is a computer program that translates all programming languages into an equivalent different computer language understood by the computer, without losing the functionality of the program. These include translations between high-level and human-readable computer languages such as C++, Java, and COBOL.
Some computer translators include interpreters, compilers, and assemblers.
An assembler translates the symbolic codes of programs of an assembly language into machine language instructions. The symbolic language is translated to the machine code in the ratio of 1:1 symbolic instructions to one machine code instruction. Such types of languages are called low-level languages. The assembler programs
Compilers are the translators, which translate all the instructions of a program into machine codes, which can be used again and again. The program, which is to be translated, is called the source program and after translation, the object code is generated. The source program is input to the compiler. The object code is output for the secondary storage device. The entire program will be read by the compiler first to generate the object code. The compiler displays the list of errors and warnings for the statements violating the syntax rules of the language.
Interpreters also come in the group of translators. It helps the user to execute the source program with a few differences as compared to compilers. The source program is just like English statements in both interpreters and compilers. The interpreter generates object codes for the source program. The interpreter reads the program line by line, whereas in compiler, the entire program is read by the compiler, which then generates the object codes. Interpreter directly executes the program from its source code. Due to this, every time the source code should be input to the interpreter. In other words, each line is converted into the object codes. It takes very less time for execution because no intermediate object code is generated.
Relationship between Hardware and Software
7 videos|27 docs|69 tests
|
|
Explore Courses for Class 9 exam
|