Subroutines Flashcards

1
Q

Function

A

Returns value

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

Procedure

A

Does not return value

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

2 types of scope

A

Local and global

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

Subroutines should include:

A

Single processes

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

Parameters are..

A

special variables used to pass variables in a subroutine

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

Arguments are..

A

the actual variables passed in

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