Iterative Statements Flashcards
is one that causes a statement or collection of statements to be executed zero, one, or more time(s).
iterative statement
An iterative statement is often called a …
loop
The … of a loop is the collection of statements whose execution is controlled by the iteration statement
body
When the test for loop completion occurs before the loop body is executed, it is referred to as …
pretest
If the test for loop completion occurs after the loop body is executed, it is called …
posttest
A counting iterative control statement has a variable called the … in which the count value is maintained
loop variable
It also includes some means of specifying the initial and terminal values of the loop variable, and the different between sequential loop variables, called the …
stepsize
The initial, terminal, and stepsize specifications of a loop are called the …
loop parameters
The repetition control of a … is based on a Boolean expression
logically controlled loop
allow programmers to choose a location for loop control other than the top or bottom of the loop body
user-located control loops
that is used to skip the rest of the loop statements on the current iteration without terminating the loop structure
continue
are loop statements for processing data structures such as linked lists, hashes, and trees
data-based iterators