Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
(EOD).Software topics.pdf
Скачиваний:
18
Добавлен:
23.08.2013
Размер:
1.55 Mб
Скачать

page 57

 

High Level

 

 

 

 

 

 

 

 

Low Level

 

 

 

 

 

 

Specific Subroutines

Executive Subroutine

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Top

 

 

 

 

 

 

 

 

 

Down

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

main()

 

screen()

 

box()

 

 

 

 

setup()

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

input()

 

 

printer()

 

 

 

kill()

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

picture()

 

 

 

In this case we see that most of the routines are at the bot-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

tom of the design tree. This structure shows a clear

 

 

 

 

 

 

 

 

 

 

 

 

 

enter()

 

 

 

 

division of tasks, to their basic parts. On the above dia-

 

 

 

 

 

 

gram, none of the functions calls any of the functions

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

to the left of it, only to the right. In this case main() will

 

 

 

 

 

 

 

 

 

 

 

 

 

draw_line()

 

 

call setup(), screen(), input() and kill() directly.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

text()

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

calculations()

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

printes()

Machine Dependence Increases

Consideration of detail

Consideration of flow

6.8.6 Testing and Debugging:

• The testing and debugging was very fast, with only realignment of graphics being required. This took a couple of hours.

6.8.7 Documentation

Соседние файлы в предмете Электротехника