Substructures: Flashcards
1
Q
What are the advantages of a sub-programme?
A
= Easier to read and debug.
= Easily be tested.
= Can be saved in libraries and reused i other programmes.
2
Q
What is a function?
A
= returns values and creates resuable programme components
3
Q
What are a procedure?
A
= Creates a modular structure to a programme and makes it easier to read.