Мы поможем в написании ваших работ!



ЗНАЕТЕ ЛИ ВЫ?

Running the computer program

Поиск

The operating system is a collection of program provided by the computer's manufacturer that allows us to shedule jobs for the computer, to translate source programs into object programs, to sort data stored on secondary storage devices, and to copy data from any input device to any output device. These programs are called control programs, language programs and utility pro­grams.

The control program (often called the supervisor, monitor, or executive) is a main-storage-resident program. Its functions are to schedule jobs, shedule input and output for our programs, and to monitor the execution of our programs.


Английский язык. Основы компьютерной грамотности 156

The language processors are programs that translate source programs into object programs. There are three types of language processors: assemblers, compilers, and interpreters. Each lan­guage has its own language processor.

The service programs are programs that are commonly used in all data processing centers. They have functions that are re­quired by everyone using a computer. Examples of service pro­grams include linkage editors to prepare object programs for execution, a librarian to catalog programs into a library area on magnetic disc, utility programs to transfer data from device to device, and sort-merge programs for sorting data on magnetic tape or disk.

3. Testing the computer program

There are two kinds of errors or bugs with which program­mers must deal. The first type is the coding error. Such errors are syntax errors that prevent the language processor from suc­cessfully translating the source program to object program code. The language processor identifies the nature and the location of the error on the source program listing, so these errors are relatively easy to find and correct. The second type of bug is the logic error. The computer program can be successfully translat­ed, but the program does not produce the desired results. These errors are generally much more difficult to find and to correct than are coding errors. Logic errors can be avoided through careful planning of the program logic, but it is the programmer's responsibility to test thoroughly all of the program's functions, in order to verify that the program performs according to spec­ifications.

There are many tools provided to the programmer to help in debugging the program logic. These tools are called debug packages or tracing routines. They assist the programmer in fol­lowing the logic by printing out calculation results and field values used in making logic decisions in the program. In a few cases it may be necessary to use a memory dump — a printout of the instructions and date held in the computer's memory — in order to find the cause of logic errors.


ИТОГОВЫЙ ТЕСТ

1. Подберите вместо пропусков подходящее по смыслу
слово.

1. The most common____ for planning the program logic

are flowcharting and pseudocode.

a) technologies; b) technics; c) techniques

2.______ was designed for dealing with the complicated

mathematical calculations of scientists and engineers, a) COBOL; b) FORTRAN; c) PL/I

3.______ is the foundation of any programming languages.

a) a set of rules; b) a group of numbers; c) a lot of in­structions

4. I / О______ match the physical and electrical charac­
teristics of input-output devices.

a) interchanges; b) interfaces; c) interpretations

5. Letter-quality, dot-matrix and ink-jet printers are all
printers.

a) line; b) page; c) character

6. The most common device used to transfer information
from the user to the computer is the_____.

a) keyboard; b) printer; c) modem

7. Input-output units link the computer to its external

a) requirement; b) development; c) environment

8. I / О devices can be classified according to their speed,
visual displays being______ devices.

a) high-speed; b)medium-speed; c) low-speed

2. Согласуйте слова в левой колонке с их интерпретаци­
ей, предложенной справа.

1. Computer a) an electronic device accepting data pro-

cessing results from the computer sys­tem;

2. Input b) the unit performing arithmetic opera-

tions called for in the instructions;


Английский язык. Основы компьютерной грамотности 158

3. Output с) the unit coordinating all the activities of

various components of the computer. It reads information, enterpretes instruc­tions, performs operations, etc.;

4. Software d) a set of programs designed to control the

operation of a computer;

5. Hardware e) lists of instructions followed by the con-

trol unit of the CPU:

6. Storage f) an electronic device keying information

into the computer;

7. CPU g) the unit holding all data to be processed,

intermediate and final results of process­ing;

8. CU h) visible units, physical components of a

data processing system;

9. ALU i) the unit that directs the sequence of sys-

tem operations, selects instructions and interpretes them;

10. Program j) a device with a complex network of elec-

tronic circuits that can process informa­tion, make decisions, and replace people in routine tasks.



Поделиться:


Последнее изменение этой страницы: 2016-04-08; просмотров: 438; Нарушение авторского права страницы; Мы поможем в написании вашей работы!

infopedia.su Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав. Обратная связь - 3.144.123.24 (0.009 с.)