Netlogo / Scope Flashcards

1
Q

Scope of a variable

A

the region in a program where a variable has meaning.

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

Scope of a global variable

A

The entire program

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

The scope of a parameter

A

Is limited to the entire procedure body

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

Scope of a local variable

A

Limited to a region within the procedure body

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