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


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



ЗНАЕТЕ ЛИ ВЫ?

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

Поиск

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 carefiil 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

is the foundation of any programming languages.



Поделиться:


Последнее изменение этой страницы: 2024-06-27; просмотров: 75; Нарушение авторского права страницы; Мы поможем в написании вашей работы!

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