2.2.3(f) Fuctions and Procedures Flashcards
1
Q
both AKA …
A
… subprograms - split up the code up into sections to be maintained easier
2
Q
functions are only different to procedures because …
A
… functions return a value
3
Q
print (example) is a
A
procedure
4
Q
return total is a
A
function because it returns the total
5
Q
def stands for
A
define