Chap 2 (Variables) Flashcards
Develop Python Programming Language
Define Assignment
A statement that assigns a value to a variable.
Define Concatenate
To join two operands end to end.
Define Comment
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.
Define Evaluate
To simplify an expression by performing the operations in order to yield a single value.
Define Expression
Combination of variables, operators, and values that represents a single result value.
Define Floating Point
A type that represents numbers with fractional parts.
Define Integer
A type that represents whole numbers.
Define Keyword
A reserved word that is used by the compiler to pass a program; you cannot use keywords like (if), (def), and (while) as variable names.
Define Mnemonic
A memory aid. We often get variables mnemonic names to help us remember what is stored in the variable.
Define Modulus Operator
An operator, denoted with the percent sign (%), that works on integers and yields the remainder when one number is divided by another.
Define Operand
One of the values on which an operator operates.
Define Operator
A special symbol that represents the simple computation, like addition, multiplication, or string concatenation.
Define Rules of Precedence
The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
Define Statement
A section of code that represents a command or action. So far, the statements we have seen our assignments and print expression statement.
Define String
A type that represents sequences of characters.
Define Type
A category of values. The types we have seen so far are integers (type int), floating–point numbers (type float), and strings (type str).
Define Value
One of the basic units of data, like a number or string, comma that a program manipulates.
Define Variable
A name that refers to a value.