Substructures: Flashcards

You may prefer our related Brainscape-certified 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a function?

A

= returns values and creates resuable programme components

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are a procedure?

A

= Creates a modular structure to a programme and makes it easier to read.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly