creative development and introduction to programming Flashcards
function
teach the computer a new command and explain what it should do when receiving that command
call a function
actually gives the command, so the computer will run the code for that function
decomposition
breaking your program into smaller parts
comment
a message in your code that explains what is going on
abstraction
managing complexity by taking away information and detail, in order to focus on the relevant concepts
documentation
written instruction detailing the functions, methods, and variables available and how to use them
for loops
repeats code a fixed number of time
if statement
executes nested code only if condition is true
if else statement
control structure that runs either one section of code or another depending on a test
while loop
repeat code as long as something is true
bug
a problem in the code
debugging
fixing a problem in the code
algorithim
a set of steps or rules to follow to solve a particular problem
sequencing
step by step execution of instructions in the order they are given
iteration
repetition of instructions a specified number of times, or until a condition is met