Values, Variables, Expressions, and Statements

Definitions

  • Values: Raw data elements represented in a program, e.g. numbers and strings.
  • Variables: Names to which values are assigned.
  • Expressions: Combinations of values, variables, operators, functions, and other expressions that evaluate to a value.
  • Statements: Groupings of expressions that produce some result. Statements do things.

Statement Types

See Statement Types in Lutz.