Você está na página 1de 58

Module 1 : .

Tunde Olabiyisi

A intola, Ogbomoso .

1 BASIC CONCEPTS 1.1 INTRODUCTION 1.1 Let us begin with the word 'compute'. It means 'to calculate'. ' # ' '. familiar with calculations in our day to day life. , , / We apply mathematical operations li e addition, subtraction, multiplication, etc . and many other formulae for 1 / , , , , 6 8 calculations. . Simpler calculations ta e less time. 1 . But compl ger time. , , : . Another factor is accuracy in calculations. ; . So man explored with the idea to develop a machine w perform this type of arithmetic 1 < / calculation faster and with full accuracy. 0 'computer '. ' 6 , , ' . The computer we see today is quite different from the one made in the beginning. > . The number of applications of a 8 @ computer has increased, the speed and accuracy of calculation has increased. ; . You must appreciate the impact of computers in our day to day life. Reservation of tic ets in Air Lines and Railwa ys, payment of telephone and electricity , , . C , , 6 bills, deposits and withdrawals of money from ban s, business data processing, m edical diagnosis, weather , / 8 , D , , E , forecasting, etc. are some of the areas where computer has become extremely usef ul. < , , E / C 8 . However, there is one limitation of the computer. , , . But computer is a dumb , machine and it has to be given proper instructions to carry out its calculation. K , . This is why we should now how a 0 computer wor s. . 1.2 OBJECTIVES 1.2 After going through this lesson you will be in a position to define a computer identify characteristics of computer now the origin and evolution of computer identify capability of computer in terms of speed and accuracy distinguish computer from human beings and calculator identify the role of computer appreciate the evolution of computer through five generations /

. This ga

. Human

, L

0 1 , 8 8 L

1.3 WHAT IS A COMPUTER? 1.3 ! ? Computer is an electronic device. As mentioned in the introduction it can do ari thmetic calculations faster. But as you O , . # R 1 / . , # will see later it does much more than that. , . It can different purpose to T < , different people. 8 . For a common man computer is simply a calculator, which wo atic and quite fast. , . For a person who nows much about it, computer is a machine capable of solving problem s and manipulating data. It , : . C D X accepts data, processes the data by doing some mathematical and logical operatio ns and gives us the desired output. , , < 1 , Z E 0 . Therefore, we may define computer as a device that transforms dat a. , a. dat

Data can be anything li e mar s obtained by you Z [ 8 , in various subjects. 6 8 . It can also be name, age, sex, weight, height, etc. of all the students in your c lass or income, / , , , , < 8 , , , savings, investments, etc., of a country. , , , . Computer can be defined ions. ] ' 8 , . It can i) accept data ii) store / / ) ,Z ) data, iii) process data as desired, and iv) retrieve the stored data as and when required and v) print the result in , iii) , # , iv) [ # )

desired format. # . You will now more about these functions as you go through the l lessons. < # L . Fig. . 1.1 below depicts a personal computer.. 1.1 < .. D X 1.4 CHARACTERISTICS OF COMPUTER $ 1.4 Let us identify the major characteristics of computer. . These can be discussed under the headings of speed, accuracy, 0 , < 8 < , < , diligence, versatility and memory. , . 1.4.1 Speed 1.4.1 As you now computer can wor very fast. , / calculations that we ta e hours to complete. , Suppose you are as ed to calculate the average monthly income of one thousand pe rsons in your neighborhood. For 1 / 8 . this you have to add income from all sources for all persons on a day to day bas is and find out the average for each E , , D X 8 8 one of them. . How long will it ta e for you to do this? a , , , [ ? Do you now your small O computer can finish this wor in few seconds? E /? The day on TV is the results of , 0 , compilation and analysis of huge amount of data on temperature, humidity, pressu re, etc. of various places on 0 b , < , , , 6 8 computers. . It ta es few minutes for the computer to process this huge amount of data and give the result. 0 / 0 , . You will be surprised to now that computer can perform millions (1,000,000) of instructions and even more per d < K , 8 8 < / (1000000) second. . Therefore, we determine the speed of computer in terms of microsecond (10 -6 part of a second) or nano-second , -6 10 (microsecond < ] ) (10 -9 part of a second). ( 10 -9). From this you can imagine how fast your comp rforms wor . R , . 1.4.2 Accuracy 1.4.2 Suppose some one calculates faster but commits a lot of errors in computing. , 8 ; / . Such result is useless. . There is anothe

aspect. . Suppose you want to divide 15 by 7. 7 Z 15 1 1 . You may wor out up to 2 decimal places and say the dividend is 2.14. 2 may calculate up to 4 decimal places and say that the result is 2.1428. 8 4 2.1428 . Some one else may go up to 9 decimal places , 8 and say the result is 2.142857143. Hence, in addition to speed, the computer sho uld have accuracy or correctness in / , 2.142857143 . , , , 0 ; computing. , . The degree of accuracy of computer is very high and every calculation is perform ed with the same accuracy. The 0 , 0 0 < , . accuracy level is determined on the basis of design of computer. 0 , errors in computer are due to human and , 8 / inaccurate data. . 1.4.3 Diligence 1.4.3 A computer is free from tiredness, lac of concentration, fatigue, etc. It can w or for hours without creating any error. X , ,, , , , / . If millions of calculations are to be performed, a computer will perform every calc ulation with the same accuracy. 8 8 < / , 0 < . Due to this capability it overpowers human being in routine type of wor . C overpowers 1.4.4 Versatility. 1.4.4 . It means the capacity to perform completely different type of wor . C . You may use your computer to prepare payroll slips. . Next moment you may use it for inventory management or to prepare electric bills . 0 / 0 . 1.4.5 Power of Remembering , 1.4.5 Computer has the power of storing any amount of information or data. 0 X. Any information can be stored and recalled as , 0 0 , # long as you require it, for any numbers of years. , < , upon you how much data you want to store in a < , , computer and when to lose or retrieve these data. 1.4.6 No IQ 1.4.6 /0 Computer is a dumb machine and it cannot do any wor without instruction from th e user. < , K 0 . It performs the instructions at tremendous speed and with accuracy. It is you to decide what you want to do and in what sequence. 0 . , O O . So a computer cannot ta e its own decision as you can. / # / 1.4.7 No Feeling 1.4.7 It does not have feelings or emotion, taste, nowledge and experience.

<

<

0 , ,. Thus it does not get tired even after long hours 0 of wor . . It does not distinguish between users. < 0 1.4.8 Storage 1.4.8 The Computer has an in-built memory where it can store a large amount of data. / 0. You can also store data in secondary / storage devices such as floppies, which can be ept outside your computer and ca n be carried to other computers. # f 8 , 6 , IN-TEXT QUESTIONS 1.1 1,1 3 5 1. 1. What is a computer? O ? Why is it nown as data processor? 2. 2. What are the important characteristics of computer? O E < / ? 1.5 HISTORY OF COMPUTER 1.5 History of computer could be traced bac to the effort of man to count large num bers. 0 @ . This process of counting of large numbers generated various systems of numeration li e Babylonian system of numera tion, Gree system of @ , @ 8 6 E 6 @ numeration, Roman system of numeration and Indian system of numeration. @ , @ Out of these the Indian system of numeration has been accepted universally. It is the basis of modern decimal syst em of numeration (0, 1, 2, 3, 4, 5, 6, @ < , 6., @ (0, 1, 2, 3, 4, 5, 7, 8, 9). 7, 8, 9). Later you will now how the computer solves all calculations based on decimal system. , . But you will be , surprised to now that the computer does not understand the decimal system and u ses binary system of numeration d < , 0 ,Z 0 @ for processing. . We will briefly discuss some of the path-brea ing inventions in the field of com puting devices.. .. 8 ,

C 1C[ < 1.5 .1 Calculating Machines 1.5 .1 3 It too over generations for early man to build mechanical devices for counting large numbers. 0 @ , 8 8 < R 0. The first calculating device called ABACUS was developed by the Egyptian and Chinese people. X abacus 8 Z . The word ABACUS means calculating board. ' < abacus < . It consisted of stic s l positions on which were inserted sets 1a 1 C of pebbles. . A modern form of ABACUS is given in Fig. < abacus 0 . 1.2. 1.2. It has a number of horizontal bars each having ten beads. 8 C @ 0. Horizontal bars represent units, tens, hundreds, etc. C 8 8 E 1.5.2 Napier's bones 1.5.2 / 89 English mathematician John Napier built a mechanical device for the purpose of m ultiplication in 1617 A D. The device 1

, was

8 # . 1.5.3 Slide Rule 1.5.3 English mathematician Edmund Gunter developed the slide rule.

0. < 1617 nown as Napier's bones. 1h

Gunter . This machine could perform operations li e addition, subtraction, multiplication, and division. , , . It was widely used in Europe in 16 th century. D # . 1.5.4 Pascal's Adding and Subtractory Machine 1.5.4 You might have heard the name of Blaise Pascal. Blaise that could add and , 19

< 16 0

/ ,

subtract. . The machine consisted of wheels, gears and cylinders. 8 1.5.5 Leibniz's Multiplication and Dividing Machine 1.5.5 = / The German philosopher and mathematician Gottfried Leibniz built around 1673 a m echanical device that could both < < 1

Subtractory

. He de

Gottfried j , < 1673 , 8 multiply and divide. 1 /. 1.5.6 Babbage's Analytical Engine. 1.5.6 Babbage / ? A . It was in the year 1823 that a famous English man Charles Babbage built a mechan ical machine to do complex

< 1823 Babbage , ; R < , mathematical calculations. 1 . It was called difference engin e. <D developed a general-purpose calculating machine 6 T called analytical engin e. " <D You should now that Charles Babbage is compute r. , , R < Babbage 1.5.7 Mechanical and Electrical Calculator 1.5.7 / / ! In the beginning of 19 th century the mechanical calculator was developed to per form all sorts of mathematical 0 > 19 1 < calculations. . Up to the 1960s it was widely used. D # mechanical calculator was replaced by rotating Z , electric motor. . So it was called the electrical calculator. . 1.5.8 Modern Electronic Calculator 1.5.8 ! ! The electronic calculator used in 1960 s was run with electron tubes, which was quite bul y. O 1960 , 0 O j 8 , . Later it was replaced with transistors and as a result the size of calculators became too small. % calculators . The modern electronic calculator can compute all inds of mathematical computati ons and mathematical functions. O ] 1 computations 1 / . It can also be used to store some data permanently. # / have in-built programs to perform some calculators < < 8 complicated calculations. , . Fig. . 1.3: Vacuum tube, transistor, IC. IN-TEXT QUESTIONS 1.2 1,3: ! = , 8 1. 1. What is the first mathematical device built and when was it built? O , 2. 2. Who is called the father of Computer Technology. O a . 1.6 COMPUTER GENERATIONS 1.6 $ F You now that the evolution of computer started from 16th century and resulted i n the form that we see today. / , 16 ' 0 # . The present day computer, however, has also undergone rapid change during the last f ifty years. < , , ,

< . This period, during which the evolution of computer too place, can be divided into five distinct phases nown as Generations of Computer s.

( # 8 1 Each phase is distinguished from others on the basis of the type of switching ci rcuits used. E , + m % 8 . 1.6.1 First Generation Computers 1.6.1 First generation computers used Thermion valve s. These computers were large in size and writing programs on them 0 8 6 8 < 8 Thermion was difficult. 1 . Some of the computers of this generation were: 0 ENIAC: It was the first electronic computer built in 1946 at University of Penns ylvania, USA by John Ec ert and John ENIAC: < 1946 Z 0 , R

Ec ert O Mauchy. Mauchy. It was named Electronic Numerical Integrator and Calculator (ENI AC). ) , ENIAC O @ E < O (. The ENIAC was 30 50 feet long, ENIAC 30 ~ 50 , weighed 30 tons, contained 18,000 vacuum tubes, 70,000 registers, 10,000 capacit ors and required 150,000 watts of 30, capacitors , 18,000 O j 8, 70,000 1 8, 10000 150000 electricity. . Today your favorite computer is many times as powerful as ENIAC, still size is ver y small. 0 ENIAC # # X , . EDVAC: It stands for Electronic Discrete Variable Automatic Computer and was dev eloped in 1950. EDVAC: a : O 1950 , . The concept of storing data and instructions inside the computer was introduced here. This allowed much faster operation since the 0 computer had rapid access to both data and instructions. 8 K storing instruction was that 6 , computer could do logical decision internally. < , < . Other Important Computers of First Generation H A I EDSAC: It stands for Electronic Delay Storage Automatic Computer and was develop ed by MV Wil es at Cambridge EDSAC: a : O 0 , 1a Wil es Z University in 1949. 1949 . UNIVAC- 1: Ec er and Mauchly produced it in 1951 by Universal Accounting Compute r setup. UNIVAC: 1 Ec er Mauchly a < Z E , 1951. Limitations of First Generation Computer Followings are the major drawbac s of First generation computers. Followings 1. 1. The operating speed was quite slow. . 2. 2. Power consumption was very high. . 3. 3. It required large space for installation. m C 0 4. 4. The programming capability was quite low.. 1.6.2 Second Generation Compute rs C 1.6.2 .. Around 1955 a device called Transistor replaced the bul y electric tubes in the first generation computer. % 1955 , 0 j 8 0 . Transistors 1

are smaller than electric tubes and have higher operating speed. 8 / o , . They have no filament and require no heating. 0, 0 . Manufacturing cost was also very low. < . Thus the size of the computer got reduced considerably. . It is in the second generation that the concept of Central Processing Unit (CPU) , memory, programming language and 0 0 , ( ), , input and output units were developed. The programming languages such as COBOL, FORTRAN were developed 8. , # , , during this period. . Some of the computers of the Second Generation were 1. 1. IBM 1620: Its size was smaller as compared to First Generation computers a nd mostly used for scientific 1620 : # 0 : ,

purpose. T . 2. 2. IBM 1401: Its size was small to medium and used for business applications. 1401 : L 8 D , . 3. 3. CDC 3600: Its size was large and is used for scientific purposes. 3600 0 :

8 , . 1.6.3 Third Generation Computers 1.6.3 The third generation computers were introduced in 1964. 0 0 1964 , . ICs). ) , ( / ( . These ICs are popularly ICs / nown as Chip s. # A single IC has many transistors, registers and capacito single thin slice of silicon. 1 , 1 8 capacitors . So it is quite obvious that the size of the computer got further reduced. q , computers developed during this period

microprocessor it is possible to place computer's central processing unit (CPU) on single chip. 5 ( ) . These computers are 8 / called microcomputers. microcomputers . Later very large scale Integrated Circuits (VL SIC) replaced LSICs. ( / (VLSIC) LSICs. Thus the computer which was occupying a very large room in earlier days can now be placed on a table. , 0 ' / . The personal D X computer (PC) that you see in your school is a Fourth Generation Computer. ) ( , 0. 1.6.5 Fifth Generation Computer 1.6.5 The computers of 1990s are said to be Fifth Generation computers. 1990 The speed is extremely high in fifth generation 0 E o computer. . Apart from this it can perform parallel processin g. processin The concept of Artificial intelligence has been introduced : # to allow the computer to ta e its own decision. < developmental stage. . 1.7 TYPES OF COMPUTERS 1.7 Now let us discuss the varieties of computers that we see today. , < to the fifth generation they can , / / 0 be divided into different categories depending upon the size, efficiency, memory and number of users. X , 1 6 1 8 C , . Broadly they can be divided it to the following categories.. 1. .. 1 1 , a 1 .

were IBM-360, ICL-1900, IBM-370, and VAX-750. 750 IBM-360, 1900 IBM-370, evel language such as BASIC (Beginners All purpose o BASIC (Beginners T Symbolic Instruction Code) was developed during this period. E K ) , . Computers of this generations were small in size, low cost, large memory and pro cessing speed is very high. , 8 , , . 1.6.4 Fourth Generation Computers 1.6.4 The present day computers that you see today are the fourth generation computers that started around 1975. < , , / 1975 0 8 # , . It uses large scale Integrated Circuits (LSIC) built on a single silicon chip called mic roprocessors. ( / (LSIC) 8 . Due to the development of

VAX-. H

Microcomputer: Microcomputer is at the lowest end of the computer range in terms of speed and storage : 8 capacity. C . Its CPU is a microprocessor. The first microcomputers were built of 8bit microprocessor chips. CPU . microcomputers < 8. The most common application of personal computers (PC) is in this category. : ( X ) . The PC supports a number of input @ < and output devices. 8. An improvement of 8-bit chip is 16-bit and 32-bit chips 8 16-bit 32-bit. Examples of microcomputer are / IBM PC, PC-AT . , -AT. 2. Mini Compute r: This is designed to support more than one user at a time. 2:. r < < , . It possesses large storage 0 capacity and operates at a higher speed. o C . The mini compu which various < , 1 6 users can wor at the same time. This type of computer is generally used for pro cessing large volume of data < 0 / . 0 , in an organisation. . They are also used as servers in Local Area Networ s (LAN). , # < . 3. Mainframes: These types of computers are generally 32-bit microprocessors. 3. Mainframes: 32bit 8. They operate at very high o speed, have very large storage capacity and can handle the wor load of many use rs. , C < < / . They are generally / used in centralised databases. They are also used as controlling nodes in Wide A rea Networ s (WAN). 0 , . / ) ( < # , h D . Example of mainframes are DEC, ICL and IBM 3000 series. mainframes 0 4. Supercomputer: They are the fastest and most expensive machines. 4. : / processing speed o compared to other computers. 6 . They have also multiprocessing tec the ways in which 0 , 1 supercomputers are built is by interconnecting hundreds of microprocessors. supe rcomputers < / 8 8 Z . Supercomputers are mainly Supercomputers @ # / being used for whether forecasting, biomedical research, remote sensing, aircraf t design and other areas of , , O , , E , , 6 C 8 science and technology.

. Examples of supercomputers are CRAY YMP, CRAY2, NEC SX-3, CRAY XMP and supercomputers / s YMP, CRAY2, NEC SX-3, O PARAM from India. . IN-TEXT QUESTIONS 3 3 1. 1. Into how many generations the evolution of computer is divided? , ,

1 ? 2. 2. What is VLSIC? VLSIC O ? 3. 3. The personal computer that you see today is in which generation of compute r? , 1 0 ? 1.8 WHAT YOU HAVE LEARNT 1.8 ! In this lesson we have discussed about the major characteristics of computer. < / . The speed, accuracy, memory and , ; , versatility are some of the features associated with a computer. . But the computer that we see today has not developed , , / 0 , over night. . It has ta en centuries of human effort to see the computer in its pre t form today. < # , 8 . There are five / generations of computer. , 8. Over these generations the physical size of comput eased, but on the other hand , 8 , , , 6 the processing speed of computer has improved tremendously. a varieties of computers , 8 < available today. ' . 1.9 TERMINAL QUESTIONS 1.9 I 5 1. 1. Why is computer nown as data processor? # O 8 2. 2. Explain in brief the various generations in computer technology? 6 , 8 1C[ ? 3. 3. Write a short note on Fifth Generation of computer. 0 generation O 0 computer? ? 4. 4. Why did the size of computer get reduced in third generation computer? ? 5. 5. Give short notes on the following a 1 j o (a) Versatility (b) Storage (c) Slide Rule (d) Babbage's Analytical Engine ( ) Babbage b E 6. 6. Distinguish between Microcomputer and Mainframe computer.. 1.10 FEEDBACK T O IN-TEXT QUESTIONS 3 Mainframe .. 1.10 F TEXT 5 IN-TEXT QUESTIONS 1 1 1. 1. A computer is an electronic device, which is used to accept, store, retrie ve and process the data. It is called O , , , , [ , as data processor because it is mainly used for processing data for producing me aningful information. # O 8, 0 < E @ # , . 2. 2. The characteristics of computer are speed, accuracy, diligence, versatilit y and storage. / , ; , , . IN-TEXT QUESTIONS 2 2 1. 1. Analytical engine, 1823. b E , 1823. 2. 2. Charles Babbage R < Babbage IN-TEXT QUESTIONS 3 3

1. 1. Five generations , 8 2. 2. Very Large Scale Integrated Circuits 8 3. 3. Fourth Generation 0 1.11 TERMINAL QUESTIONS 1.11 < 1. 1. Explain various types of computers. 6 . 2. 2. Explain in brief the various generations in computer technology. 6 , 8 1C[ . 3. 3. Write a short note on Fifth Generation of computer. 0 Generation computer? O 0 ? 4. 4. Why did the size of computer get reduced in Third Generation computer?. LE SSON 2 O 8. 2 ? [ 0 0 COMPUTER ORGANISATION $ 2.1 INTRODUCTION 2,1 M In the previous lesson we discussed about the evolution of computer. < . In this lesson we will provide you with an overview of the basic design of a computer. , . You will now organised and how , 6 8 / various operations are performed between different parts to do a specific tas . 6 8 6 8 / < < q. As you now from the previous lesson , the internal architecture of computer may differ from system to system, but the basic organisation remains the same for , 6 , 0 0 all computer systems. 8. 2.2 OBJECTIVES 2.2 At the end of the lesson you will be able to: : understand basic organisation of computer system 0 understand the meaning of Arithmetic Logical Unit, Control Unit and Central Proc essing Unit < 1 < a , differentiate between bit , byte and a word , ' define computer memory differentiate between primary memory and secondary memory L differentiate between primary storage and secondary storage units 8 differentiate between input devices and output devices 8 E 2.3 BASIC COMPUTER OPERATIONS 2.3 $ A computer as shown in Fig. # , . 2.1 performs basically five major operations or functions irrespective of their size and 2,1 < 8 O ma e. 1d . These are 1) it accepts data or instructions by way of input, 2) it stores ta, 3) it can process data as required 1) 2 , 1 K # ) , 3) , by the user, 4) it gives results in the form of output, and 5) it controls all o perations inside a computer. We discuss 4 Z <,) E # , 5) < . below each of these operations. ] E . 1. 1. Input: This is the process of entering data and programs in to the compute r system. You should now that computer : , < 8 . , is an electronic machine li e any other machine which ta es as inputs raw data a

, 0 processing. . Fig. . 2.1 Basic computer Operations.2. Storage: The process of saving data and instr uctions permanently is nown as storage. 2.1 $ Operations.2 :. # , . Data has to be fed into the 1 system before the actual processing starts. # . It is because the processing speed of Central Processing Unit (CPU) is so ( ) fast that the data has to be 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 th e 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 1 All data and instructions are stored here before and after processing. K 8 . Intermediate results of processing are also stored here. 8 L u / 3. 3. Processing: The tas of performing operations li e arithmetic and logical operations is called processing. : , < 1 8 < < . The Central Processing Unit (CPU) ta es data and instructions from the storage unit and ma es all sorts of calculations ( ) K based on the instructions given and the type of data provided. , K 8 the storage unit. , , . 4. 4. Output: This is the process of producing results from the data for getting useful information. : A 3 0 [ E 8 , . Similarly the output E produced by the computer after processing must also be ept somewhere inside the computer before being given to Z E , , , , 0 you in human readable form. . Again the output is also stored inside the c r processing. , E , , . 5. 5. Control: The manner how instructions are executed and the above operations are performed. Controlling of all : 0 K / , 16 8 . < / operations li e input, processing and output are performed by control unit. < / < , . It ta es care of step by step processing of all operations in side the computer. ] . 2.4 FUNCTIONAL UNITS 2,4 IA In order to carry out the operations mentioned in the previous section the compu ter allocates the tas between its

1 < < , various functional units. 6 <E 8. The computer system is divided into three separate units for its opera 8 1 . 1) arithmetic logical unit, 2) control unit, and 3) central processing unit. 1 , < . 2.4.1 Arithmetic Logical Unit (ALU) 2.4.1 ALU 8 F I ()

nd performs some processing giving O out processed data. nized manner for ,

<

, 6 # o 8 . Therefore, the input unit ta es data from us to the co

After you enter data through the input device it is stored in the primary storag e unit. L , 0 . The actual processing of the data

and instruction are performed by Arithmetic Logical Unit. < 1 operations performed by the ALU are addition, / ALU < Z , subtraction, multiplication, division, logic and comparison. , , , < . Data is transferred to ALU from storage unit when required. ALU . After processing the output is returned bac to storage unit for further process ing or getting stored. 0 . 2.4.2 Control Unit (CU) 2.4.2 ( ) The next component of computer is the Control Unit, which acts li e the supervis or seeing that things are done in , / < , < C proper fashion. . The control unit determines the sequence in which computer progra and instructions are executed. < , / K . Things li e processing of programs stored in the main memory, interpretation of the instructions and issuing of signals K 8 D @ 0 < 8 8 , @ 8 0 for other units of the computer to execute them. 6 8 operator when several users access the # < 1 computer simultaneously. 0 . Thereby it coordinates the activities of compute equipment as they perform the 1 K 8 # < input and output. . Therefore it is the manager of all operations mentioned in t ection. R , 8 . 2.4.3 Central Processing Unit (CPU) 2.4.3 3 ( ) The ALU and the CU of a computer system are jointly nown as the central process ing unit. ALU / 0 X# . You may call CPU as the # brain of any computer system. It is just li e brain that ta es all major decisio ns, ma es all sorts of calculations and 1 , . < , 1 , directs different parts of the computer functions by activating and controlling the operations..HARDWARE SOFTWARE f .. < , K 6 8 Z < Fig. . 2.2: Computer Architecture 2,2: Personal Computer Configuration I / H Now let us identify the physical components that ma e the computer wor . / 1. 1. Central Processing Unit (CPU) ( ) 2. 2. Computer Memory (RAM and ROM) 0 (RAM ROM) 3. 3. Data bus 4. 4. Ports 8 5. 5. Motherboard Motherboard 6. 6. Hard dis < , 7. 7. Output Devices , 8. 8. Input Devices All these components are inter-connected for the personal computer to wor . . IN-TEXT QUESTIONS 1 1 1. 1. What are the five basic operations performed by the computer? O 2. 2. Define ALU, CU and CPU.

CPU

8 /

ALU, CPU. 3. 3. Choose the correct answer: 0 : (a) The tas of performing arithmetic and logical operations is called ( ) , < (i) ALU (ii) editing (iii) storage (iv) output.(b) The ALU and CU jointly nown as (I) ALU (ii) (iii) () iv E . ( ) ALU X# # (i) RAM (ii) ROM (iii) CPU (iv) none of the above (I) (ii) ROM (iii) CPU (iv) (c) The process of producing results from the data for getting useful informatio n ( ) 0 [ 8 E , (i) output (ii)input (iii) processing (iv) storage (I) E (ii) (iii) (iv) 2.5 MEMORY SYSTEM IN A COMPUTER 2,5 3 There are two inds of computer memory: primary and secondar y. : secondar Primary memory is accessible directly by the Z processing unit. . RAM is an example of primary memory. is switched off the contents of the 0 primary memory is lost. . You can store and retrieve data much faster red to secondary / [ L memory. . Secondary memory such as floppy dis s, magnetic dis , etc., is located outs ide the computer. Primary , , L f , ,, 1 . memory is more expensive than secondary memory. L primary memory is less than that of secondary memory. L . We will discuss about secondary memory later on. Computer memory is used to store two things: i) instructions to execute a progra m and ii) data. ) , :) K 8 ,Z . When the computer doing any job, the data that have to be processed are stored in the primary memo ry. , 0 , , , / . This data may come from an input device li e eyboard or from a secondary storage device li e a floppy dis . f , L X. As program or the set of instructions is ept in primary memory, the computer is able to follow instantly the set of K # < , C instructions. K . For example, when you boo tic et from railway reservation counter, the computer has to follow the same , , C , 0 steps: ta e the request, chec the availability of seats, calculate fare, wait f or money to be paid, store the reservation : , 8 ' , , C , , and get the tic et printed out. The programme containing these steps is ept in memory of the computer and is , , . < X followed for each request. E , . But inside the computer, the steps followed are quite different from what we see on the monitor or screen. In , , / O /. computer's memory both programs and data are stored in the binary form. a 8 / . You have already been introduced with # , 0 decimal number system, that is the numbers 1 to 9 and 0. @ , , 0 1 9 o values 0 and 1. 0 1 0 . These are / called bit s. As human beings we all understand decimal system but the comp understand binary system. # , ,Z 0 0 / /. is because a large number of integrated circuits inside the computer can be cons idered as switches, which can be O 8, ,

, # made ON, or OFF.

0 6 : 8 1 give you a message li e this: 110101....10. : 110101 .... 10. So the form of 0 and 1 and gives output in the 1 0 < E form 0 and 1 only. 0 < 1. Is it not absurd if the computer gives outputs as 0's & only? O outputs # 0 1 &? But you do not have to worry about. , Every number in binary system can be converted to decimal system and vice versa; for example, 1010 meaning ,Z 0 E @ L C < 0 , , 1010 < decimal 10. 10 . Therefore it is the computer that ta es information or data in decim al form from you, convert it in to binary ,Z 0 0 , , form, process it producing output in binary form and again convert the output to decimal form. < , , < ,Z 0 E E , E 6 <. The primary memory as you now in the computer is in the form of IC's (Integrate d Circuits). # # ( 0 , < ). These circuits are called , < Random Access Memory (RAM). / O 0 (RAM). Each of RAM's locations stores one byte tion. 0 E . (One byte is equal to 8 bit s). ( s) A bit is an acronym for binary digi t, which stands for one binary piece of info rmation. 0 ,Z 0 1C[ ; 5 digi , 0. This can be either 0 or 1. , now more about RAM later. . The Primary or internal storage storage locations 8 (ICs) called cells. ( ) . Each of these cells can store a fixed number of b . E . lengt ? @ < / Each cell has a unique number assigned to it called the address of the cell and it is used to identify the cells. E v ,Z @ , . The address starts at 0 and goes up to (N-1). 0 # (1li e a large cabinet containing as many , , # drawers as there are addresses on memory. # /. Each tten on outside of the E ' drawer.. Capacity of Primary Memory .. P You now that each cell of memory contains one character or 1 byte of data. 1 . So the capacity is defined in terms of byte C < , or words. ' 8 . Thus 64 ilobyte (KB) memory is capable of storing 64 1024 = ytes. 64 , (KB) j 32768 = 1024 C 64 ~. (1 ilobyte is 1024 bytes). (1 memory size ranges from few ilobytes in small systems to several thousand ilob ytes in large mainframe and super , < mainframe , 8 computer. . In your personal computer you will find memory capacity in the KB, 4 MB, 8 MB and even 16 MB D X MB 16 MB 8 MB, 4 C 64, KB (MB = Million bytes). (MB = ). The following terms related to memory of a computer are discussed below: a 1

8 @ 0 , . If a switch is ON it is considered 1 and if it is OFF . A number of switches in different states will

drawer cont

/ , 32,768 b j ,

range of 64

< / : 1. 1. Random Access Memory (RAM): The primary storage is referred to as random a ccess memory (RAM) Q ! ) (RAM: ( # < , w1o ) because it is possible to randomly select and use any location of the memory dir ectly store and retrieve data. O 8, , 0 [. It ta es same time to any address of the memory as the first address. . It is also called read/write memory. / The storage of data and instructions inside the primary storage is temporary. . It disappears from RAM as # soon as the power to the computer is switched off. R 0 0 X # . The memories, which loose their content on failure of , 0

# .

power supply, are nown as volatile memories .So now we can say that RAM is vola tile memory. <, 8 8 / # . / / , 1 . 2. 2. Read Only Memory (ROM): There is another memory in computer, which is call ed Read Only Memory 3 (ROM): 0 , (ROM). (ROM). Again it is the ICs inside the PC that form the ROM. , ROM ICs f program and data in the ROM is < permanent. . The ROM stores some standard processing programs supplied by the manufac turers to operate ROM Z < < 8 < the personal computer. < . The ROM can only be read by the CPU but it cannot be ch OM / CPU Z 0 , 0 . The basic 0 input/output program is stored in the ROM that examines and initializes various equipment attached to the / < 0 ROM , 6 initializes PC when the switch is made ON. The memories, which do not loose their content on failure of power supply, 1 , <. ,

are

0 0 nown as non-volatile memories.

/ , 8

# . ROM is non-volatile memory. ROM . 3. 3. PROM There is another type of primary memory in computer, which is called Programmable Read Only K z , Memory (PROM). 0 ( ). You now that it is not possible to modify or erase programs sto in ROM, but it is a , ROM 0 < 8 , , possible for you to store your program in PROM chip. < programmes are written it cannot be 0 changed and remain intact even if power is switched off. , 0 . Therefore programs or instructions written in PROM < K or ROM cannot be erased or changed. ROM 0 . 4. EPROM: This stands for Erasable Programmable Read Only Memory, which over com e the problem of 4. EPROM: K z erasable 0, PROM & ROM. ROM. EPROM chip can be programmed time and again by erasing the informat ion stored earlier in EPROM , , erasing Z 0 0 it. . Information stored in EPROM exposing the chip for some time ultraviolet ligh t and it erases chip is 0 EPROM 0 / erases reprogrammed using a special programming facility. reprogrammed 0 . When the EPROM is in use information can only be EPROM 0 , read. . 5. 5. Cache Memory: The speed of CPU is extremely high compared to the access ti me of main memory. : CPU @ E o . Therefore the performance of CPU decreases due to the slow speed of main memory. CPU < @ . To decrease the mismatch in operating speed, a small memory chip is attached between CPU and Mai n memory whose , , 1 @ z CPU access time is very close to the processing speed of CPU. CPU memory. . CACHE memories are accessed much faster than conventional RAM. / data currently being < , < , executed or temporary data frequently used by the CPU. , CPU Z ma es main memory to be faster E @ and larger than it really is. It is also very expensive to have bigger size of c ache memory and its size is . O normally ept small. 6 # . 6. Registers: The CPU processes data and instructions with high speed, there is also movement of data 6.: 8 CPU , o K , between various units of computer. It is necessary to transfer the processed dat a with high speed. 6 8 . o . So the computer uses a number of special memory units called registers. They are not pa rt of the main memory but % 8 . @ 0 / , they store data or information temporarily and pass it on as directed by the con trol unit. # 0 Z # K , .

IN-TEXT QUESTIONS 2 2 1. 1. Distinguish between bit and byte. . 2. 2. Define volatile and non-volatile memory..3. 1 .. 3. Write True or False: 0 : (a) There are two inds of computer memory primary and secondary. ( ) (b) The computer ta es inputs in the form of 0 and 1. ( ) 1 0 < (c) The storage of program and data in the RAM is permanent. ( ) (d) PROM is secondary memory. ( ) L . (e) The memories which do not loose their content on failure of power supply are nown as non-volatile memories. ( ) < |

0 0 /0 . 2.6 SECONDARY STORAGE 2.6 R You are now clear that the operating speed of primary memory or main memory shou ld be as fast as possible to cope / q , @ , # , up with the CPU speed. . These high-speed storage devices are very exp t per bit of storage is o 8 / also very high. . Again the storage capacity of the main memory is also ve . Often it is necessary to store O hundreds of millions of bytes of data for the CPU to process. < CPU Therefore additional memory is required in all the X computer systems. . This memory is called auxiliary memory or secondary storag e @ In this type of memory the cost per bit of storage is low. R . However, the operating speed is slower than that of the , , , primary storage. . Huge volume of data are stored here on permanent basis and tr o the primary storage as

0 / # and when required. . Most widely used secondary storage devices are magnetic tapes magnetic dis . D # , 8 L . . / ( ( % 1. Magnetic Tape: Magnetic tapes are used for large computers li e mainframe com puters where large volume 1. , : mainframe , 0 of data is stored for a longer time. 0 . In PC also you # / . The cost of storing data in tapes is inexpensive. Tapes consist of magnetic materials that store dat a permanently. # . , . It can be 12.5 12.5 , mm to 25 mm wide plastic film-type and 500 meter to 1200 meter long which is coa ted with magnetic 25 1 , R 500 1200

material. . The dec is connected to the central processor and information is fed int o or read from the tape 0 0 1 through the processor. L . It similar to cassette tape recorder. Advantages of Magnetic Tape: ( (: Compact: A 10-inch diameter reel of tape is 2400 feet long and is able to hold 8 00, 1600 or 6250 characters $ ! : 100 D 2400 C 800, 1600 6250 < in each inch of its length. E . The maximum capacity of such tape is 1 C 180 < . Thus data are stored 0 , / much more compactly on tape. w < . Economica l: The cost of storing characters is very less as compared to other st orage devices. Economica : ]

L 0 <

# 8 6 . Fas t: Copying of data is easier and fast. 0: . Long term Storage and Re-usabilit y: Magnetic tapes can be used for long term st orage and a tape can be I usabilit y: , used repeatedly with out loss of data. , . 2. Magnetic Dis : You might have seen the gramophone record, which is circular l i e a dis and coated with 2. , F :

, < , magnetic material. . Magnetic dis s used in computer are made on the same princip 0 ; . It rotates with very high o rotates speed inside the computer drive. Data is stored on both the surface of the dis . . , 8 0 . Magnetic dis s are most , / popular for direct access storage devic e. Each dis consists of a number of inv isible concentric circles called E , " B devic . w / @ trac s. Information is recorded on trac s of a dis surface in the form of tiny magnetic spots. # , 8 < . The presence of 1 a magnetic spot represents one bit and its absence represents zero bit. E 6 . The information stored in a dis can , be read many times without affecting the stored data. 0 , . So the reading operation is non-destructive. 0 . But if you , want to write a new data, then the existing data is erased from the dis and new data is recorded. , , < . Floppy Dis : It is similar to magnetic dis discussed above. :

. They are 5.25 inch 5,25 or 3.5 inch in diameter. They come in single or double density and recorded on 3.5 . ! one or both surface of the dis ette. & . The capacity of a 5.25-inch floppy is 1.2 mega ' 5.25 ( 1.2 bytes whereas for 3.5 inch floppy it is 1.44 mega bytes. , 3.5 1 ( . It is cheaper than any other storage devices and is portable. / & 3 . The floppy is a low device particularly ( 4 suitable for personal computer system. 48 9 8. . . 2.5 Floppy Dis 2,5 U F 3. 3. Optical Dis : 8 F : With every new application and software there is greater demand for memory capac ity. f C . It is the necessity to store large volume of data that has led to the development of optical dis storage medium. L E , . Optical dis s can be divided into the 1 , 1 , following categories: a 1 1 8: 1. 1. Compact Dis / Read Only Memory (CD-ROM ): CD-ROM dis s are made of reflect ive metals. D E / 5 (CD-ROM): CD-ROM , / . CD-ROM is CD-ROM

1 0 0

written during the process of manufacturing by high power laser beam. Here the s torage density is very high, o X Z < 1 , G . E , storage cost is very low and access time is relatively fast. approximately 4 1/2 inches in E , 1 / 4 2 diameter and can hold over 600 MB of data. D 600 /. As cannot write or ma e # CD-ROM 0 / changes into the data contained in it. , < . 2. Write Once, Read Many (WORM ): The inconvenience that we can not write any th ing in to a CD-ROM is 2. , ( ): , CD-ROM / 0 , avoided in WORM. . A WORM allows the user to write data permanently on to the dis < # . Once the data is written it can never be erased without physically damaging the dis . , 0 # / 0 . Here data can be recorded from < , eyboard, video scanner, OCR equipment and other devices. , , , advantage of WORM is that it can store , / vast amount of data amounting to gigabytes (10 9 bytes). (10 9 bytes). Any document in a WORM can be accessed very fast, say less than 30 seconds..3. Erasable Optical Dis : These are optical dis s where data can be written, erased and re-written. This also , 3 .. 30 erasable. %

: 1 , , , . applies a laser beam to write and re-write the data. used as alternatives to traditional , 8 R # , dis s. , . Erasable optical dis s are based on a technology nown as magnetic optica l (MO). Erasable 1 , ( %

Dis

). To write a data bit

8. Wh

on to the erasable optical dis the MO drive's laser beam heats a tiny, precisel y defined point on the dis 's erasable 1 , MO heats ~ ~ , surface and magnetises it. magnetises. 2.7 INPUT OUTPUT DEVICES 2.7 I A computer is only useful when it is able to communicate with the external envir onment. 0 0 C . When you wor with the computer you feed your data and instructions through some devices to the compute r. 8 L K . These devices are called Input 8 devices. 8. Similarly computer after processing, gives output through other alled output devices. , 8 E 6 8 E L . For a particular application one form of device is more desirable compared to ot hers. , # 8 . We will discuss various types of 6 < I/O devices that are used for different types of applications. / / 8 6 , . They are also nown as peripheral devices because they 8 / # surround the CPU and ma e a communication between computer and the outer world. CPU 8 0 . 2.7.1 Input Devices 2.7.1 Input devices are necessary to convert our information or data in to a form whic h can be understood by the computer. , / / < 6 < A good input device should provide timely, accurate and useful data to the main memory of the computer for o , , , @ 0 processing followings are the most useful input devices. followings 1. Keyboard: - This is the standard input device attached to all computers. 1. , . The layout of eyboard is just li e the traditional typewriter of the type QWERTY. QWERTY . function eys. / X . It contains a total of 101 to 104 eys. 104 101 . n in . < , . 2.6. 2.6. You have to press correct combination of eys to input data. 0 . The computer can recognise the electrical signals 8 / corresponding to the correct ey combination and processing is done accordingly. 0 , . . . 2.6 2.6 2. Mouse: - Mouse is an input device shown in . 2.7 that is used with your perso nal computer. 2 : -. , , . 2,7 D X , , . It rolls on a small ball and has two or three buttons on the top. 0 < rface

devices c

/ : -

It also cont

A typical e

the screen f censors the mouse in the direction of mouse movement. , . The curso giving you < more freedom to wor in any direction. It is easier and faster to move through a mouse. , , . L . 3. Scanner: The eyboard can input only text through eys provided in it. 3 :. / . If we want to input a picture the / eyboard cannot do that. 0 . Scanner is an optical device that can in d display it bac . , 1 , < / , , , . The common optical scanner devices are Magnetic In Character Recognition (MICR) , Optical Mar Reader 8 1 0 / , O ( ), 1 < (OMR) and Optical Character Reader (OCR).. o Magnetic In Character Recognition (MICR): - This is widely used by ban s to process large (OMR) 1 O 0 ( ) ..) F ! ( D # 0 , volumes of cheques and drafts. Cheques are put inside the MICR. f 8 . the reading unit # 0, the cheques pass through the magnetic field which causes the read head to recogn ise the L C

character of the cheques. . o Optical Mar Reader (OMR): This technique is used when students have appeared in objective 8 I ) (OMR: , , 8 T , , type tests and they had to mar their answer by dar ening a square or circular s pace by pencil. 0C Z C < dar ening . These answer sheets are directly fed to a computer for grading where OMR is used . 8 , / , OMR 1 . o Optical Character Recognition (OCR): - This technique unites the direct readin g of any printed 8 ! ) ( : E C , , character. . Suppose you have a set of hand written characters on a piece of paper. C . You put it inside the scanner of the computer. . This pattern is compared with a site of patterns side the ; , < computer. . Whichever pattern is matched is called a character read. < Patterns that cannot be < , 0 identified are rejected. /. OCRs are expensive though better the MIC . 2.7.2 Output Devices 2.7.2 F 1. 1. Visual Display Unit: The most popular input/output device is the Visual Di splay Unit (VDU). W I :

/ , ) w < (VDU. It is also called the monitor. . A Keyboard is used to input data and Monitor is used to display the inp t data and to receive , [ , massages from the computer. mputer system @ O and is connected to the computer by cable. .

. A monitor has its own box which is separated fr Z . In some systems

8 a O . It can be color or monochrom e. monochrom <D 2. 2. Terminals: It is a very popular interactive input-output unit. I : 1O , . It can be divided into two types: hard copy < : 1 terminals and soft copy terminals. < 8 J < 8. A hard copy terminal provides eas soft copy + < ,

terminals provide visual copy on monitor. < 8 w /. A te sends instructions directly to < CPU K the computer. . Terminals are also classified as dumb terminals or intelligent termina ls depending upon the < 8 / u # ; < < wor situation. 1 . 3. Printer: It is an important output device which can be used to get a printed copy of the processed text or 3. / : E < , , [ / result on paper. . There are different types of printers that are designed f ypes of applications. 8 6 / , . Depending on their speed and approach of printing, printers are classified as im pact and non-impact printers. w q , # u / . Impact printers use the familiar typewriter approach of hammering a typeface aga inst the paper and in ed typeface 1 w q ribbon. Dot-matrix printers are of this type. Non-impact printers do not hit or impact a ribbon to print. E . , / . 0 . They use electro-static chemicals and in -jet technologies. Laser printers and In -je t printers are of this type. This 8 0 . / . type of printers can produce color printing and elaborate graphics. , O / E . . . 2.8 Laser Printer 2.8 / IN-TEXT QUESTIONS 3 3 3 5 1. 1. Distinguish between impact and non-impact printers. . 2. 2. Define soft copy and hard copy terminals..3. f < < 8 .. 3. Write True or False: 0 : (a) Secondary memory is called Auxiliary memory. ( ) L (b) The magnetic tapes and magnetic dis are primary memories. ( ) (c) A CD-ROM is read only memory. ( ) CD-ROM 0 . (d) Mouse is an output device. ( ) , < . (e) Printer is an important output device. ( ) , E < 2.8 WHAT YOU HAVE LEARNT 2.8 !

. , .

In this lesson we discussed five basic operations that a computer performs. . These are input, storage, processing, < / , , output and control. E . A computer accepts data as input, stores it, processes r requires and provides the # , , # < output in a desired format. # E . The storage unit of a computer is divide ary storage and secondary L 8 1 : storage. . We have discussed the devices used for these two types of storage and their usefulness. 8 < . 2.9 TERMINAL QUESTIONS 2.9 I 5 1. 1. What are the five basic operations performed by any computer system? O D < , ? 2. 2. Draw a bloc diagram to illustrate the basic organization of computer syst em and explain the function of ' < various units. 6 8. 3. 3. What is input device? , O ? How does it differ from output device? 4. 4. Differentiate between RAM and ROM. ROM . Also distinguish between P EPROM . 5. 5. What is cache memory? O ? How is it different from primary memory? 6. 6. Write short notes on (a) Control Unit (b) Random Access Memory (RAM) ) 0 (RAM) 2.10 FEEDBACK TO IN-TEXT QUESTIONS 2.10 5 F 3 IN-TEXT QUESTIONS 1 1 1. 1. The five basic operations that a computer performs are input, storage, pro cessing, output and control. 0 ] , < / , , , E . 2. 2. ALU: Arithmetic Logic Unit ALU: 1 < CU: Control Unit : CPU: Central Processing Unit CPU: 3. 3. (a) i (b) iii (c) i ( i) ( ) III ( i) IN-TEXT QUESTIONS 2 2 1. 1. A bit is an acronym for binary digit, which stands for one binary piece of information. 1C[ ,Z 0 8, 0 ,Z 0 . This can be either 0 or , 0 1. 1. A byte is equal to 8 bits..2. The memories which are erased if there is a power failure are nown as volatile memories. 2 .. 8 . RAM is an example of volatile memory. supply, are , < 0 / nown as non-volatile memories. ROM is non-volatile memory. 8 # 3. 3. (a) T(b) T(c) F(d) F(e) T ( ) 0 ( ) 0 ( ) ( ) ( ) 0 IN-TEXT QUESTIONS 3 3 1. 1. Impact printers use the familiar typewriter approach of hammering a typefa ce against the paper and in ed typeface q 1 1 . 8

. The memories, which do not loose their c

ribbon.

. Non-impact printers do not hit or impact a ribbon to print.

0 . They use electro-static chemicals and in -jet 8 0 technologies. , 8. 2. 2. A hard copy terminal provides a printout on paper whereas soft copy termin als provide visual copy on + < < f , ' w monitor. . 3. 3. (a) T(b) F(c) T (d) F (e) T. LESSON 3 ( ) 0 ( ) ( ) 0 ( ) (3 ) 0. LANGUAGE/SOFTWARE U / 3.1 INTRODUCTION 3.1 In the previous lesson we discussed about the different parts and conurations of computer. < conurations 8. It has been mentioned R , that programs or instructions have to be fed to the computer to do specific tas . , < K , 1 < / q . So it is necessary to provide sequence of instructions so that your wor can be done. K , , components into two major areas, namely, < C 8 1 / , hardware and softwar e. Hardware is the machine itself and its various individua l equipment. It includes all mechanical, + < . softwar 0 6 D X . , electronic and magnetic devices such as monitor, printer, electronic circuit, fl oppy and hard dis . In this lesson we will f < , , , < O 8 , , O . discuss about the other part, namely, software. f , < 6 , 3.2 OBJECTIVES 3.2 After going through this lesson you will be able to C explain the concept of software f D @ distinguish between different types of software f 6 differentiate application software from system software f f define a language differentiate between different types of language 6 distinguish between compiler and interpreter 3.3 WHAT IS SOFTWARE? 3.3 ! U ? As you now computer cannot do anything without instructions from the user. 0 . In order to do any specific job you have q to give a sequence of instructions to the computer. computer progra m. Software K f refers to the set of computer programs, procedures that describe the programs, h ow they are to be used. < < , , R , , , that it is the collection of programs, which increase the capabilities of the ha , , K + , 8

< . L

rdware. , < C < . Software guides the computer at f a every step where to start and stop during a particular job. # # . The process of software development is called programmi ng. f , programmi . You should eep in mind that software and hardware are complementary to each oth er. 6 E , , / f < . Both have to wor together to 8 produce meaningful result. < . Another important point you should now that prod re is difficult and expensive. 6 E < , , E f 1 . 3.4 SOFTWARE TYPES 3.4 SOFTWARE Computer software is normally classified into two broad categories. f D Application Software f System software f Application Software: Application Software is a set of programs to carry out ope rations for a specific application. U : f < 8. For example, payroll is an application software for an organization to produce pay s lips as an output. , f < E 1 # . Applica f is useful for word processing, billing system, accounting, producing statistical report, analysis of numerous data in ' , , , 1@ <, E b research, weather forecasting, etc. , < , , In later modules you will and dBASE III Plus. h dBASE III <, 1-2-3 . All these are application softwares. f / . Another example of application software is programming language. f 6 the programming languages COBOL (Common Business Oriented Language) is more suitable for business application wh ereas FORTRAN (Formula ( 6 D 6 ) < ( D X , Translation) is useful for scientific application. )

. We will discuss about languages in next section.. System Software: You now that an instruction is a set of programs that has to b e fed to the computer for operation of .. < U : a , < 8 1 computer system as a whole. # . When you switch on the computer th ecuted which 1 ROM < , 16 activates different units of your computer and ma es it ready for you to wor on it. 8 , . This set of program can be called < system software. f . Therefore system software may be defined as a set of one or ms designed to control the f , a , # operation of computer system. . System software are general programs designed for performing tas s such as contr olling all operations required to f / ] # < < 6 < move data into and out of the computer. . It co tapes etc. monitor the use of , , < 0 ,, , various hardware li e memory, CPU etc. Also system software are essential for th e development of applications 6 < , , f 8 / software. f . System Software allows application pac ages to be run on the computer wit less time and effort. Remember f that it is not possible to run application software without system softwar e. r 5 J Development of system software is a complex tas and it requires extensive nowl edge of computer technology. Due f < , D

. to its complexity it is not developed in house. , 0 . Computer manufactures build and supply this system software with the < f < computer system. . DOS, UNIX and WINDOWS are some of the widely used system soft UNIX Windows f , D # . Out of these UNIX is a UNIX multi-user operating system whereas DOS and WINDOWS are PC-based. X 1 , , . We will discuss in detail about DOS and DOS < WINDOWS in the next module. h . So without system software it is impossible to operate your computer. f . The following picture is shown in . a , . 3.1 relation 3,1 between hardware, software and you as a user of computer system. < , f . . . 3.1 Relation between hardware, software. I 3,1, U . IN-TEXT QUESTIONS 1 1 1. 1. What are program, programming and software? O f /, ? 2. 2. Differentiate between system software and application software. f 3. 3. Write True or False. 0 . a. a. The set of instructions given to the computer is called programming. K , b. . Application Software is a set of programs to carry out operations for a spec ific application. f

< 8. c. . UNIX is a multi-user operating system. UNIX < , . 3.5 WHAT IS LANGUAGE?. You are aware with the term language. It is a system of c ommunication between you and me. 3.5 ! ?. ' / . . Some of the b natural languages that we are familiar with are English, Hindi, Oriya etc. These are the languages used to , / , , 6 0, , , , communicate among various categories of persons. D X 8 6 1 8 . But how you will communicate with your computer. , . Your computer will not understand any of these natural languages for transfer of data and inst ruction. C 0 / . So there are programming / languages specially developed so that you could pass your data and instructions to the computer to do specific job. # , K You must have heard names li e FORTRAN, BASIC, COBOL etc. These are programming languages. , , , , / . So instructions K or programs are written in a particular language based on the type of job. . As an example, for scientific application # , /.

FORTRAN and C languages are used. On the other hand COBOL is used for business a pplications. 6 , . 8 D , . 3.5.1 Programming Languages 3.5.1 There are two major types of programming languages. Level Languages. / a o 0 . Low Level languages are further divided in to Machine language and Assembly lang uag e. a e. / languag 1 3.5.2 Low Level Languages 3.5.2 $ The term low level means closeness to the way in which the machine has been buil t. a < , . Low level languages are machine a oriented and require extensive nowledge of computer hardware and its conuration . 6 conuration < D

. The

. (a) Machine Language ( ) Machine Language is the only language that is directly understood by the compute r. , 0 Z , . It does not needs any translator , # 0 program. < . We also call it machine code and it is written as strings of 1's (one) an d 0's (zero). # 1 ( ) 0 ( 6 ). When this sequence of codes is fed to the computer, it recognizes the codes and converts it in to elec trical signals needed to run it. 1 , <6 # 8. For example, a program instruction may loo li e this: , < 1011000111101 1011000111101 It is not an easy language for you to learn because of its difficult to understa nd. , 0 . It is efficient for the computer but very , inefficient for programmers. C . It is considered to the first generation lang difficult to debug the program 1 < , written in this language. . Advantage The only advantage is that program of machine language run very fast because no translation program is required for < , O 8, < the CPU. CPU. Disadvantages 1. 1. It is very difficult to program in machine language. < details of hardware to write < program. < . 2. 2. The programmer has to remember a lot of codes to write a program which res ults in program errors. < , 8 < 8 . 3. 3. It is difficult to debug the program. 1 , < , . (b) Assembly Language ( ) / It is the first step to improve the programming structure. can handle numbers and , , @ / letter. . Therefore some combination of letters can be used to substitute for numb er of machine codes. @ / , . The set of symbols and letters forms the Assembly Language and a translator prog ram is required to translate the 8 8 < # 8 Assembly Language to machine language. This translator program is called `Assemb le r'. . L `r '. It is considered to be a second-generation language.. Advantages: 0 0 .. : 1. 1. The symbolic programming of Assembly Language is easier to understand and saves a lot of time and effort E of the programmer. . 2. 2. It is easier to correct errors and modify program instructions. , 8 < . 3. 3. Assembly Language has the same efficiency of execution as the machine leve l language. #

0 C . Because this is one-to-one translator between assembly language program and its corresponding ma chine language < program. < . Disadvantages: : 1. 1. One of the major disadvantages is that assembly language is machine depend ent. , < . A program written for one < computer might not run in other computers with different hardware conuration. ion 6 < 6 8 0 . IN-TEXT QUESTIONS 2 2 1. 1. What is the difference between FORTRAN and COBOL? O 2. 2. Differentiate between machine language and Assembly language. . 3. 3. Write True or False 0 a. a. Low level language and High level language are two major types of programm ing languages. o . b. . Machine language is the only language that is indirectly understood by the c omputer. , Z E C # . c. . Assembly language is second generation language. 0 0. 3.6 HIGH LEVEL LANGUAGES 3.6 Y You now that assembly language and machine level language require deep nowledg e of computer hardware where / , <

conurat

, 0 as in higher language you have to now only the instructions in English words an d logic of the problem irrespective of o # < ' 8 K 8 the type of computer you are using. / . Higher level languages are simple languages that use English and mathematical sy mbols li e +, -, %, / etc. o , / / 1 8 +, -,,% for its program construction. < < . You should now that any higher level language has to be converted to machine la nguage for the computer to , , , o < , understand. /. Higher level languages are problem-oriented languages because the instructions a re suitable for solving a particular o / 6 O 8, K 8 X /

problem. . For example COBOL (Common Business Oriented Language) is mostly suitable f r business oriented ( 6 D 6 ) 6 X : language where there is very little processing and huge output. E mathematical oriented languages li e 1 6 / FORTRAN (Formula Translation) and BASIC (Beginners All-purpose Symbolic Instruct ion Code) where very large ) ( T (Beginners 1 E K ) processing is required. . Thus a problem oriented language designed in such a way that its instruction may be written more li e the language of 0 , C the problem. . For example, businessmen use business term and scientists use scienti ic terms in their respective ,

8 D

' ' 8 languages. . Advantages of High Level Languages Y Higher level languages have a major advantage over machine and assembly language s that higher level languages o

, o are easy to learn and use. / . It is because that th us in our day to day life.. 3.6.1 Compiler , 3.6.1 / .. , , It is a program translator that translates the instruction of a higher level lan guage to machine language. It is called C o , . compiler because it compiles machine language instructions for every program ins tructions of higher level language. O 8, o K 8 < compiles K . Thus compiler is a program translator li e assembler but more sophisticated. , . It scans the entire program first and then < translates it into machine code. . The programs written by the programmer in higher level language is called source progra m. o < Z + After this program is < converted to machine languages by the compiler it is called object program. + ; . Higher Level Language --> (Compile) ---> Program --> Machine Language Program o

. . 3.2 Compile 3.2 A compiler can translate only those source programs, which have been written, in that language for which the compiler / , , , < 8 is meant for. . For example FORTRAN compiler will not compile source code wr L language. 0 . Object program generated by compiler is machine dependent. Z E 6 < < compiled for one type of machine < 8 will not run in another type. Therefore every type of machine must have its pers onal compiler for a particular language. 0 . 6 D X , . Machine independence is achieved by using one higher level language in different machines. 6 8 o Z . 3.6.2 Interpreter 3.6.2 Interpreter An interpreter is another type of program translator used for translating higher level language into machine language. < o . It ta es one statement of higher level languages, translate it into machine languag e and immediately execute it. , o , . Translation and execution are carried out for each statement. compiler, which translate the entire source 0 , program into machine code and does involve in its execution. The advantage of interpreter compared to compiler is its fast response to change s in source program. < < , . It eliminates the need for a separate compilation after changes to each program. <

eliminates

. Interpreters are easy to write and do not require large 8 / 0 memory in computer. . The disadvantage of interpreter is that it is time consu ecause each time a

, 0 O 8, statement in a program is executed then it is first translated. < machine language program runs much : faster than an interpreted program. < D @ . IN-TEXT QUESTIONS 3 3 1. 1. What is the difference between interpreter and compiler? O ? 2. 2. Give some examples of high level language. o . 3. 3. Write True or False 0 (a) High level languages are problem-oriented language. ( ) o 0 6 (b) Object program generated by compiler is machine independent. ( ) Object < Z (c) The disadvantage of interpreter is that it is time consuming. ( ) , . 3.7 WHAT YOU HAVE LEARNT. In this lesson we discussed about two types of softwar e, namely, system software and application software. System 3.7 ! . f , < , f f . < software controls the hardware part of the computer. f < . controlling all , , ] < operations required to move data into and out of the computer. communicates with printer, card reader, dis , tapes, , < 0 , , , etc. and monitors the use of various components li e memory, CPU, etc. DOS, UNIX and WINDOWS are three , 6 8 , , , DOS, UNIX Windows / important system softwares. E < f . Application software is a set of program purpose. f q < 8 . Examples of application softwares are MS WORD, Lotus 1-2-3, COBOL, BASIC and FORTRAN. f , 0 . We have discussed about levels of 8 < computer language. . 3.8 TERMINAL QUESTIONS 3.8 I 5 1. 1. What is software and hardware? < f O ? 2. 2. What is computer Language? O ? 3. 3. Name the three different categories of computer languages. 1 8 4. 4. What is machine language? O ? Why is it required? O 8? 5. 5. What are advantages and disadvantages of machine language . O / 6. 6. What is assembly language? What are its advantages over machine languages? O ? O /? 7. 7. What is the difference between source program and object program? O < 8. 8. What is higher level languages? Why are higher level languages are easier to use. O o o ? O 8 / / . 9. 9. What is compiler? O ? Why is it required? O 8? 10. 10. What is interpreter? O ? How does it differ from compiler? ? 3.9 FEEDBACK TO IN-TEXT QUESTIONS 3.9 5 F 3 IN-TEXT QUESTIONS 1 1 1. 1. Program is a set of instructions given to the computer by the user. < . Software is a set of computer programs f

and procedures that describe the programs. ment.

<

< . Programming is th

f , . 2. 2. Application Software is a set of programs to carry out operations for a sp ecific application. f < 8. System software f is a set of programs written for performing tas s such as controlling all operat ions required to move data into ] # < < and out of the computer. . 3. 3. (a) False b) T rue (c) True ( ) ) 0 rue ( ) IN-TEXT QUESTIONS 2 2 1. 1. FORTRAN is used for scientific applications whereas COBOL is used for busi ness applications. ,

8 , 8 D . 2. 2. Machine Languages are the only language that is directly understood by the computer. / 0 , Z , . It is written in binary ,Z 0 form that is 0 and 1. 1 0. The set of symbols and letters forms the Assembly Langua e. 8 8 # 8 . 3. 3. (a) True (b) False (c) True ( ) ( ) ( ) IN-TEXT QUESTIONS 3.1. 3,1 . Both compiler and interpreter are program translators used for translating higher level language into machine 8 / o 8 < language. . While compiler scans the entire program first and then translates it int o machine code, an , < , , Interpreter translates the program line by line. < Z . 2. 2. FORTRAN (Formula Translation) and BASIC (Beginners All-purpose Symbolic In struction Code) are some of ) ( T (Beginners 1 E K ) / the high level languages. o 0 . 3. 3. (a) True (b) False (c) True. LESSON 4 ( ) ( ) ( ) . 4 COMMUNICATION AND COMPUTER NETWORK I 4.1 INTRODUCTION 4.1 Today computer is available in many offices and homes and therefore there is a n eed to share data and programs 8 < 8 ' # among various computers with the advancement of data communication facilities. 6 6 . The communication between computers has increased and it thus it has extended the power of computer beyond the computer room. Now a user X . < sitting at one place can communicate computers of any remote sites through commu nication channel. L 8 , / . The aim of this T chapter is to introduce you the various aspects of computer networ . L < 6 . 4.2 OBJECTIVES 4.2 After going through this lesson you will be in a position to: L explain the concept of data communication D @ understand the use of computer networ < identify different components of computer networ < 8 identify different types of networ < 6 explain communication protocols D @ understand what is internet and email and its uses in modern communication appreciate the use of satellite communication. 4.3 DATA COMMUNICATION 4.3 We all are acquainted with some sorts of communication in our day to day life. / . For communication of information and 0 messages we use telephone and postal communication systems. and information from one computer 0 system can be transmitted to other systems across geographical areas. C 8 ,

. Thus data transmission is the movement of information using some standard methods. 0 8 0 . These methods incl ong a conductor, optical 0 8 1 / , O 8 , signals along an optical fibers and electromagnetic areas. a C 8 8 1 . Suppose a manager has to write several letters to various clients. 1 , 6 C 8 . First he has to use his PC and Word Processing < pac age to prepare his letter. If the PC is connected to all the client's PCs th rough networ ing, he can send the letters , . , L , / to all the clients within minutes. Thus irrespective of geographical areas, if P Cs are connected through communication 8 C 8. , L / channel, the data and information, computer files and any other program can be t ransmitted to other computer systems , 0, , 6 < 6 , within seconds. . The modern form of communication li e e-mail and Internet is only because of computer < 0 networ ing. , . Basic Elements of a Communication System $ A , The following are the basic requirements for wor ing of a communication system. a 1 /. 1. 1. A sender (source) which creates the message to be transmitted. ( ), , . 2. 2. A medium that carries the message. @ , . 3. 3. A receiver (sin ) which receives the message. (/ ) [ . In data communication four basic terms are frequently used. 0 ] / Dat a: A collection of facts in raw forms that become information after processi ng. Dat: o # 8 8 , 0 / . Signal s: Electric or electromagnetic encoding of data.. Signalin g: Propagation of signals across a communication medium. Z L : 1O Signalin .. a 6 , 8 : . Transmissio n: Communication of data achieved by the processing of signals. Tran smissio n: 8 [ a . 4.3.1 Communication Protocols 4.3.1 You may be wondering how do the computers send and receive data across communica tion lin s. , [ / . The answer is data communication softwar e. e. softwar It is this software that enables us to communica te with other systems. , f 6 C . The data communication software instructs computer systems and devices as to how exactly data is to be transferred from one f # R 8 K place to another. . The procedure of data transformation in the form of software mmonly called protoco l. , f # < protoco 6 The data transmission software or protocols perform the following functions for the efficient and error free transmission f , X < a 1 ] of data. .

1. 1. Data sequencin g: A long message to be transmitted is bro en into smaller pac ets of fixed size for error sequencin : , 8 0 free data transmission. X . 2. 2. Data Routin g: It is the process of finding the most efficient route betwe en source and destination before Routin: D < , sending the data. . 3. 3. Flow contro l: All machines are not equally efficient in terms of speed. # . Hence the flow control regulates the

process of sending data between fast sender and slow receiver. 4. Error Contro l: Error detecting and recovering is the one of the main functio n of communication software. It . F / : , ~ . f @ 4 ensures that data are transmitted without any error. 1d , , , . 4.3.2 Data Transmission Modes 4.3.2 There are three ways for transmitting data from one point to another 1. 1. Simple x: In simplex mode the communication can ta e place in one directio n. x : O , /. The receiver receives the / [ signal from the transmitting device. In this mode the flow of information is Uni .-directional. , . , E Uni.-. Hence it is rarely 0 used for data communication. , . 2. 2. Half-duple x: In half-duplex mode the communication channel is used in bot h directions, but only in one x: Z 8 , , , , direction at a time. , . Thus a half-duplex line can alternately send and receive / 1R # . 3. Full-duple x: In full duplex the communication channel is used in both direct ions at the same time. 3. I x: < Z , 8 , . Use of full-duplex Z line improves the efficiency as the line turn-around time required in half-duple x arrangement is 0 C # D Z eliminated. , . Example of this mode of transmission is the telephone line. . . . 4.1.4.3.3 Digital and Analog Transmission 4.1.4.3.3 F 8 Data is transmitted from one point to another point by means of electrical signa ls that may be in digital and analog , 8 Z 6 , 1 form. <. So one should now the fundamental difference between analog and digital s ignals. , 1 8 , . In analog signal the # transmission power varies over a continuous range with respect to sound, light a nd radio waves. X 8 6 L a , , . On the other hand a digital signal may assume only discrete set of values within a given range. , 1 z 0. Examples are computer and computer / related equipment. 8. Analog signal is measured in Volts and its frequency in He L + | ( j <). A digital signal is a sequence of , 1 z w voltage represented in binary for m. When digital data are to be sent over an an

alog form the digital signal must be R E ; 5 , 1 , / , 1 z < converted to analog form. < # < . So the technique by which a digital orm is nown as # Z , 1 z # modulatio n. And the reverse process, that is the conversion of analog signal to its digital form, is nown as modulatio < , , , 1 # # , # demodulation. demodulation. The device, which converts digital signal into analo g, and the reverse, is nown as mode m. , , <6 , , 1 z <, # 4.2:Analog Signal 4.2: Z 4,3: F 8 Signal.4.3.4 [ [ Data transmission through a medium can be either asynchronous or synchronous. L L / R . In asynchronous transmission data R is transmitted character by character as you go on typing on a eyboard. Z . Hence there is irregular gaps between characters. C . However, it is cheaper to implement, as you do not have to save the data before sending. , , , , 0 . On the other 6 hand, in the synchronous mode, the saved data is transmitted bloc by bloc . , R . Each bloc can contain many characters. E ' / C / . Synchronous transmission is well suited for remote communication between a compu ter and related devices li e card R < 8 o ~ reader and printers. 0 . Following are the major communication devices used to day. , / 1. 1. Wire Pairs: Wire pairs are commonly used in local telephone communication and for short distance digital : / 6 # 0 0 , 1 data communication. . They are usually made up of copper and the pair of wires is ed together. / 8 0 . Data transmission speed is normally 9600 bits per second in a distance of 100 meter. 9600 . 2. 2. Coaxial Cables: Coaxial cable is groups of specially wrapped and insulted wires that are able to transfer P : C 8 # 8 C / , data at higher rate. o . They consist of a central copper wire surrounded b over which copper 6 0 mesh is placed. . They are used for long distance telephone lines and local ar for their noise , < 8 C 0 immunity and faster data transfer. C . 3. 3. Microwave: Microwave system uses very high frequency radio signals to tran smit data through space. : , o | 8 C L . The transmitter and receiver of a microwave system should be in line-of-sight becaus e the radio signal cannot w q , 0 O 8, , / bend. . With microwave very long distance transmission is not possible. 0 order to overcome the problem of line of sight and power amplification of wea signal, repeaters are used at inte rvals of 25 to 30 ilometers <

X w q , repeaters , 0 30-25 , between the transmitting and receiving end. [ . 4. Communication Satellite: The problem of line-sight and repeaters are overcome by using satellites which 4 . : repeaters w q 8 / are the most widely used data transmission media in modern days. , 8 D # A communication satellite is a microwave relay station placed in outer space. 0 C . INSAT-1B is such a satelli anywhere in -1 0 , / India. . In satellite communication, microwave signal is transmitted from a transmit ter on earth to the satellite ,

, , 0 area. C . In microwave the data transmission rate is 16 giga bits per second. j giga 16. They are mostly used to lin big / : , metropolitan cities. 0 8. IN-TEXT QUESTIONS 1 1 1. 1. What is communication protocol? O ? 2. 2. What is the difference between asynchronous and synchronous transmission? O R R ? 3. 3. State whether True or False : , O 0 (a) The basic requirements for wor ing of a communication system are sender medi um and receiver. ( ) 0 L . (b) Electric or Electromagnetic encoding of data is called Transmission. ( ) 1O . (c) In full duplex the communication channel is used in both directions at the s ame time. ( ) < Z , 8 , . (d) Analog signal is measured in Volts and its frequency in Hertz ( ) z | (e) The technique by which a digital signal is converted to analog form is nown as modulation.. 4.4 COMPUTER NETWORK ( ) 1 Z , 1 z < # < # A computer networ is an interconnection of various computer systems located at different places. In computer networ

at space. iver.

. The satellite amplifies the wea signal and transmits it bac to the rece amplifies . The main advantage of @ satellite communication is that it is a single microwave relay station visible f rom any point of a very large ,

O O (. < two or more computers are lin ed together with a medium and data communication d evices for the purpose of a 8 T / 8 L communicating data and sharing resources. 8 . The computer that p ers on a networ is < 6 8 nown as serve r. ( # In the networ the individual computers, which acce resources, are nown as # D X < 8 < , wor stations or nodes. wor stations Q . Computer Networ s may be classified on the basis of geographical area in two bro ad categories. < D 1 8 C u , . 1. 1. Local Area Networ (LAN) < ( ) 2. 2. Wide Area Networ (WAN) < ( ) 4.4.1 Local Area Networ 4.4.1 I Networ s used to interconnect computers in a single room, rooms within a buildin g or buildings on one site are called < , 8 Local Area Networ (LAN). < ( ). LAN transmits data with a speed of several (10 6 bits per second). j 10 6 ( megabits ). The transmission medium is normally coaxial cable s. L 6 # B LAN lin s computers, ie, software and hardware, in the same area for the purpose of sharing information. Usually , , f < C 0 T . LAN lin s computers within a limited geographical area because they must be conn ected by a cable, which is quite , Z C O 8, , expensive. . People wor ing in LAN get more capabilities in data processing, wor pr ocessing and other information 8 0 C [ , 6 exchange compared to stand-alone computer s. Because of this information exchang e most of the business and

0 D government organisations are using LAN. 0 8 /. Major Characteristics of LAN P every computer has the potential to communicate with any other computers of the networ < , 6 8 C high degree of interconnection between computers easy physical connection of computers in a networ < O inexpensive medium of data transmission L high data transmission rate o Advantages The reliability of networ is high because the failure of one computer in the ne twor does not effect the < O 8, <

0 functioning for other computers. 6 < . Addition of new computer to networ is easy. < X High rate of data transmission is possible. o . Peripheral devices li e magnetic dis and printer can be shared by other compute rs. , 8 6 8 Z , . Disadvantages If the communication line fails, the entire networ system brea s down. , < . Use of LAN Followings are the major areas where LAN is normally used Followings , C File transfers and Access 6 Word and text processing. Electronic message handling < . O Remote database access Personal computing D X , Digital voice transmission and storage , 1 4.4.2 Wide Area Networ 4.4.2 I The term Wide Area Networ (WAN) is used to describe a computer networ spanning a regional, national or global ' < ( ) < < C , 1 area. C . For example, for a large company the head quarters might be at Delhi and regional branches at Bombay, , 0 @ C , R , Madras, Bangalore and Calcutta. Here regional centers are connected to head quar ters through WAN. , . C 6 8 L / , 8 . The distance 0 between computers connected to WAN is larger. . Therefore t ly telephone L 6 # , lines, microwaves and satellite lin s. 8 , . 4.4.3 Characteristics of WAN P 4.4.3 Followings are the major characteristics of WAN. Followings /. 1. 1. Communication Facility: For a big company spanning over different parts of the country the employees can : / , 8 0 < 8 / save long distance phone calls and it overcomes the time lag in overseas communi cations. 0 . Computer conferencing is another use of WAN where users communicate with each other throu

gh their computer 6 , L < system. . 2. 2. Remote Data Entry: Remote data entry is possible in WAN. It means sitting at any location you can enter : q < . , / data, update data and query other information of any computer attached to the WA N but located in other , z , 6 0 , 1 6 cities. 8. For example, suppose you are sitting at Madras and want to see some data of a computer located at , 1 / / 1 Delhi, you can do it through WAN. , R , L / /. 3. Centralised Information: In modern computerised environment you will find tha t big organisations go for 3 3 .: 0 , 8 centralised data storage. 0 . This means if the organisation is spread over y eep their important , 8 , E < business data in a single place. As the data are generated at different sites, W AN permits collection of this D 8 8. # E 6 /, data from different sites and save at a single site. 8 4.4.4 Examples of WAN 4.4.4 1. 1. Ethernet: Ethernet developed by Xerox Corporation is a famous example of W AN. : O Z ; . This networ uses coaxial < cables for data transmission. Special integrated circuit chips called controller s are used to connect 8 . O , equipment to the cable. . 2. Aparnet: The Aparnet is another example of WAN. It was developed at Advanced Research Projects 2. Aparnet: Aparnet . < Agency of US Department. . This Networ connects more than 40 universities and institutions throughout < 40 8 USA and Europe. X : . Difference between LAN and WAN LAN is restricted to limited geographical area of few ilometers. , WAN covers great distance and operate , , 0 nationwide or even worldwide. D , . In LAN, the computer terminals and peripheral devices are connected with wires a nd coaxial cables. , < 8 8 C 8 / . In WAN there is no physical connection. Communication is done through telephone lines a nd satellite lin s. . O L , 8. Cost of data transmission in LAN is less because the transmission medium is owne d by a single Z O 8, L E organisation. . In case of WAN the cost of data transmission is very high because the transmission medium

O 8, L used are hired, either telephone lines or satellite lin s.. The speed of data tr ansmission is much higher in LAN than in WAN. , , 8 .. speed in LAN varies 6 from 0.1 to 100 megabits per second. In case of WAN the speed ranges from 1800 t o 9600 bits per second 0.1 0 100 megabits . 9600 j 1800 < (bps). () Bps. Few data transmission errors occur in LAN compared to WAN. , 8 LAN the distance covered is O 8, 0 negligible. . 4.5 NETWORK TOPOLOGY 4.5 I The term topology in the context of communication networ refers to the way the computers or wor stations in the < < ' R wor stations networ are lin ed together. < /. According to the physical arrangement ature of wor , there are wor stations D 0 , / three major types of networ topology. They are star topology, bus topology and ring topology. < . ~ / , . 4.5.1 Star topology 4.5.1 In star topology a number of wor stations (or nodes) are directly lin ed to a ce ntral node (see, . 4.3). wor stations ( h ) / 0 ( , 4,3.). Any communication between stations on a star LAN must pass through the central node. 8 0 L . There is bi-directional ; ? 5 " communication between various nodes. 6 h . The central node controls all the activities of the nodes. 0 8 . The advantages of the star topology are: /: It offers flexibility of adding or deleting of wor stations from the networ . ons . Brea down of one station does not affect any other device on the networ . 0 . The major disadvantage of star topology is that failure of the central node disa bles communication throughout the 1 0 , whole networ . < . 4.5.2 Bus Topology 4.5.2 In bus topology all wor stations are connected to a single communication line ca lled bu s. wor stations In this type of networ < topology there is no central node as in star topology. # station travels the length of the bus in both , 8 a directions and can be received by all wor stations. , wor stations Z topology is that , It is quite easy to set up. . If one station of the topology fails it does not affect the entire system. , 0 0

<

[ ,

/ . The disadvantage of bus topology is that any brea in the bus is difficult to id entify.. , , 1 .. Bus Topology 4.5.3 Ring Topology 4.5.3 In ring topology each station is attached nearby stations on a point to point ba sis so that the entire system is in the E

8 z , form of a ring. ~ # . In this topology data is transmitted in one direction only. Thus the data pac ets circulate along the ring in ~ either cloc wise or anti-cloc wise direction. 1C < 1C < , . The advantage of this topology is that any signal transmitted on the , , networ passes through all the LAN stations. < 8 L brea down of any one ~ < , , station on the ring can disable the entire system. ~ 0 1 Ring Topology IN-TEXT QUESTIONS 2 2 1. 1. Differentiate between LAN and WAN. . 2. 2. What are the different types of networ topology? O < 3. 3. State True or False.(a) Networ s used to interconnect computers in a singl e room, rooms within a building or buildings on one site are : 0 . ( ) R < , , 8 / called Wide Area Networ (WAN). ) < ( . (b) The term Wide Area Networ (WAN) is used to describe a computer networ span ning a regional, national or global ( ) ' < ( ) < < C , area. C . (c) The speed of data transmission is much higher in WAN than in LAN. ( ) (d) In star topology a number of wor stations (or nodes) are directly lin ed to a central node. ( ) wor stations @ ( h ) / 0 . (e) The advantage of the bus topology is that, If one station of the topology fa ils it does not affect the entire system. ( ) , , , 0 . 4.6 INTERNET 4.6 The Internet is a networ of networ s. Millions of computers all over the world are connected through the Internet. < 8. < 8 L . Computer users on the Internet can contact one another anywhere in the world. / < . If your computer is connected to the Internet, you can connect to millions of computers. , 8 and distribute your data. j / 0 . It is very much similar to the telephone connection where you can tal with any person anywhere in the world. O 0 , D X / . In Internet a huge resource of information is accessible to people across the wo rld. 0 8 . Information in every field starting C from education, science, health, medicine, history, and geography to business, n

. The d

ews, etc. can be retrieved through

, , , E , , D , , L [ , Internet. . You can also download programs and software pac ages from anywhere in the orld. / < 8 0 f . Due to the tremendous 0 information resources the Internet can provide, it is now indispensable to every organisation. /, < . Origin of Internet , A /] In 1969 Department of Defence (DOD) of USA started a networ called ARPANET (Adv anced Research Projects 1969 X : C ) DOD ( # < < ARPANET ( Administration Networ ) with one computer at California and three at Utah. Utah < . Later on other universities and R & D 6 8 institutions were allowed to connect to the Networ . 8 < O encompass the entire American APARNET R 0 0 continent and became a huge success. Every university in the country wanted to b ecome a part of ARPANET. So the Z0

. ARPANET , . networ was bro en into two smaller parts MILNET for managing military sites and ARPANET (smaller) for managing < MILNET 8 ( 6 ARPANET 8 ) non-military sites. 6 8. Around 1980, NSFNET (National Science Foundation Networ ) eated. 1980 , NSFNET (

, 6 8 NSFNET , , By 1990 many computers were loo ing up to NSFNET giving birth to Internet. 1990 NSFNET . How Internet functions I Internet is not a governmental organisation. 0 0 . The ultimate au rnet Society. 0 . This is a voluntary membership organisation whose purpose is to promote global information exchange. 1o 1 T 0 1 . Internet has more than one million computers attached to it. . E-mail E-mail stands for electronic mail. This is one of the most widely used features of Internet. E . D # , . Mails are regularly used # today where with the help of postage stamp we can transfer mails anywhere in the world. , 0 / . With electronic mail the O service is similar. . But here data are transmitted through Internet and there minutes the message reaches the , L / destination may it be anywhere in the world. D 0 . Theref nd is being used widely D # , for mail transfer..IN-TEXT QUESTIONS 3 .. 3 1. 1. What is Internet? O ? 2. 2. What is e-mail? O ? 3. 3. How does Internet function? < ? 4.7 WHAT YOU HAVE LEARNT 4.7 ! In this lesson we discussed the importance and modes of communication through co mputers. E L < . Computers can / communicate with one another through computer networ ing. , L of computer networ : LAN and < / : WAN. . We discussed about the physical arrangements of computer and peripherals in networ topology. < peripherals < D 0 . There are / three types of networ topology: star topology, bus topology and ring topology. < . Also we discussed about Internet and e-mail. . 4.8 TERMINAL QUESTIONS 4.8 I 5 1. 1. What is computer Networ ? < O ? What are its main objectives? O T 2. 2. Differentiate between analog and digital transmission of data. , 1 3. 3. Explain in brief different communication media. , 1C[ . 4. 4. What is the difference between simplex and full-duplex transmission? O Z 4.9 FEEDBACK TO IN-TEXT QUESTIONS 4.9 5 F 3 IN-TEXT QUESTIONS 1 1 1. 1. The data communication software instructs computer systems and devices as to how exactly data is to be f # R 8 K transferred from one place to another. . The procedu software is , f # < commonly called protoco l. 6 protoco

< ) . With the advancement of modern communication facilities, other computers were also allowed to be lin ed up with any computer of NSFNET.

2. 2. In asynchronous transmission data is transmitted character by character as you go on typing on a eyboard. R Z # . On the other hand, in the synchronous mode, the saved data is transmitted bloc by bloc . 6 , R , ' ' Z . 3. 3. (a) True (b) False (c) True (d) True (e) True ( ) ( ) ( ) ( ) IN-TEXT QUESTIONS 2 2 1. 1. LAN is restricted to limited geographical area whereas WAN covers great di stance. 0 , , C 0 . In LAN the computer terminals and peripheral devices are connected with wires and coaxial cables whe reas in WAN < 8 8 , / C 8 communication is done through telephone lines and satellite lin s. L speed of data transmission is much higher in LAN than in WAN. . 2. 2. There are three major types of networ topology. < / and ring topology. / , ~. 3. 3. (a) False (b) True (c) False (d) True (e) True ( ) ( ) ( ) ( ) IN-TEXT QUESTIONS 3 3 1. 1. The Internet is a networ of networ s. < < . Information in on, science, health, C # C ,

, , medicine, history, and geography to business, news, etc. can be retrieved throug h Internet. , E , , D , , L [ , . 2. 2. E-mail stands for electronic mail. Through e-mail we can transfer data any where in the world within seconds. E L 0 / 3. 3. Internet is not a governmental organisation. 0 0 he Internet Society. 0 . This is a voluntary membership org org 1o

. The ulti

Você também pode gostar