Looping Structures
A B dialog box that pops up and prompts the user for input Text area that pops up and prompts the user for to wait while it gets input
A B dialog box that pops up and prompts the user for input Text area that pops up and prompts the user for to wait while it gets input
A B ix
A B ix
A. B. Keeping the loop running Keeping a running total
A. B. Keeping the loop running Keeping a running total
A. B. Do While Do…Loop While For…Next For Each…Next Do While Do…Loop While For…Next Do For …Next
A. B. Do While Do…Loop While For…Next For Each…Next Do While Do…Loop While For…Next Do For …Next
A. B. Test the condition BEFORE the loop runs. If the condition is false the loop will not execute. Run the loop one time then test the condition- if the condition is false the loop will then terminate
A. B. Test the condition BEFORE the loop runs. If the condition is false the loop will not execute. Run the loop one time then test the condition- if the condition is false the loop will then terminate
A. B. Do While condition Statements Loop Do condition Statements Loop While
A. B. Do While condition Statements Loop Do condition Statements Loop While
A. B. when you know how many times the loop will run when a variable is used in the condition.
A. B. when you know how many times the loop will run when a variable is used in the condition.
A. B. StrVariable = InputBox (prompt, title) StrVariable = InputBox “prompt, title”
A. B. StrVariable = InputBox (prompt, title) StrVariable = InputBox “prompt, title”
A. B. the value that updates the accumulator changes It adds up all values
A. B. the value that updates the accumulator changes It adds up all values
A. B. CirclesRepeated actions
A. B. CirclesRepeated actions
A. B. Pretest and Prosttest Pretest and Protest
A. B. Pretest and Prosttest Pretest and Protest
A. B. FalseTrue
A. B. FalseTrue
A. B. Do Statements Loop While condition Do Statements Loop (condition)
A. B. Do Statements Loop While condition Do Statements Loop (condition)
A. B. when a variable is used in the condition when you know how many times the loop will run
A. B. when a variable is used in the condition when you know how many times the loop will run
A. counter variable B. Accumulator Variable
A. counter variable B. Accumulator Variable
A. accumulator = accumulator + value accumulator += value B. accumulator = accumulator + variable accumulator += variable
A. accumulator = accumulator + value accumulator += value B. accumulator = accumulator + variable accumulator += variable
A. Every time the loop returns to the top B. Each time the loop runs
A. Every time the loop returns to the top B. Each time the loop runs
A. Test the condition BEFORE the loop runs. If the condition is false the loop will not execute. B. Run the loop one time then test the condition- if the condition is false the loop will then terminate
A. Test the condition BEFORE the loop runs. If the condition is false the loop will not execute. B. Run the loop one time then test the condition- if the condition is false the loop will then terminate
A. NEVER B. ALWAYS
A. NEVER B. ALWAYS
A. For counter = start To end Statements Next counter B. For counter = start To end Statements loop
A. For counter = start To end Statements Next counter B. For counter = start To end Statements loop
A. A condition used to signify that a loop should stop executing B. A condition used to signify that a loop should continue to execute
A. A condition used to signify that a loop should stop executing B. A condition used to signify that a loop should continue to execute