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

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

Programming






Computers are controlled by sets of instructions called programs. Programs are written by a person called a programmer using special languages called programming languages.

There is a large number of computer languages available for use by programmers. Each language is designed for use in solving particular types of problem and therefore has particular strengths and weaknesses. A system analyst has to decide which language is most appropriate in ach situation. Languages such as C++ are particularly suitable for writing systems programs. These are programs that are used to control the basic functions of a computer system e.g. operating system programs. Languages such as Visual Basic and Pascal are easy to use and are particularly suitable for learning how to program. FORTRAN is designed for solving engineering problems, COBOL for writing business programs, Ada for military purposes, Prolog and LISP for working in artificial intelligence, i.e. an area of computing concerned with developing computer programs that perform tasks that can normally only be done using human intelligence. Logo is particularly suited for use by young children.

Some languages such as HTML and XML are markup languages rather than programming languages i.e. they use tag codes (labels) for marking text for use in programs such as Web browsers. Languages such as Java and Perl have a number of specialized uses including adding features to Internet connections and webpages (hyperlinked documents).

Some expressions from the programming language used in the text in this unit are shown in the table below.

 

Expression Meaning
\\ remark (a not for the programmer that is not processed)
PRINT shows the value of a variable on the display screen
CLS clears the display screen
END marks the end of a program

Programmers often do some systems analysis as well as writing the program code. Their first task is usually to analyze the problem, so that they can design a system to deal with it. When they have designed a code for a system and tested it, they then have to create documentation, i.e. notes which explain the structure and logical steps of the program for future users and trainers. They have to be involved in the initial training of users, so that they can make changes to the program according to information obtained from the users. They sometimes use diagrams, called flowcharts, to show the sequence of logical steps in a program. Flowcharts have arrowheads to indicate the direction of program flow and special symbols to indicate different functions in the program.

It is very difficult to write a program without any faults. The errors, or bugs as they are commonly known, can be caused by a number of factors, and programs usually have to be debugged, i.e. tested and altered to eliminate all the errors, before they are used.

3 Answer the following questions:

1. Are computers controlled by sets of instructions?

2. Whom are programs written by?

3. What does a programmer use to write a program?

4. What is the first task of programmers?

5. What does documentation to a program contain?

6. Do programmers have to be involved in the initial training of users? What for?

7. What do programmers use to show the sequence of logical steps in a program?

8. Is it easy to write a program without any faults?

9. What does the term “debug” mean?

 

UNIT 20







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



Практические расчеты на срез и смятие При изучении темы обратите внимание на основные расчетные предпосылки и условности расчета...

Функция спроса населения на данный товар Функция спроса населения на данный товар: Qd=7-Р. Функция предложения: Qs= -5+2Р,где...

Аальтернативная стоимость. Кривая производственных возможностей В экономике Буридании есть 100 ед. труда с производительностью 4 м ткани или 2 кг мяса...

Вычисление основной дактилоскопической формулы Вычислением основной дактоформулы обычно занимается следователь. Для этого все десять пальцев разбиваются на пять пар...

МЕТОДИКА ИЗУЧЕНИЯ МОРФЕМНОГО СОСТАВА СЛОВА В НАЧАЛЬНЫХ КЛАССАХ В практике речевого общения широко известен следующий факт: как взрослые...

СИНТАКСИЧЕСКАЯ РАБОТА В СИСТЕМЕ РАЗВИТИЯ РЕЧИ УЧАЩИХСЯ В языке различаются уровни — уровень слова (лексический), уровень словосочетания и предложения (синтаксический) и уровень Словосочетание в этом смысле может рассматриваться как переходное звено от лексического уровня к синтаксическому...

Плейотропное действие генов. Примеры. Плейотропное действие генов - это зависимость нескольких признаков от одного гена, то есть множественное действие одного гена...

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

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

Типовые ситуационные задачи. Задача 1.У больного А., 20 лет, с детства отмечается повышенное АД, уровень которого в настоящее время составляет 180-200/110-120 мм рт Задача 1.У больного А., 20 лет, с детства отмечается повышенное АД, уровень которого в настоящее время составляет 180-200/110-120 мм рт. ст. Влияние психоэмоциональных факторов отсутствует. Колебаний АД практически нет. Головной боли нет. Нормализовать...

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