Студопедия Главная Случайная страница Обратная связь

Разделы: Автомобили Астрономия Биология География Дом и сад Другие языки Другое Информатика История Культура Литература Логика Математика Медицина Металлургия Механика Образование Охрана труда Педагогика Политика Право Психология Религия Риторика Социология Спорт Строительство Технология Туризм Физика Философия Финансы Химия Черчение Экология Экономика Электроника

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­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 memory through a terminal keyboard.

The computer cannot understand instructions written in just any old way. The instructions must be written according to a set of rules. These rules are the foundation of a programming lan­guage. A programming language must convey the logical steps ^fthe program plan in such a way that the control unit of the CPU can interpret and follow the instructions. Programming languages have improved throughout the years, just as computer hardware has improved. They have progressed from machine-oriented languages that use strings of binary 1s 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, BA­SIC, PASCAL.

COBOL

COBOL was the most widely used business-oriented pro­gramming language. Its name is an acronym for Common Busi-ness-Oriented Zanguage. COBOL was designed to solve prob­lems that are oriented toward data handling and input-output operations. Of course, COBOL can perform arithmetic opera­tions as well, but its greatest flexibility is in data handling. CO­BOL 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 CO­BOL is made possible by its sentencelike structure and the very generous maximum symbolic field-name length of 30 charac­ters. With a field-name length of up to 30 characters, the name can clearly identify the field and its purpose.

FORTRAN IV

The FORTRAN IV language is oriented toward solving prob­lems 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

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 power ful of the programming languages, it is not the most commonly used. COBOL and FORTRAN have been available for a longer period of time than PL/I, and many more users work with those languages.

3 Answer these questions:

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 de­velopment of programming languages progressing throughout the years?

6. What are the most common problem-oriented lan­guages?

7. What is COBOL?

8. What functions was COBOL designed for?

9. What does FORTRAN serve for?

10. What ca­pabilities has PL/I?

4 Find English equivalents in the text:

Языки программирования; блок-схема; кодированная форма; вид, удобочитаемый для компьютера; в соответ­ствии с набором правил; представить логические шаги программы; таким образом; совершенствовать языки про­граммирования; машинно-ориентированные языки; про­блемно-ориентированные языки; обычный термин; язык для программирования экономических задач; обработка информации; операции по вводу-выводу данных; гиб­кость; идентифицировать поле и его цели; решение проблем математического характера; сферы научного применения; универсальный язык; включать свойства; уникальные воз­можности; многофункциональный и самый мощный из языков программирования.

5 Translate from English into Russian these 3 texts (in variants):

1. RPG II Programming language

RPG II is 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 prewrit­ten 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.

RPG was originally referred to as a "quick-and-dirty" pro­gramming 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 capabili­ties. 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

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 inexpe­rienced 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. Be­cause 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

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 calcu­lators. PASCAL is a mathematically oriented programming lan­guage 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 pro­gram 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 Di­ego, where PASCAL has been implemented on several differ­ent computers including microcomputers.

6 Give a short summary of the text «Programming Languages».

 








Дата добавления: 2015-10-15; просмотров: 1631. Нарушение авторских прав; Мы поможем в написании вашей работы!




Расчетные и графические задания Равновесный объем - это объем, определяемый равенством спроса и предложения...


Кардиналистский и ординалистский подходы Кардиналистский (количественный подход) к анализу полезности основан на представлении о возможности измерения различных благ в условных единицах полезности...


Обзор компонентов Multisim Компоненты – это основа любой схемы, это все элементы, из которых она состоит. Multisim оперирует с двумя категориями...


Композиция из абстрактных геометрических фигур Данная композиция состоит из линий, штриховки, абстрактных геометрических форм...

Понятие массовых мероприятий, их виды Под массовыми мероприятиями следует понимать совокупность действий или явлений социальной жизни с участием большого количества граждан...

Тактика действий нарядов полиции по предупреждению и пресечению правонарушений при проведении массовых мероприятий К особенностям проведения массовых мероприятий и факторам, влияющим на охрану общественного порядка и обеспечение общественной безопасности, можно отнести значительное количество субъектов, принимающих участие в их подготовке и проведении...

Тактические действия нарядов полиции по предупреждению и пресечению групповых нарушений общественного порядка и массовых беспорядков В целях предупреждения разрастания групповых нарушений общественного порядка (далееГНОП) в массовые беспорядки подразделения (наряды) полиции осуществляют следующие мероприятия...

Тема 5. Анализ количественного и качественного состава персонала Персонал является одним из важнейших факторов в организации. Его состояние и эффективное использование прямо влияет на конечные результаты хозяйственной деятельности организации.

Билет №7 (1 вопрос) Язык как средство общения и форма существования национальной культуры. Русский литературный язык как нормированная и обработанная форма общенародного языка Важнейшая функция языка - коммуникативная функция, т.е. функция общения Язык представлен в двух своих разновидностях...

Патристика и схоластика как этап в средневековой философии Основной задачей теологии является толкование Священного писания, доказательство существования Бога и формулировка догматов Церкви...

Studopedia.info - Студопедия - 2014-2025 год . (0.01 сек.) русская версия | украинская версия