Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Требования к курсовой работе.DOC
Скачиваний:
2
Добавлен:
01.03.2025
Размер:
716 Кб
Скачать
☆

5.8. Результаты машинного тестирования

1) После выполнения заставки и после выхода из процедуры на экране появляется меню:

MAIN MENU

1 - sozdaniye i dopolneniye

2 - display

3 - plotnost naseleniya

4 - sum naseleniye kontinenta

5 - correction

6 - exit

Input number of punct 1

После ввода пункта происходит очистка экрана пользователя и выводится на экран результат выполнения соответствующей процедуры.

Результаты процедуры create (дополнение базы данных):

0 - to create baza; 1 - to continue baza 1

Input record number 11

Input name of the country Kitai

Choose your continent

1 - Africa

2 - Asia

3 - Europe

4 - North America

5 - South America

2

You have chosen Asia

Input area, poppulation

9597 800720

Dobavleno!

0 - exit, 1 - continue 0

Примечание: 0 – выход в меню, 1 – повторить выполнение процедуры для другой страны

2) MAIN MENU

1 - sozdaniye i dopolneniye

2 - display

3 - plotnost naseleniya

4 - sum naseleniye kontinenta

5 - correction

6 - exit

Input number of punct 2

Результаты процедуры display:

continent country area population

Africa Egipet 1001 36000

Africa Togo 56 2092

Africa Tunis 164 5400

Asia India 3268 563490

Asia Japan 370 107880

Asia Kitai 9597 800720

Europe Avstriya 84 7490

Europe France 551 51921

Europe Spain 505 34328

North America Canada 9976 21854

North America USA 9363 210194

0 - exit, 1 - continue 0

3) MAIN MENU

1 - sozdaniye i dopolneniye

2 - display

3 - plotnost naseleniya

4- sum naseleniye kontinenta

5 - correction

6 - exit

Input number of punct 3

Результаты процедуры plotnost :

Input name of the country fsdgr

INVALID NAME OR NAME WITH NO INFORMATION!

0 - exit, 1 - continue 1

Input name of the country France

France - 94 thousand men for 1 square kilometer

0 - exit, 1 - continue 0

4) MAIN MENU

1 - sozdaniye i dopolneniye

2 - display

3 - plotnost naseleniya

4 - sum naseleniye kontinenta

5 - correction

6 - exit

Input number of punct 4

Результаты процедуры sumpop:

SUM population on continents:

Continent Population (thousand people)

Asia 1472090

North America 232048

Europe 93739

Africa 43492

South America NO INFORMATION

0 - exit, 1 - continue 0

5) MAIN MENU

1 - sozdaniye i dopolneniye

2 - display

3 - plotnost naseleniya

4 - sum naseleniye kontinenta

5 - correction

6 - exit

Input number of punct 5

Результаты процедуры correct:

0 - to correct, 1 - to change numeric information 1

Input name of the country you want to change France

Input NEW area, poppulation and year of revision

570 52030 1990

Input NEW capital population 2585

Obnovleno! 0 - exit, 1 - continue 1

0 - to correct, 1 - to change numeric information 0

Input name of the country you want to change Kitai

Input new name of the country China

Input new name of the capital Pekin

Choose the continent

1 - Africa

2 - Asia

3 - Europe

4 - North America

5 - South America

2

You have chosen Asia

Input NEW area, poppulation and year of revision

9597 800720 1975

Input NEW capital population 7570

Obnovleno! 0 - exit, 1 – continue 0