Programmes and Programming Languages
Reading Task 1 Before reading the text, try to fill in the gaps in these sentences.
Now read the text to check your answer.
Programmes and Programming Languages
Computers can deal with different kinds of problems if they are given the right instructions for what to do. Instructions are first written in one of the high-level languages, e.g. FORTRAN, COBOL, ALGOL, PL/I, PASCAL, BASIC, or C, depending on the type of problem to be solved. A programme written in one of these languages is often called a source programme, and it cannot be directly processed by the computer until it has been compiled, which means interpreted into machine code. Usually a single instruction, written in a high-level language, when transformed into machine code, results in several instructions. Here is a brief description of some of the many high-level languages. FORTRAN acronym for FORmula TRANslation. This language is used for solving scientific and mathematical problems. It consists of algebraic formulae and English phrases. It was first produced in the United States in 1954. COBOL acronym for Common Business-Oriented Language. This language is used for commercial purposes. COBOL which is written using English statements, deals with problems that do not involve a lot of mathematical calculations. It was first introduced in 1959. ALGOL acronym for ALGOrithmic Language. Originally called IAL, which means International Algebraic Language. It is used for mathematical and scientific purposes. ALGOL was first introduced in Europe in 1960. PL/I Programming Language I. Developed in 1964 to combine features of COBOL and ALGOL. Consequently it is used for data processing as well as scientific applications. BASIC acronym for Beginner’s All purpose Instruction Code. Developed in 1965 at Dartmouth College in the United States for use by students who require a simple language to begin programming. C developed in 1970s to support the UNIX operating system. C is a highly portable general purpose language. Other such languages are APL, developed in 1962, PASCAL, named after Blaise Pascal and developed in 1971, and LISP and PROGOL, both of which are used for work in artificial intelligence. LOGO is a development of LISP which has been used to develop computer based training (CBT) packages. When a programme written in one of these high-level languages is designed to do a specific type of work such as calculate a company’s payroll or calculate the stress factor on a roof, it is called an applications programme. Institutions either purchase these programmes as packages or commission their own programmers to write them to meet the specifications of the users. The programme produced after the source programme has been converted into machine code is referred to as an object programme or object module. This is done by a computer programme called the compiler, which is unique for each computer. Consequently, a computer needs its own compiler for the various high-level languages if it is expected to accept programmes written in those languages. For example, in order that an IBM RS/6000 may process a programme in FORTRAN, it needs to have a compiler that would understand that particular model and the FORTRAN language as well. The compiler is a system programme which may be written in any language but the computeras operating system is a true system programme which controls the central processing unit (CPU), the input, the output and the secondary memory devices. Another systems programme is linkage editor, which fetches required systems routines and links them into the object module (the source programme in machine code). The resulting programme is then called the load module, which is the programme directly executable by the computer. Although systems programmes are part of the software, they are usually provided by the manufacturer of the machine. Unlike systems programmes, software packages are sold by various vendors and not necessarily by the computer manufacturer. They are a set of programmes designed to perform certain applications which conform to the particular specifications of the user. Payroll is an example of such a package which allows the user to input data – hours worked, pay rates, special deductions, names of employees – and get salary calculations as output. These packages are coded in machine language (0s and 1s) on magnetic tapes or disks which can be purchased, leased or rented by users who choose the package that most closely correspond to their needs.
|