Прочтите текст и объясните, что представляют собой языки программирования.
Text 2. PROGRAMMING LANGUAGES
Let's assume that we have studied the problem, designed a \
logical plan (our flowchart or pseudocode), and are now ready \
to write the program instructions. The process of writing pro- j
gram instructions is called coding. The instructions will be writ- .
ten on a form called a coding form.^The instructions we write ■
will be recorded in a machine-readable form using a keypunch, ;
key-to-tape, or key-to-disk, or entered directly into computer ;
The computer cannot understand instructions written in just ■ v
any old way. The instructions must be written according to a set !
of rules. These rules are the foundation of a programming Ian- j
guage. A programming language must convey the logical steps ■*
of the program plan in such a way that the control unit of the \
CPU can interpret and follow the instructions. Programming j
languages have improved throughout the years, just as comput- I.
er hardware has improved. They have progressed from machine- \
151_______________________ Unit 11. Computer Programming
oriented languages that use strings of binary Is and 0s to problem-oriented languages that use common mathematical and/or English terms.
There are over 200 problem-oriented languages. The most common of them are COBOL, FORTRAN, PL/I, RPG, BASIC, PASCAL.
COBOL was the most widely used business-oriented programming language. Its name is an acronym for Common Јlisi-ncss-Oriented Zanguage. COBOL was designed to solve problems that are oriented toward data handling and input-output operations. Of course, COBOL can perform arithmetic operations as well, but its greatest flexibility is in data handling. COBOL also was designed as a self-documenting language. Self-documenting languages are those that do not require a great deal of explanation in order to be understood by someone reading the program instructions. The self-documenting aspect of COBOL is made possible by its sentencelike structure and the very generous maximum symbolic field-name length of 30 characters. With a field-name length of up to 30 characters, the name can clearly identify the field and its purpose.
The FORTRAN IVlanguage is oriented toward solving problems of a mathematical nature. The name FORTRAN comes from the combination of the words formula translation. The version of FORTRAN IV has been designed as algebra-based programming language. Any formula or those mathematical relationships that can be expressed algebraically can easily be expressed as a FORTRAN instruction. FORTRAN is the most commonly used language for scientific applications.
PL/I stands for programming language I. It was designed as a general-purpose language incorporating features similar to COBOL for data handling instructions and features similar to FORTRAN for mathematical instructions. PL/I is much more than a combination of the good features of both COBOL and FORTRAN, as it has many capabilities that are unique. Yet, although PL/I is one of the most versatile and the most powerful of the programming languages, it is not the most commonly
Английский язык. Оыюяыквивыотерной грамотности 252
used. COBOL and FORTRAN have been available for a longer period of time than PL/I, and many more users work with those languages.
9. Просмотрите текст еще раз и ответьте на вопросы, ис
1. What is the process of writing instructions called? 2. What is a code? 3. How must instructions be written? 4. What is the foundation of any programming language? 5. How was the development of programming languages progressing throughout the years? 6. What are the most common problem-oriented languages? 7. What is COBOL? 8. What functions was COBOL designed for? 9. What does FORTRAN serve for? 10. What capabilities has PL/I?
10. Найдите в тексте английские эквиваленты следующих
Языки программирования; блок-схема; кодированная форма; вид, удобочитаемый для компьютера; в соответствии с набором правил; представить логические шаги программы; таким образом; совершенствовать языки программирования; машинно-ориентированные языки; проблемно-ориентированные языки; обычный термин; язык для программирования экономических задач; обработка информации; операции по вводу-выводу данных; гибкость; идентифицировать поле и его цели; решение проблем математического характера; сферы научного применения; универсальный язык; включать свойства; уникальные возможности; многофункциональный и самый мощный из языков программирования.
11. Найдите в текстах 1 и 2 слова, близкие по значению
Nouns: command; line; characteristic; form; evolution; enumeration; mistake; method; character; manual (instruction); consumption; storage; basics; abbreviation; interpretation; correlation; possibility.
Verbs: include; inform; process; protect; apply; permit; stress; suppose; learn; make up; write; key; explain; define; perfect; advance; decide; execute; demand.
153 Unit 11. Computer Programming
Adjectives: full; incorrect; usual; necessary; accessible; required; considerable; floppy; possible.
12. Переведите условные сложноподчиненные предложе
I. 1. If you try very hard you can master any language. 2. If
II. 1. It would be a good thing if you didn't smoke. 2. If the
HI. 1.1 decided to stay at home last night. I would have gone out if I hadn't been so tired. 2. Had he not been busy, he wouldn't have missed that conference. 3. Why didn't you phone me yesterday? I would have helped you. 4. If you had attended preliminary courses, you would have passed you examinations more successfully. 5. Had the manager had this information before, he would have acted differently. 6. The binary system is particulary appropriate to the nature of an electric machine; if it had not existed, computer designers would have had to invent it.
13. Выполните перевод следующих текстов письменно по
RPG II Programming language
RPG IIis a business-oriented language. The name stands for report program generator. RPG is considerably different from other programming languages. RPG is, in effect, a large prewritten program. The programmer simply indicates the options within the master program that are to be used and, through a set of indicators, when they are to be used.
Английский язык. Основы компьютерной грамотности 154
RPG was originally referred to as a "quick-and-dirty" programming language. That is, it is quick for the programmer to write and relatively inefficient in its use of main storage and processing speed. The latest version of RPG, called RPG II, greatly improved the language and gave it additional capabilities. RPG has an advantage over COBOL in that it requires less training for a programmer to become proficient in it. For this reason, RPG is commonly used on many smaller computers and in small business.
BASIC is the acronym for beginner's all-purpose symbolic instruction code. It was developed in Dartmouth College as an easy-to-learn programming language for students and inexperienced programmers. Its key design goal is simplicity. BASIC has become a very popular language in systems where many users share the use of a computer through terminals and it has become a universal language for personal computers.
The language BASIC is mathematically oriented, that is, its typical use is to solve problems of a mathematical nature. Because BASIC programs are usually executed from a terminal or microcomputer where input is entered through a keyboard and printed output is relatively slow, problems of a business nature requiring large volumes of input-output data are usually not practical.
PASCAL was invented in 1970 by Professor Niklaus Wirth of Zurich, Switzerland. It was named after the mathematician Blaise Pascal, who invented one of the earliest practical calculators. PASCAL is a mathematically oriented programming language and, as such, is most commonly used in mathematics, engineering, and computer science departments of colleges and universities. This language is somewhat unusual in that it was designed to be a structured language. This means that the program must be written in logical modules which are in turn called by a main controlling module. Much of PASCAL'S popularity is due to work done at the University of California at San Diego, where PASCAL has been implemented on several different computers including microcomputers.
155 Unit 11. Computer Programming
14. Прочтите тексты (по вариантам) и составьте рефераты на английском языке.