Студопедия — 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; просмотров: 489. Нарушение авторских прав; Мы поможем в написании вашей работы!



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

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

Важнейшие способы обработки и анализа рядов динамики Не во всех случаях эмпирические данные рядов динамики позволяют определить тенденцию изменения явления во времени...

ТЕОРЕТИЧЕСКАЯ МЕХАНИКА Статика является частью теоретической механики, изучающей условия, при ко­торых тело находится под действием заданной системы сил...

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

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

Тема: Кинематика поступательного и вращательного движения. 1. Твердое тело начинает вращаться вокруг оси Z с угловой скоростью, проекция которой изменяется со временем 1. Твердое тело начинает вращаться вокруг оси Z с угловой скоростью...

Искусство подбора персонала. Как оценить человека за час Искусство подбора персонала. Как оценить человека за час...

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

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

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