Scope Flashcards
1
Q
the idea in programming that some variables are accessible/inaccessible from other parts of the program.
A
Scope
2
Q
are statements that exist within curly braces {}.
A
Blocks
3
Q
refers to the context within which variables are accessible to every part of the program.
A
Global Scope
4
Q
are variables that exist within global scope.
A
Global Variables
5
Q
refers to the context within which variables that are accessible only within the block they are defined.
A
Block Scope
6
Q
are variables that exist within block scope.
A
Local Variables
7
Q
is the space in our code that contains globally scoped information.
A
Global namespace
8
Q
is when too many variables exist in a namespace or variable names are reused.
A
Scope Pollution