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

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

functions are only different to procedures because …

A

… functions return a value

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

print (example) is a

A

procedure

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

return total is a

A

function because it returns the total

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

def stands for

A

define

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