Chapter 2: Terms (Python)

Chapter 2: Terms (Python)

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

rules of precedence

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (17)

Section 1

(17 cards)

rules of precedence

Front

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.

Back

concatenate

Front

To join two operands end-to-end.

Back

variable

Front

A name that refers to a value.

Back