The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
Back
statement
Front
A section of code that represents a command or action. So far, the statements you have seen are assignments and print statements.
Back
integer division
Front
An operation that divides one integer by another and yields only the whole number of times that the numerator is divisible by the denominator and discards any remainder.
Back
operator
Front
A special symbol that represents a simple computation like addition, multiplication, or string concatenation.
Back
composition
Front
The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
Back
keyword
Front
A reserved word that is used by the compiler to parse a program; you cannot use keywords like if, def, and while as variable names.
Back
evaluate
Front
To simplify an expression by performing the operations in order to yield a single value.
Back
assignment
Front
A statement that assigns a value to a variable.
Back
type
Front
A set of values. The type of a value determines how it can be used in expressions. So far, the types you have seen are integers (type int), floating-point numbers (type float), and strings (type string).
Back
operand
Front
One of the values on which an operator operates.
Back
state diagram
Front
A graphical representation of a set of variables and the values to which they refer.
Back
comment
Front
Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.
Back
value
Front
A number or string (or other thing to be named later) that can be stored in a variable or computed in an expression.
Back
floating-point
Front
A format for representing numbers with fractional parts.
Back
expression
Front
A combination of variables, operators, and values that represents a single result value.