ТОП 10 на сайтеПриготовление дезинфицирующих растворов различной концентрации
Техника нижней прямой подачи мяча.
Франко-прусская война (причины и последствия)
Организация работы процедурного кабинета
Смысловое и механическое запоминание, их место и роль в усвоении знаний
Коммуникативные барьеры и пути их преодоления
Обработка изделий медицинского назначения многократного применения
Образцы текста публицистического стиля
Четыре типа изменения баланса
Задачи с ответами для Всероссийской олимпиады по праву
Мы поможем в написании ваших работ!
ЗНАЕТЕ ЛИ ВЫ?
Влияние общества на человека
Приготовление дезинфицирующих растворов различной концентрации
Практические работы по географии для 6 класса
Организация работы процедурного кабинета
Изменения в неживой природе осенью
Уборка процедурного кабинета
Сольфеджио. Все правила по сольфеджио
Балочные системы. Определение реакций опор и моментов защемления
Programming Languages and Functions
The use of existing and new programming languages have extended the capabilities of the Web. Here are a group of the more common languages and functions in use on the Web today.
CGI, Active Server Pages: CGI (Common Gateway Interface) refers to a specification by which programs can communicate with a Web server. A CGI program. Or script, is any program designed to accept and return data that conforms to the CGI specification. The program can be written in any programming language, including C, Perl, and Visual Basic Script. A common use for a CGI script is to process an interactive form on a Web page. For example, you might fill out a form ordering a book through Interlibrary Loan. The script processes your information and sends it to a designated e-mail address in the Interlibrary Loan department.
Java/Java Applets:Java is probably the most famous of the programming languages of the Web. Java is an object-oriented programming language similar to C++. Developed by Sun Microsystems, the aim of Java is to create programs that will be platform independent. The Java motto is “Write once, run anywhere”. A perfect Java program should work equally on a PC, Macintosh, Unix, and so on without any additional programming. This goal has yet to be realized. Java can be used to write applications for both Web and non-Web use. Web-based applications are usually in the form of Java applets. These are small Java programs called from an HTML page that can be downloaded from a Web server and run on a Java-compatible Web browser. A few examples include live newsfeeds, moving images with sound, calculators, charts and spreadsheets, and interactive visual displays.
VRML:(Virtual Reality Modeling Language) allows for the creation of three- dimensional worlds. These may be linked from Web pages and displayed with a VRML viewer. One of the most interesting aspects of VRML is the option to “enter” the world and control your movements within the world.
XML:(eXtensible Markup Language) is a Web page creation language that enables designers to create their own customized tags to provide functionality not available with HTML. XML is a language of data structure and exchange, and allows developers to separate form from content. At present, this language is little used as Web browser are only beginning to support it.
Divide the text into the logical parts and give a title to each one.
Put questions to the text.
Discuss it with your groupmates.
Text Study: Programming Languages.
Additional Text: SIMULA, SMALLTALK, AND EIFFEL.
Grammar: Revision of the Module V.
I. Pre-reading Exercises
1. Repeat the words in chorus:
To compile, to interpret, an acronym, features, consequently, to support, suitable, compiler, efficient, considerable, power, responsibility, to revise, acceptable, errors, superficial, level, syntactically, ambiguous.
2. While reading the text you will come across a number of international words. Try to guess what Ukrainian words they remind of you:
To transform, algebraic, formulae, phrases, commercial, algorithmic, portable, peripheral, to manipulate, specific, registers, a dialect, abstract, technique, natural, grammatical, information.
3. Pay attention to some grammatical points:
1) Computers can deal with different kinds of problems ifthey are given the right instructions for what to do. 2) Instructions are first written in one of the high-level languages, e.g. FORTRAN, COBOL, ALCOL, PL/I, PASCAL, BASIC, or C., depending on the type of problem to be solved. 3) A program written in one of these languages is often called a source program. 4) This language is used for solving scientific and mathematical problems. 5) C was designed to be a language that would be suitable for writing system's software, like the core parts of an operating system. 6) The code generated by the compiler had to be very efficient if the language was to be used in this way. 7) Consequently, in some respects the language is simpler than other Algol family languages that have retained the relatively complex nested program structures. 8) Programming languages have grammatical rules that need to be learnt, just as natural languages do.
Read the text and be ready to find in the text the answers to the following questions:
· What programming languages do you know?
· Why cannot we make jokes in computer languages ?
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, ALCOL, PL/I, PASCAL, BASIC, or C., 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 cannot 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:
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 United States in 1954.
COBOL acronym for Common Business-Oriented Language. This language is used for commercial purposes. COBOL 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/IProgramming language I. 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 developed in the 1970s to support the UNIX operating system. C is a highly portable general-purpose language. C was designed to be a language that would be suitable for writing system's software, like the core parts of an operating system. The code generated by the compiler had to be very efficient if the language was to be used in this way. Anything a compiler would have difficulties with was dropped. Consequently, in some respects the language is simpler than other Algol family languages that have retained the relatively complex nested program structures. If C was to be used for writing things like "device driver code" (the code that actually interacts with the peripheral controllers), then it had to allow the programmer get down the hardware level and manipulate bits in specific registers and in particular memory addresses. This gives the programmer considerable power, and lots of responsibility.
C++ started as a dialect of C around about 1980, it has been revised twice since then. But they are still very similar languages (in fact, a correct C program should be acceptable to a C++ compiler). The C++ language aimed to achieve three things: to be a better C; to support "abstract data types"; to permit the use of a programming technique known as "object oriented programming" (OOP). C++ was designed to permit more compile time checking and also to offer alternatives to various features of C that were known to be common sources of programming errors.
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. LOGO is a development of LISP which has been used to develop computer based training packages.
At a superficial level, programming languages and natural languages are similar. Programming languages have grammatical rules that need to be learnt, just as natural languages do. At the same level, computers can ‘’understand’’ and ‘’communicate with’’ humans through programming languages: superficial interaction is possible. However, programming languages are data-free and therefore contain no information in themselves. The information is contained in the data which is processed, but is independent of the language which is used to write the commands to proceed it. The sole purpose of a programming language is to give instructions to a computer, which - providing they are syntactically correct - will be executed. A syntactically correct statement in a programming language has only one interpretation. By definition, it cannot be ambiguous. You cannot make jokes in computer languages.
a source program – вхідна, початкова програма
a purpose – мета, ціль; the sole purpose – єдина мета
to support [sq'pLt] – підтримувати, допомагати
a compiler – компілятор, програма-компілятор; compile time – час компіляції, час роботи компілятора; to compile – вибирати інформацію, збирати матеріал, компілювати програму
to retain – тримати, акумулювати, тримати в пам’яті
а peripheral controller – периферійний контролер
considerable – значний, важливий
to revise – перевіряти, виправляти
acceptable [qk'septqbl]– допустимий
superficial ["sju:pq'fIS(q)l]– зовнішній, поверхневий
interaction– взаємодія, взаємозв’язок
syntactically [sIn'txktIklI]– синтаксично
ambiguous [xm'bIgjuqs] – двозначний, сумнівний
to make jokes – шуткувати
to deal with– мати справу з
to depend on– залежити від
a source –джерело
to process['preuses] –обробляти
a description– опис
to introduce– вводити, представляти
consequently['kOnsIkwqntlI]– отже, отож
nested structure ['strAktSq] – гніздова (вкладена структура)
infopedia.su Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав. Обратная связь - 126.96.36.199 (0.008 с.)