Студопедия — 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?







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



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

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

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

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

Случайной величины Плотностью распределения вероятностей непрерывной случайной величины Х называют функцию f(x) – первую производную от функции распределения F(x): Понятие плотность распределения вероятностей случайной величины Х для дискретной величины неприменима...

Схема рефлекторной дуги условного слюноотделительного рефлекса При неоднократном сочетании действия предупреждающего сигнала и безусловного пищевого раздражителя формируются...

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

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

Классификация ИС по признаку структурированности задач Так как основное назначение ИС – автоматизировать информационные процессы для решения определенных задач, то одна из основных классификаций – это классификация ИС по степени структурированности задач...

Внешняя политика России 1894- 1917 гг. Внешнюю политику Николая II и первый период его царствования определяли, по меньшей мере три важных фактора...

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