Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
English for Students of programming.doc
Скачиваний:
3
Добавлен:
09.11.2019
Размер:
545.28 Кб
Скачать

2. Look through the text and find equivalents to the following terms.

цифровой компьютер

вывести информацию на видеоэкран

сложные вычисления

список инструкций (команд)

набор команд

создание графического пакета

число четное или нечетное

разработать программу

решить определенную проблему

продолжить написание команд

3. Choose the definitions to the following terms.

Network the part of the main memory which stores information temporarily while you are working. It requires a continuous power supply to retain information.

Read only memory the programs and routines which allow a computer to operate; it usually consists of a group of programs which coordinate the software and hardware

of a computer system.

Program the process by which a set of instructions is produced for a computer to make it perform a specified task. The task can be anything from the solution to a mathematical problem to the production of a graphics package.

Programming a system of computer devices (CPUs, printers) or ‘nodes interconnected so that information and resources can be shared by a large number of users.

(RAM) random access memory A set of instructions for solving a specific problem by computer.

operating system Chips of memory containing information which is present and permanent.

4. Answer the questions.

1. What is a modern digital computer?

2. What actions do the instructions tell the computer to perform?

3. What is a computer program?

4. What is programming?

5. What is an algorithm?

6. What should be done to develop a program to solve a particular problem?

Unit 2.

Machine Language

  1. Translate the text with the help of a dictionary.

A computer understands only the instructions written in a specific language, called machine language. When computers were first developed, the only way they could be programmed was in terms of binary numbers. A number can be represented in many different forms, in different number systems. The most commonly used number system is the decimal (or base 10) system. Society also uses a few other systems; the base 60 system is used to keep track of time (6 seconds in a minute and 60 minutes in an hour).

Numbers represented in one number system can always be converted to another system. Thus, the binary numbers stored in a computer always correspond to a decimal number. The table below shows some binary number and their decimal counterparts:

Binary Number Decimal Number

  1. 0

  2. 1

  1. 2

  1. 4

  2. 5

  1. 6

  2. 7

A lthough this will make perfect sense to a computer, it makes no sense to humans. People are not nearly as capable as computers in the handling of numbers, especially binary numbers. That’s why the next technological software advance occurred in the development of assembly languages, which enabled the programmer to work with the machine on a slightly higher level. Instead of having to specify sequences of binary numbers to carry out particular tasks, the assembly language permits the programmer to use symbolic names to perform various operations and to refer to specific memory locations.

The assembly language words to perform the computation 2+2 are the following:

Assembly Language Machine Language

MOV AX, 2 101110000000001000000000

MOV BX, 2 101110110000001000000000

ADD AX, BX 0000001111000011

The assembly language words are easier to read, but to the layperson they will still mean very little. The figure below describes in English what this assembly language program does:

Assembly Language English Description

MOV AX, 2 Move the number 2 to a place called AX.

MOV BX, 2 Move the number 2 to a place called BX

ADD AX, BX Add the value in AX to the value in BX.

The result (2+2) will be saved in AX.

Computers understand only those programs written in machine language. Assembly language must be translated into machine language by a program called an assembler which takes the assembly language program and produces an equivalent machine language program.

Different computers have different machine languages. For example, the IBM PC family of computers understands a completely different machine language than the Apple II or Macintosh computers. In fact, even the Apple II and Macintosh have different machine languages. These machine languages are as different from each other as English is from German.

The words to the text:

to develop – разрабатывать, совершенствовать, развивать

binary – двоичные числа

commonly – обычно

number system – система счисления

decimal number – десятичная система

to keep – поддерживать, сохранять

to convert – превращать, обращать

to store – запасать, накапливать, сохранять

to correspond – соответствовать

counterpart – копия

to handle – обрабатывать

to occur – происходить, возникать

instead of – вместо

to specify – указывать

to carry out – выполнять

to permit – позволять, разрешать

layperson – непрофессионал

figure – цифра, диаграмма

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]