Counter
Accumulator
Loops
Arrays
100

The first step in a Counter is?

Initialize to 0 or 1


100

What is the first step in a Accumulator?

What is Initialize to 0

100

What do you do before you start a loop?


What is initialize the control variable before the loop

100

What is the 1 step for an Array?


What is Declare and initialize the array

200
What is the definition for a counted loop, or counter-controlled loop?

What is a loop whose repetitions are managed by a counter; also called a counter-controlled loop.

200
What are the 3 steps for an Accumulator?


What is Initialize to 0, alter(add or subtract) a variable amount, and after accumulating use in an equation or/and print.

200

This flow control statement loops through a set of statements if a test statement continues to evaluate to True?


What is a for or while loop?

200

Named variables that holds values are called?

What is items or elements.

300

Within a loop’s body, you can change the value of the blank in a number of ways.

What is the blank?

What is a loop control variable?

300

What is the definition of an accumulator?

What is An accumulator is a variable that you use to gather or accumulate values.

300

What is the difference between a definite loop and an indefinite loop?

What is definite can execute a predetermined amount but with an indefinite loop, you don't know when it will end.

300

Refer each element in the Array by its?

What is a subscript.

400

WHAT IS THE DEFINTION FOR COUNTER?

WHAT IS ANY NUMERIC VARIABLE USED TO COUNT THE NUMBER OF TIMES AN EVENT HAS OCCURRED?

400

Something an Accumulator need is a good title, what are some of the best titles to use for an Accumulator?

What is total, accumPrice or sum.

400

An expression that represents only one of two states, is usually expressed as true or false?


What is a Boolean Expression?

400

To Load or populate(print) the array use a?

What is Loop counter-control variable.

500

# Initialize loop control variable.

numberCounter 

# Write your counter controlled 

while numberCounter <=NUM_LOOPS:

    # Multiply by 10.

    byTen = numberCounter 

    # Multiply by 2.

    byTwo = numberCounter 

    print(head1 + str(numberCounter))

    print(head2 + str(byTwo))

    print(head3 + str(byTen))

    # Next number.

    numberCounter = numberCounter +1

What is wrong with this problem.

What is Did not initialize nor did multiply by 10 or by 2.

500

What is the formula usually used to alter a variable amount?

What is total=total+blank.

500

What is Missing from this problem?

start

Declaration

string name

string QUIT ="ZZZ"

while name <> QUIT

output "Hello ", name

input name

endwhile

output "Goodbye"

stop


What is Loop control variable is not initialized 

500

citiesInMichigan = ["Acme", "Albion", "Detroit", "Watervliet", "Coloma", "Saginaw", "Richland", "Glenn", "Midland", "Brooklyn"]

inCity = input("Enter name of city: ")

if inCity in citiesInMichigan:

    print("        " )

else:

    print("Not a city in michigan.")

What is missing from this problem.

What is "City found."