Байланысты: Morozova E.N. English for IT Students(2)
Programming Languages Read and translate the text:
Programming is a way of sending instructions to the computer. To create these instructions, programmers use programming languages to create source code, and the source code is then converted into machine (or object) code, the only language that a computer understands. People, however, have difficulty understanding machine code. As a result, first assembly languages and then higher-level languages were developed. Programming languages require that information be provided in a certain order and structure, that symbols be used, and sometimes even that punctuation be used. These rules are called the syntax of the programming language, and they vary a great deal from one language to another.
Categories of Languages. Based on evolutionary history, programming languages fall into one of the following three broad categories:
Machine Languages. Machine languages consist of the 0s and 1s of the binary number system and are defined by hardware design. A computer understands only its machine language – the commands in its instruction set that instruct the computer to perform elementary operations such as loading, storing, adding, and subtracting.
Assembly Languages. These languages were developed by using English-like mnemonics. Programmers worked in text editors to create their source files. To convert the source files into object code, researchers created translator programs called assemblers. Assembly languages are still much easier to use than machine language.
Higher-Level Languages. These languages use syntax that is close to human language, they use familiar words instead of communicating in digits. To express computer operations, they use operators, such as the plus or minus sign, that are the familiar components of mathematics. As a result, reading, writing, and understanding computer programs is easier.
Machine languages are considered first-generation languages, and assembly languages are considered second-generation languages. The higher-level languages began with the third generation. Third-generation languages (3GLs) can support structured programming, use true English-like phrasing, make it easier for programmers to share in the development of programs. Besides, they are portable, that is, you can put the source code and a compiler or interpreter on practically any computer and create working object code. Some of the third-generation languages include the following: FORTRAN, COBOL, BASIC, Pascal, C, C++, Java, ActiveX.
Fourth-generation languages (4GLs) use either a text environment, much like a 3GL, or a visual environment. In the text environment, the programmer uses English-like words when generating source code. In a 4GL visual environment, the programmer uses a toolbar to drag and drop various items like buttons, labels, and text boxes to create a visual definition of an application. Many 4GLs are database-aware; that is, you can build programs with a 4GL that work as front end (an interface that hides much of the program from the user) to databases. Programmers can also use 4GLs to develop prototypes of an application quickly. Some of the fourth-generation languages are Visual Basic and Visual Age.
A 5GL would use artificial intelligence to create software based on your description of what the software should do.
Vocabulary:
as a result [qzqri'zAlt] – в результате
assembly language [q'sembli 'lxNgwiG] – язык ассемблера
higher-level language ['haiq'levl'lxgwiG] – язык более высокого уровня, высокоуровневый язык
description [dis'kripSn] – описание
Answer the questions:
What is programming?
How are instructions created?
What is called the syntax of the programming language?
What are the categories of programming languages?
What is a machine language?
What is the difference between the machine language and the assembly language?
What is a translator program?
Why is programming in higher-level languages easier than in machine and assembly languages?
What languages are considered first- and second-generation?
What are third-generation languages characterized by?
Give the names of third-generation languages.
What types of environment are used with fourth-generation languages?
Give the names of some fourth-generation languages.
What would fifth-generation languages be characterized by?
Tell whether the following statements are true or false:
Assembly-languages and higher-level languages were developed because people have difficulty understanding machine code.
Programming languages require the programmer to follow rules of syntax.
Compilers and interpreters can correct (исправлять) the programmer’s syntax errors when creating object code.
Programming languages are usually grouped by their place in the evolution of programming languages.
Machine languages are the most advanced of all programming languages.
Machine languages and assembly languages are both considered first-generation programming languages.
Assembly languages are based on binary number system.
Third-generation languages use a visual environment.
Third-generation languages are highly portable.
Because they are more complex and sophisticated, fourth-generation languages are considerably more difficult to use than third-generation languages.
One benefit of fourth-generation languages is their ability (способность) to quickly generate prototype applications.
Visual Basic lets programmers create applications only in a text environment.
Fill in the blanks:
Many programming languages follow a set of rules called _____________.
Programming languages fall into _____________, _____________ and ______________.
Machine languages are defined by ____________ design.
A computer understands only its machine language and performs elementary operations such as ____________, ____________, __________ and ____________.
_______________ languages were developed by using English-like mnemonics for commonly used strings (строка) of machine language.
_____________ are used for converting the source files into object code.
The term _____________ means that you can put the source code and a compiler or interpreter on practically any computer and create working object code.
Fourth-generation languages use either a ___________ environment or a ___________ environment.
Examples of fourth-generation languages are ___________ and _________.
A(n) _____________ is an interface to a program that hides much of the program from the user.
Choose the right answer:
To create source code, programmer use
Programming languages c. Compilers
Object code d. Interpreters
A programming language’s syntax rules may require that
Information is provided in a certain order
Symbols are used
Punctuation is used
All the above
Which of the following is not a major category of programming languages?
Machine languages c. Lower-level languages
Assembly languages d. Higher-level languages
Machine languages are defined by
Hardware design c. Compilers
Portability d. Syntax
Which of the following is closest to human language?
Machine languages c. Higher-level languages
Assembly languages d. All are similar to human language
Which of the following is not a category of higher-level languages?
Third-generation languages c. Fifth-generation languages
Fourth-generation languages d. Sixth-generation languages
Which of the following is considered to be a second-generation programming language?
Machine language c. Higher-level language
Assembly language d. None of the above
Which type of language was the first to use true English-style phrasing?
First-generation language c. Third-generation language
Second-generation language d. Fourth-generation language
Match each item to the correct statement below:
Machine language d. Third-generation language
Assembly language e. Fourth-generation language
Higher-level language f. Fifth-generation language