1.1.6 - 1.1.8 Notes Flashcards
part of a program that causes an error or undesired output
bug
process of figuring out why code doesn’t behave as expected and eliminating bugs to make it work as desired
debug
code executed in the order it appears in the code segment
sequentially
when a variable is given a value for the first time
initialize
a computer program that converts a higher-level language into a lower-level language and then executes it
interpret
strings that use ‘’’ ‘’’, can span multiple lines, used to temporarily deactivate code
block string
variable that store an integer with increasing/decreasing value
incrementing counter
repeating portion of an algorithm, repeats until a given condition is met
iteration
an ordered collection of items or values
list
a value with the list that is assigned a unique index
element
to remove an item from a list
pop
to add on an item to the end of a list
append
in each iteration step, a variable is set to a value in a sequence or other data collection
loop variable
a comparison, usually in a while or if statement that evaluates a Boolean expression to true or false
conditional
a feature of a programming language that performs different computations or actions depending on whether a Boolean expression is true or false
conditional statement