Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Тексты(все).docx
Скачиваний:
4
Добавлен:
01.07.2025
Размер:
1 Мб
Скачать
☆

Implementation

to exist существовать, находиться, быть

existence

existent

to point out выделять exception исключение, возражение The exception proves the rule. Исключение подтверждает правило. to follow следовать, придерживаться property собственность, свойство, качество to describe описывать, характеризовать(ся)

description

reference ссылка, сноска, обращение

to check проверять, контролировать, сличать

convention соглашение, обычай, условность

token обозначение, знак, система

to require требовать, нуждаться

adjacent примыкающий, смежный, соседний

to parse анализировать, разбирать

to nest вкладывать, формировать гнездо

arbitrary произвольный

to count (as) полагать, считать, иметь значение

underscore подчеркивание

Упражнение 3. Please, try to define what programming language is. If you like, use the words.

Определите, что такое язык программирования. Если хотите, используйте слова: sys­tem, designation, for, description, program, algorithm.

Упражнение 4. Пробуем говорить.

Read the Webster’s definition and compare it to that given by you.

Прочтите определение из словаря Вебстера и сравните его с определением, данным вами.

A programming language is the set of words,, and rules governing their use, employed in constructing a program.

Используйте слова: easier to understand, more complete, sounds more scientific, more professional.

Упражнение 5. Пробуем говорить.

Для того, чтобы ответить на вопросы, измените их на утвердительные предложения. Используйте сам вопрос, начиная с подчеркнутой части, в некоторых меняя you на/, ставя на второе место сказуемое (действие).

Are programming languages artificial or natural?

What types of programming languages do you know?

What programming languages are preferable to programmers?

What programming languages can you name?

Which of them do ygu like best?

What programming languages have you already worked with?

What are the differences between them?

Упражнение 6. Match the words to the definitions:

Сопоставьте названия и определения к ним. Можно проговаривать вслух: "High-level language is...

  1. High-level language 1. a programming language, such as

COBOL, designed to describe the steps necessary to solve certain types of problems.

  1. Low-level language 2. a programming language, such as

RPG, designed to describe more readily the problems to be solved, rather than to specify the steps to be taken to solve the problem.

  1. Procedure-oriented language 3. a programming language, using

symbolic code, that is based on the machine language of a particular computer and requires an assem­bler to translate it into actual ma­chine language.

  1. Problem-oriented language 4. a programming language that

correspondes closely to the machine language of a computer, such as an assembly language.

  1. Machine language 5. a programming language, such as

BASIC or COBOL or..., that is not dependent upon the machine Ian guage of a computer, requires a compiler to translate it into machine language, and has been designed to allow the use of words similar to those in the English language.

  1. Machine-oriented language 6. the programming language com­

prised of a set of unique machine codes that can be directly executed by a given computer.

Упражнение 7. Сопоставьте заголовки и тексты-объяснения:

  1. We know at least three meanings of this word. First, it is the rules and conventions governing the interpretation of and assignment of meaning to a construction in a language. Hence, semantics is the science of the development of the meanings and changes in words. And since any programming language is a language, a programmer can describe se­mantics as the relationship between the words and symbols in a pro­gramming language and the meanings assigned to them.

  2. It is a grammatical structure in sentences. In programming languages, syntax means the rules governing the structure of statements used in a program: for example, the statements in some programming languages must begin in certain columns and be terminated with a specific symbol, such as a period, in order to be executed properly.

  3. Though parsing is essentially the same as syntax analysis, it differs greatly from syntax analysis of a natural language. Parsing is the proc­ess of separating a programmipg statement into the basic units that can be translated into machine instructions: this process is performed by a language processor according to the laid down rules in a given programming language.

(_) PARSING

(_) SYNTAX ANALYSIS

(_) SEMANTICS. SYNTAX.

Упражнение 8. Постарайтесь перевести словосочетания самостоятельно, помня, что все они относятся к языковой лексике. Проверьте себя по ключу:

  1. context-free grammar; lexical analyzer; parse tree; derivation sequence; context free language; token; shift-reduce parsing; absolute language; explicit language; nested language; reference language; requirement state­ment language; time-sharing language;

  2. computer-dependent language; computer-independent language; con­versational language; declarative language; defining language; descrip­tive language; end-user language; control language; human language; human-oriented language; machine-dependent language; machine-in- dependent language; multidimensional language; one-dimensional lan­guage; synthetic language; self-contained language; source language; super-high-level language; interactive language.

Упражнение 9. Give synonyms for the following:

Подберите синонимы для следующих выражений:

man-to-computer language, artificial language, very-high-level language, natural language, parsing, absolute language.

Упражнение 10. Пробуем говорить.

Say what the difference is between synthetic and human languages.

Прочтите и скажите, в чем разница между искусственными и естественными языками. Используйте конструкцию: There is/are (по) ... in ... language.

Язык программирования — система обозначений, служащая для точного описания программ или алгоритмов для ЭВМ. Языки программирования являются искусственными языками, в которых синтаксис и семантика строго определены. Поэтому при применении их по назначению они не допускают свободного толкования (interpre­tation) выражения, характерного для естественного языка.

Упражнение 11. We are going to read some paragraphs from this book:

П

The C++ Programming Language

- Reference Manual -

Bjaroe Stroustrup

AT&T Bell Laboratories Murray Hill, New Jersey 07974

осмотрите! собираемся прочесть несколько параграфов из этой книги:

Answer the questions. Ответьте на вопросы.

What is the book called?

What kind of book is this?

Who is the author?

Where was it published?

Упражнение 12. Translate the combinations of words:

Переведите словосочетания:

to point out implementation-dependent details; follow directly from the properties; describe in the C book; extend with classes; functions and so on; to parse into tokens; require to separate; to enclose in single quotes; to surround by double quotes.

Упражнение 13. Translate paying attention to the suffixes:

Переведите, обращая внимание на суффиксы:

Require, requirement, requiring, required;

Identify, identification, identifier;

Long, length;

Note, notation;

Alternate, alternating, alternation, alternative, alternator;

Option, optional;

Access, to access, accessible.

Упражнение 14. Translate and mark the auxiliaries:

Переведите и отметьте вспомогательные глаголы:

Use, used, uses, are using;

Enclose, enclosed, encloses, has enclosed;

Denotes, denoted, having denoted;

Determine, determines, are determined;

Declared, to declare, is declaring, declares;

Treat, are treated, treated, have been treating;

To refer, referred, are referred to;

Hide, were hidden, hid.

Упражнение 15. Translate without a dictionary:

Переведите без словаря:

Detail; declaration; collectively; to ignore; to separate; to reserve; to list; to specify; to initialize; fraction.

Упражнение 16. Be sure that you know what the words mean:

Убедитесь, что вы помните значение этих слов:

Few; such; between; other; otherwise; next; which; below; certain; ac­cording to; throughout; this; from... to... .

Упражнение 17. Memorize the information and translate the verbs:

Запомните информацию и переведите глаголы:

Приставка еп- (en-,in; ет- перед Ь, р, т) служит для образования глаголов и придает им значение:

а) включения внутрь чего-либо: to encage — сажать в клетку; to entruck — са­жать в грузовик;

б) приведения в какое-либо состояние: to encourage — ободрять; to enslave — порабощать.

То enable, to encipher, to enforce, to enjoy, to ensoul.

To encamp, to enchain, to enclose, to enclasp, to encircle, to empanel, to enisle, to enfold, to entrain, to encompass.

Упражнение 18. Translate, paying attention to «both... and...», «neither... nor...», «ei­ther. .. or...»:

Переведите, обращая внимание на парные союзы:

both the integer and fraction part; either the integer part or the fraction part; both the and the new-line; include either e or E; neither with this task nor with that one;

Упражнение 19. Read text I, underline and translate terminological phrases very carefully. Прочтите Текст I. Подчеркните и как можно точнее переведите терминологические фразы.

Text I