




























































































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!





























































































Unit 1: [Computer Fundamentals] What is Computer The computer is one of the most versatile machine man had ever created. The word “computer” is derived from a Greek word “COMPUTE” which means to calculate. The objective of almost every computer is to execute user program. Actually computer is a programmable machine. A computer cannot do anything itself. Today’s computer is known as general purpose electronic computer that can perform any task given by user. A computer is a special electronic machine that can work on discrete (limited) values i.e., 0’s and 1’s. A computer system always produces accurate results. Its speed can be measured in milliseconds, microseconds, nanoseconds, or picoseconds. “CHARLES BEBBAGE” is the father of computer. The computer system looks like a human being i.e., it can receive data from user through input devices, it can process the data, it can display the result through output devices, it can store processed data that can be used in future. The improvement in science and technology cannot be improved without computers. Computers are available in different ranges & costs. In early days, an individual can’t afford to buy a computer because it was very costly and took large space. But now-a-days computers are less expensive and cost effective and every body can afford to buy a computer. A computer system has no I.Q (Intelligence qualification). A computer does not shy. A computer has no feeling. Characteristics Of Computer All computers have certain common characteristics irrespective of their type and size. Computer is not an adding machine instead it is capable of doing complex activities and operations. They are programmed to do complex activities and operations. There are number of characteristics of computer that makes it most versatile Notes Available @ Dar Photostat CUK Campus-I, Cell No.: 8803305198, E-Mail Id:[email protected]
machine in the existing world. Some of the main characteristics are as under: ACCURACY: It is one of the most important features of computer that makes it most versatile machine in the existing world. The level of accuracy depends on the instructions and the type of machine being used. Since the computer is capable of doing only what it is instructed to do. Errors can occur in a computer, but these are mainly due to human rather than technical weakness i.e., Garbage in garbage out (GIGO). VERSATILITY: Versatility is one of the most wonderful things about a computer. One moment it is preparing results of an examination, next moment it is busy preparing electrically bills, and in between, it may be helping an office secretary to trace an important letter in seconds. All that is required to change its talent is to slip in a new program(a sequence of instructions for the computers) into it. In brief, a computer is capable of performing almost any task, if the task can be reduced to a finite series of logical steps. SPEED: The computer can perform its operation at tremendous speed i.e., millions of instructions per seconds. In few seconds computers can perform such a huge task that a normal human being may take days or even years to complete. The computer can’t work in seconds instead it works in milliseconds(
- 3 ), microseconds( - ), nanoseconds( - ) and picoseconds( - ). NO FEELING: Computer has no feeling and no emotions because computer is a machine not a human being. They don’t shy for anything. DILIGENCES: Computer being a machine never feels any illness or lack of concentration. If four million calculations have to be performed, the computer will perform the last four millionth calculation with the same accuracy and speed as the first calculation. Notes Available @ Dar Photostat CUK Campus-I, Cell No.: 8803305198, E-Mail Id:[email protected]
provided to CPU with the same speed. Therefore the data is first stored in the storage unit for faster access and processing. This storage unit or the primary storage of the computer system is designed to do the above functionality. It provides space for storing data and instructions. The storage unit performs the following major functions: (a) All data and instructions are stored here before and after processing. (b) Intermediate results of processing are also stored here. Figure :Basic Computer Operations Processing: The task of performing operations like arithmetic and logical operations is called processing. The CPU or central processing unit takes data and instructions from the storage unit and makes all sorts of calculations based on the instructions given and the type of data provided. It is then sent back to the storage unit. The coprocessor or the arithmetic-logic unit does arithmetic and logical operations. The RAM temporarily stores information. Notes Available @ Dar Photostat CUK Campus-I, Cell No.: 8803305198, E-Mail Id:[email protected]
Output: This is the process of producing results from the data for getting useful information. Output devices display information on the screen (monitor) or the printer and sends information to other computers. They also display messages about what errors may have occurred and brings up message or dialog box asking for more information to be input. Again the output is also stored inside the computer for further processing. Figure: Computer The Arithmetic Logical Unit is an important component of the CPU, which carry the actual execution of the instructions. After entering the data through the input device it is stored in the primary storage unit. Then processing of the data and instruction are performed by Arithmetic Logical Unit. The major operations performed by the ALU are addition, subtraction, multiplication, division, logic and comparison. Data is transferred to ALU from storage unit when required. After processing, the output is Notes Available @ Dar Photostat CUK Campus-I, Cell No.: 8803305198, E-Mail Id:[email protected]
The evolution of computer started from 16th century and resulted in today’s modern machines. The present day computer, however, has also undergone rapid change over the years. This period, during which the evolution of computer took place, can be divided into five distinct phases known as Generations of Computers. Each new generation of computers is not only superior from their predecessor in processing and capabilities but also differs in looks and sizes. Each phase is distinguished from others on the basis of the type of switching circuits used. These Generations are: First Generation Computers (1940-1956) Second Generation Computers (1956-1963) Third Generation Computers (1964-1971) Fourth Generation Computers (1971-Present) Fifth Generation Computers (Present and Beyond) First Generation Computers: Vacuum Tubes (1940-1956) First generation computers are characterized by the use of vacuum tube. A vacuum tube was a fragile glass device, which used filaments as a source of electronics. It could control and amplify electronic signals. These vacuum tubes were used for calculation as well as storage and control. The first general purpose programmable electronic computer was the Electronic Numerical Integrator and Computer (ENIAC), built by J. Presper Eckert and John V. Mauchly at the University of Pennsylvania. The ENIAC was 30-50 feet long, weighed 30 tons, contained 18,000 vacuum tubes, 70,000 registers, 10,000 capacitors and required 150,000 watts of electricity. First generation computers were too bulky in size which required large room for installation and they used to emit large amount of heat, so air-condition was must for the proper working Notes Available @ Dar Photostat CUK Campus-I, Cell No.: 8803305198, E-Mail Id:[email protected]
of computers. Programs written in high level programming languages retranslated into assembly language or machine language by a compiler. Assembly language program retranslated into machine language by a program called an assembler (assembly language compiler). Before ENIAC was finished, Von Neumann designed the Electronic Discrete Variable Automatic Computer (EDVAC) with a memory to hold both a stored program as well as data. This enabled much faster operation since the computer had rapid access to both data and instructions. The other advantages of storing instruction were that computer could do logical decision internally. Eckert and Mauchly later developed what was arguably the first commercially successful computer, the Universal Automatic Computer (UNIVAC), in 1952. Examples: ENIAC, EDVAC, UNIVAC- Second Generation Computers: Transistors (1956-1963) Solid-State components (transistors and diodes) and magnetic core storage formed the basis for the second generation of computers. Transistor is a device composed of semiconductor material that amplifies a signal or opens or closes a circuit. Invented in Bell Labs, transistors have become the key ingredient of all digital circuits, including computers. Transistor replaced the bulky electric tubes in the first generation computer. Transistors perform the same functions as a vacuum tube, except that electrons move through solid materials instead of through a vacuum. Transistors were made of a semi-conducting material and controlled the flow of electricity through the circuit. They also allowed computers to become smaller and more powerful and faster at the same time. They are also less expensive, required less electricity and emitted less heat than vacuum tubes. Manufacturing cost was also very low. It is in the second generation that the concept of Central Processing Unit (CPU), Notes Available @ Dar Photostat CUK Campus-I, Cell No.: 8803305198, E-Mail Id:[email protected]
single thin slice of silicon. Development in ICs ranges from small scale integration (SSI) to medium scale integration (MSI). Multi layered printed circuits were developed and core memory was replaced by faster, solid state memories. The IC technology was also known as “microelectronics” technology, since large number of circuit could be integrated on a single chip. Computers of this generation were small in size, low cost, large memory and processing speed is very high. Higher level language such as BASIC (Beginners All purpose Symbolic Instruction Code) was developed during this period. Integrated solid-state circuitry, improved secondary storage devices, and new input/output devices were the most important advantages in this generation. The new circuitry increased the speed of the computer. Arithmetic and logical operations were now being performed in microseconds or even nanoseconds. The development of mini computers also took place during this generation. Examples: NCR 395, B6500, IBM 360, Fourth Generation Computers: Microprocessors (1971- Present) Fourth generation computers started around 1971 by using large scale of integration (LSI) in the construction of computing elements. LSI circuits built on a single silicon chip called microprocessors. A microprocessor contains all the circuits required to perform arithmetic, logic and control functions on a single chip. Because of microprocessors, the fourth generation includes more data processing capacity than equivalent-sized third generation computers. Due to the development of microprocessor it is possible to place computer’s central processing unit (CPU) on single chip. These computers are called microcomputers. Later very large scale Integrated ( VLSI) circuits replaced LSI circuits. What in the first Notes Available @ Dar Photostat CUK Campus-I, Cell No.: 8803305198, E-Mail Id:[email protected]
generation filled an entire room could now fit in the palm of the hand. The Intel 4004chip, developed in 1971, located all the components of the computer - from the central processing unit and memory to input/output controls - on a single chip. The major innovations in this generation were the development of microelectronics and the different areas in computer technology such as multiprocessing, multiprogramming, time-sharing, operating speed, and virtual storage. During this period, high speed vector processors changed the scenario of high performance computing. Mostly microcomputers and workstations were introduced for time shared mainframe computers. Thus the computer which was occupying a very large room in earlier days can now be placed on a table. The personal computer is a Fourth Generation Computer. It is the period when evolution of computer networks also took place. Examples: Apple II, Alter 8800 Fifth Generation Computers (Present and Beyond) Fifth generation computers, based on artificial intelligence, are still in development, though there are some applications, such as voice recognition, that are being used today. Artificial Intelligence is the branch of computer science concerned with making computers behave like humans and allow the computer to take its own decision. Currently, no computers exhibit full artificial intelligence (that is, are able to simulate human behaviour). The greatest advances have occurred in the field of games playing. The best computer chess programs are now capable of beating humans. Today, the hottest area of artificial intelligence is neural networks, which are proving successful in a number of disciplines such as voice recognition and natural-language processing. There are several programming languages that are known as AI languages Notes Available @ Dar Photostat CUK Campus-I, Cell No.: 8803305198, E-Mail Id:[email protected]
Classification Of Computers Computers are available in different sizes, shapes, and weights. Due to these different sizes and shapes, they perform different sort of jobs from one another. They can be classified in different ways. All the computers are designed by qualified computer architects who design these machines as per different requirements. A computer that is used in a home differs in size and shape from the computer being used in a hospital. Following sections are going to describe different classifications of computers. The term “capacity” refers to the volume of work or the data processing capacity a computer can handle. Their performance is judged by the:
1. Amount of data that can be stored in memory. 2. Speed of internal operation of the computer. 3. Number and type of peripheral devices. 4. Amount and type of software available for use with the computer. The capacity of early generation computers were determined by their physical size- the large the size, the greater the volume. In computer terms, size and speed of operation are at present proportionate to each other. Generally, though, recent, technology is tending to create smaller machines, making it possible to package equivalent speed and capacity in a smaller format. Microcomputers: The mass production of silicon chips since 1971 has made it possible to put a “brain” into all sorts of machines. One such machine is the microcomputer. This machine has taken fullest advantage of the use of large-scale integration on silicon chips. The microprocessors literally contain a computer on a chip that can pass through the eye of needle. Microcomputers memories are generally made of semiconductors fabricated on silicon’s chips. It is a digital Notes Available @ Dar Photostat CUK Campus-I, Cell No.: 8803305198, E-Mail Id:[email protected]
computer system under the control of a stored program that uses a microprocessor, a programmable read-only memory (ROM), and a random-access memory (RAM). The ROM defines the instructions to be executed by the computer while RAM is the functional equivalent of computer memory. Today microcomputers are called as Personal Computers more commonly as PCs. These are small, relatively inexpensive computers designed for personal use in home or offices. Minicomputers: Technological advances in the 1960's enabled manufactures to respond to the growing demand for a similar stand- alone machine, the minicomputer, to handle task that large computers could not perform economically. Minicomputer systems (or small mainframe computers) provide faster operating speeds and larger storage capacities than microcomputers systems. These Computers can support a large number of high-speed input/output devices. Several desk drives can be used to provide online access to large data files as required for direct - access processing. Operating system developed for minicomputer systems generally support both multiprogramming and virtual storage. This means that many programs can be run concurrently. This type of computer system is very flexible and can be improvised to meet the needs of users. Although the minicomputer is not as powerful as the medium or large-size computer, it is quite close. Medium-size Computers : It provides faster operating speeds and larger storage capabilities than small computer systems. These Computers can support a large number of high-speed input-output devices, and several disk drives can be used to provide online access processing. The possibility of increasing the data processing capability of a computer by adding devices, such additional memory, and other peripheral devices, is called expandability. Notes Available @ Dar Photostat CUK Campus-I, Cell No.: 8803305198, E-Mail Id:[email protected]
climate research, weather forecasting, quantum physics, physical simulations etc. Supercomputers are machines that have speed in the 100-million-instructions-per-second range. Governments specially use this type of computer for their different calculations and heavy duty. Different industries also use this huge computer for designing their products. It is also used for animation purpose. The PARAM supercomputer is one of the supercomputer developed by India s Center for Development of Advanced Computing(C-DAC)‟ and promises processing speeds of up to 1 trillions instructions per second. Since October 2010, the Tianhe-1A supercomputer is considered as the fastest supercomputer in the world which is located in China. Some of the examples of Supercomputer are: IBM Blue Gene/L, IBM Roadrunner, Cray Jaguar etc. Classification by Technology There are essentially two different types of computer processing. Each is made possible by a different kind of circuitry, and each is suitable for different purposes. Analog Computers : The name analog comes from the word “analogous”, meaning similar. Analog signal is a continuous signal whose amplitude can take any value in a continuous range. It can have infinite number of values. Analog computers deal with quantities that are continuously variable. They give only approximate results. These types of computer provide an analog or simulation of the object or system it represents. It is especially useful for solving problems that involve relationships between variable quantities in systems that change with time. The analog compute may express changing relationships in output in the form of graphs. It is able to create such pictures because it responds to changes in electrical voltages that match changes in variable quantities. Notes Available @ Dar Photostat CUK Campus-I, Cell No.: 8803305198, E-Mail Id:[email protected]
Figure: Analog Signal Digital Computers : It is a machine that specializes in counting. It operates by counting values that are discrete, or separate and distinct, unlike the continuous quantities that can be measured by the analog computer. Digital signal is a discrete time signal that has a discrete number of levels. It can only assume one of the two values 0 or 1. While analog technology uses continuous signals, digital technology encodes the information into discrete signal states. Digital Computers are used for both business data processing and accuracy. The basic operation performed by a digital computer is addition. It can store the sums of addition problems as they accumulate, and can complete a single calculation in a fraction of a nanosecond. The digital computer is capable of storing data as long as needed, performing logical operations, editing input data, and printing out the results of its processing at high speed. Advantages of digital systems include flexible processing, easy to design, accuracy and precision, simple operation, easy data storage, less prone to noises etc. Notes Available @ Dar Photostat CUK Campus-I, Cell No.: 8803305198, E-Mail Id:[email protected]
CPU consists of Arithmetic Logic Unit (ALU) and Control Unit (CU). Every microprocessor contains a system clock. The speed at which the processor executes instructions is known as Clock Speed and it is measured in Megahertz (MHz). Megahertz (MHz): a measure of frequency equivalent to 1 million cycles per second. Gigahertz (GHz): a billion cycles per second Arithmetic Logic Unit The Arithmetic Logic Unit carries out as the name suggests Arithmetic and Logical operations on the data made available to it. Basic Arithmetic functions which an ALU can carry out are addition and subtraction. More powerful CPUs can support additional mathematical operations like multiplication and division. The logical operation which it can carry out are greater than, equal to, less than and comparison between two numbers. Besides these operations some processors also support operations which check if particular bits are on or off. Control Unit The Control Unit can be thought of as the brain of the CPU itself. It controls the computer based on the instructions it decodes, how other parts of the CPU and in turn, the rest of the computer systems should work in order that the instruction gets executed in a correct manner. Register The register is a special, high-speed storage area within the CPU. All data must be represented in a register before it can be processed. For example, if two numbers are to be multiplied, both numbers must be in registers, and the result is also placed in a register. (The Notes Available @ Dar Photostat CUK Campus-I, Cell No.: 8803305198, E-Mail Id:[email protected]
register can contain the address of a memory location where data is stored rather than the actual data itself.) Hardware and Software A computer system consists of two parts – hardware and software. The first part, computer hardware, refers to all the visible components of the computer system: keyboard, monitor, hard disc, printer, scanner, processing unit, memory, electrical connections, etc. It does all of the physical work a computer is known for. The second part is a set of simple and step-by-step sequence of instructions that tell the hardware what to do and how to do it. This organized set of instructions written in a defined order and to accomplish a specific task is called computer software or computer program. Hence, a computer software provides intelligence to the hardware, which otherwise is just a collection of circuits and pieces of plastic and metal. Hardware is an essential component of any computer system. A computer is made up of several different components. All these components work together in order to produce desired result. The physical components of a computer which can be seen and touched are known as hardware of a computer system. Each of these parts are designed for a specific purpose. Central Processing Unit (CPU), Memory, Input / Output devices like mouse, keyboard, Monitor, CPU, Memory etc. are different hardware components of a computer system. These hardware components are the building block of a computer. The physical components of a computer which can be seen and touched are known as hardware of a computer system. Notes Available @ Dar Photostat CUK Campus-I, Cell No.: 8803305198, E-Mail Id:[email protected]