Chapter 2 Flashcards
(15 cards)
An error that causes a program to display an error message and exit.
runtime
An error that causes a program to do the wrong thing, but not to display an error message.
semantic
Perform the operations in an expression in order to compute a value.
evaluate
A special word used to specify the structure of a program.
keyword
One or more lines of code that represent a command or action.
statement
A name that refers to a value.
variable
A graphical representation of a set of variables and the values they refer to.
state diagram
The operator used to access a function or variable in another module.
dot operator
A file that contains Python code, including function definitions and sometimes other statements.
module
A value provided to a function when the function is called.
argument
A statement that assigns a value to a variable.
assignment
Run a statement and do what it says.
execute
An error that is detected while the program is running.
exception
Text included in a program that provides information about the program but has no effect on its execution.
comment
A statement that reads a module file so we can use the variables and functions it contains.
import