CH 2 Flashcards
algorithm
Step-by-step procedure or list of actions to perform a task or solve a problem
argument
information sent to a method
asSeenBy argument
makes an object move relative to another object
bug
errors in computer program, program doesn’t do what it is supposed to do
comment
statements in a program that are overlooked when the program is compiled and help the user understand what the program does
control structure
Controls the flow and order of a program
Do in order
control structure that executes instructions sequentially
Do together
control structure that executes instructions simultaneously
duration argument
how much time it takes for an instruction to be performed
flowchart
graphical representation of a program using shapes and symbols
instruction
one statement in a computer program telling the computer what to do
method
Manipulates an object, actions performed by an object
move to method
this action moves the center of one object to the center of another object
nesting
One program statement is written inside another
orient to method
changes the direction of an object to have the same orientation/direction as another object