Студопедия

Главная страница Случайная страница

Разделы сайта

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






Programs and programming languages






1. Computers can deal with different kinds of problems if they are given the right instructions for what to do. Instructions are first written in one of the high-level languages, e.g. FORTRAN, COBOL, ALGOL, PL/1, PASCAL, depending on the type of problem to be solved. A program written in one of these languages is often called a source program, and it can’t be directly processed by the computer until it has been compiled, which means interpreted into machine code. Usually a single instruction written in a high-level-language, when transformed into machine code, results in several instructions. Here is a brief description of some of the many high-level languages:

2. FORTRAN acronym for FORmula TRANslation. This language is used for solving scientific and mathematical problems. It consists of algebraic formulae and English phrases. It was first introduced in the US in 1954.

COBOL acronym for COmmon Business-Oriented Language. This language is used for commercial purpose. COBOL, which is written using English statements, deals with problems that do not involve a lot of mathematical calculations. It was first introduced in 1959.

ALGOL acronym for ALGOrithmic Language. Originally called IAL, which means International Algebraic Language. It is used for mathematical and scientific purposes. ALGOL was first introduced in Europe in 1960.

PL/1 Programming Language 1. Developed in 1964 to combine features of COBOL and ALGOL. Consequently, it is used for data processing as well as scientific applications.

BASIC acronym for Beginner’s All-purpose Symbolic Instruction Code. Developed in 1965 at Dartmouth College in the United States for use by students who require a simple language to begin programming.

C was developed in the 1970s to support the UNIX operating system. C is a highly portable general-purpose language.

Other such languages are APL (developed in 1962), PASCAL (named after Blaise Pascal and developed in 1971), and LISP and PROLOG, both of which are used for work in artificial intelligence.

3. When a program written in one of these high-level languages is designed to do a specific type of work such as calculate a company’s payroll or calculate the stress factor on a roof, it is called an applications program. Institutions either purchase these programs as packages or commission their own programmers to write them to meet the specifications of the users.

4. The program produced after the source program has been converted into machine code is referred to as an object program or object module. This is done by a computer program called the compiler, which is unique for each computer. Consequently, a computer needs its own compiler for the various high-level languages if it is expected to accept programs written in those languages.

5. The compiler is a systems program which may be written in any language, but the computer’s operating system is a true systems program which controls the central processing unit, the input, the output, and the secondary memory devices. Another systems program is the linkage editor, which fetches required systems routines and links them to the object module. The resulting program is then called the load module, which is the program directly executable by the computer. Although systems programs are part of the software, they are usually provided by the manufacturer of the machine.

6. Unlike systems programs, software packages are sold by various vendors and not necessarily by the computer manufacturer. They are a set of programs designed to perform certain applications which conform to the particular specifications of the user. Payroll (list of employees and the amount of money to be paid to each of them) is an example of such a package which allows the user to input data and get salary calculations as output. These packages are coded in machine language on magnetic tapes or disks which can be purchased, leased, or rented by users who choose the package that most closely corresponds to their needs.

11. Прочитайте первый абзац текста найдите ответы на вопросы: What is a source programme? When does a single instruction result in several instructions?






© 2023 :: MyLektsii.ru :: Мои Лекции
Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав.
Копирование текстов разрешено только с указанием индексируемой ссылки на источник.