Programming 3- module 14) Flashcards
1
Q
What is a parameter?
A
A variable.
2
Q
What can it sometimes be problematic to use?
A
A variable from outside the subroutine (or global variable).
3
Q
What will a subroutine sometimes use?
A
Its own variables.
4
Q
What is an argument?
A
Actual value passed to a function or subroutine.
5
Q
What is global?
A
If referring to a variable, this identifies 1 that operates in and is referenced by a number of elements of code across the program.
6
Q
What is an example of a global variable?
A
TIME.
7
Q
What is local?
A
When referring to a variable, this identifies 1 which is only referenced within its own subroutine or function.