The following is an example of what type of loop? |
Count-controlled |
How many times will the following loop iterate? |
Three |
How many times with the following loop iterate? |
Infinite |
How many times will the following loop iterate? |
No iterations |
In a count-controlled loop, the counter performs _______ action(s). |
Three |
The ________ represents a special value that marks the end of a list of values. |
Sentinel |
The amount by which the counter variable is incremented in a For loop is known as what? |
Step amount |
The statement that appear between the While and the End While clauses are called the ________. |
Body of the loop |
What type of loop uses the Boolean expression to control the number of times that it repeats a statement or set of statements. |
Condition-controlled |
Which loop is specifically designed to initialize, test, and increment a counter variable? |
For |
Which loop repeats a statement or set of statements as long as the Boolean expression is false? |
Do-Until |
Which loop statement does not contain an increment statement but automatically increments the counter at the end of each iteration? |
For |
Which of these are posttest loops? |
Do-While and Do-Until |
Which pair of loops causes a statement or set of statement to repeat as long as a condition is true? |
While and Do-While |
Which structure causes a statement or set of statements to execute repeatedly? |
Repetition |
Intro to Software Development
Share This
Unfinished tasks keep piling up?
Let us complete them for you. Quickly and professionally.
Check Price