top of page
adadads.png

Name and Bindings

Variables

Variables can be characterized by 6 attributes:

Name

String of characters used to identify some entity in a program.

Address

The memory address with which it is associated.

Value

Determines the range of values of variables and the set of operations that are defined for values of that type.

Type

The contents of the location with which the variable is associated.

Lifetime

The time during which a variable is bound to a particular memory cell.

Scope

The range of statements over which a variable is visible.

- Chan Jia Xuan
- Phung Yi Xuan
bottom of page