Programming 3- module 14) Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a parameter?

A

A variable.

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

What can it sometimes be problematic to use?

A

A variable from outside the subroutine (or global variable).

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

What will a subroutine sometimes use?

A

Its own variables.

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

What is an argument?

A

Actual value passed to a function or subroutine.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

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

What is an example of a global variable?

A

TIME.

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

What is local?

A

When referring to a variable, this identifies 1 which is only referenced within its own subroutine or function.

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