.


:




:

































 

 

 

 


Choose the definitions to the following terms. network The part of the main memory which stores information temporarily




 

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.

 

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

 

operating system Chips of memory containing information which is present and

permanent.

 

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

 

Introduction to Computer Languages

Translate the text with the help of a dictionary.

Machine Language

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

0 0

1 1

10 2 11 3

100 4

101 5

110 6

111 7

Although 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. Thats 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 ,

 





:


: 2015-10-27; !; : 572 |


:

:

,
==> ...

1904 - | 1735 -


© 2015-2024 lektsii.org - -

: 0.012 .