Chapters 2, 3, 5 & 6 Flashcards
Creating a new variable and giving it a value is called what?
An Assignment Statement
The “” diagram helps you see what state a variable is in.
state diagram
An ““is a combination of values, variables, and operators.
**expression **
A “” is a unit of code that has an effect, like creating a variable or displaying a
value.
statement
A mode where you interact directly with the interpreter. Hint: It’s not script
interactive mode
When an expression contains more than one operator, the order of evaluation depends on the?
order of operations
The + operator performs string “”, which means it joins the strings by linking them end-to-end.
** concatenation**
This error is called “” because it doesn’t appear until after the program has started.
Runtime error
If there is a “ “ in your program, it will run without generating error
messages, but it will not do the right thing.
semantic error
To run a statement and do what it says.
execute
A named sequence of statements that performs a computation.
function
A “” is a file that contains a collection of related functions.
module
The “ “ contains the functions and variables defined in the module.
module object
The argument of a function can be any kind of “ “, including arithmetic operators:
expression
A “ “ specifies the name of a new function and the sequence of statements that run when the function is called.
function definition