A | B |
input box | a dialog box that pops up and prompts the user for input. |
counter | variable to determine the number of times a loop executes. |
accumulator | Similar to a counter, except the value that updates |
loop | Programmers can code repeated actions into their programs |
iteration | Each time the loop runs |
Pretest | Test the condition BEFORE the loop runs. If the condition is false the loop will not execute. |
Posttest | Run the loop one time then test the condition- if the condition is false the loop will then terminate |
Do | The looping structure that evaluates a condition after executing a loop once |
The For | A looping structure that executes a set of statements a fixed number of times. |
Flag/Sentinel | A condition used to signify that a loop should stop executing |
endless/infinite loop | occurs when the programmer forgets to increment the counter variable. |