Test 2 Flashcards
is a word that is special only in certain contexts
keyword
is a special word that cannot be used as a user-defined name
reserved word
If two variable names can be used to access the same memory location , they are called
aliases
is a program statement used for declaring the types of variables.
explicit declaration
is a default mechanism for specifying types of variables through default conventions, rather than declaration statements.
implicit declaration
is an association between an entity and an attribute , such as between a variable and its type or value, or between an operation and a symbol
binding
is the time at which a binding takes place.
Binding time
The ________ of a variable is the time during which it is bound to a particular memory cell.
lifetime
A binding is _______ if it first occurs before run time and remains unchanged throughout program execution.
static
A binding is _________ if it first occurs during execution or can change during execution of the program .
dynamic
of a variable is the range of statements over which it is visible.
scope
of a program unit are those that are declared in that unit.
local variables
of a program unit are those that are visible in the unit but not declared there.
nonlocal variables
are a special category of nonlocal variables.
Global variables
of a statement is the collection of all names that are visible in the statement.
referencing environment